Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 81.86 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 169.1 kB / 24.82 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2633/0.2633, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.532e-05, allocations: 6.25 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007194/0.00721, allocations: 8.202 MB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005475/0.01268, allocations: 3.366 MB / 388.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.01334, allocations: 59.69 kB / 388.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.01493, allocations: 1.441 MB / 389.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.01654, allocations: 0.9759 MB / 390.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.01732, allocations: 0.5652 MB / 391.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.01899, allocations: 2.057 MB / 393.2 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.02016, allocations: 1.546 MB / 394.7 MB, free: 2.059 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.02161, allocations: 1.064 MB / 395.8 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008659/0.02248, allocations: 0.9743 MB / 396.7 MB, free: 16 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.02263, allocations: 140 kB / 396.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006488/0.02328, allocations: 0.5615 MB / 397.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004559/0.02373, allocations: 0.7871 MB / 398.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.02415, allocations: 0.5298 MB / 398.8 MB, free: 14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.02564, allocations: 1.729 MB / 400.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.02564, allocations: 0 / 400.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02565, allocations: 4 kB / 400.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.02566, allocations: 3.938 kB / 400.5 MB, free: 12.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002427/0.02809, allocations: 2.03 MB / 402.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.02814, allocations: 20.02 kB / 402.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007528/0.02889, allocations: 399.5 kB / 402.9 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.02973, allocations: 0.8391 MB / 403.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.02981, allocations: 94.83 kB / 403.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.02993, allocations: 128.3 kB / 404 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.03193, allocations: 1.776 MB / 405.8 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.03196, allocations: 19.81 kB / 405.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.03204, allocations: 55.97 kB / 405.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003173/0.03235, allocations: 406.1 kB / 406.2 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.03365, allocations: 0.7534 MB / 407 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007388/0.04103, allocations: 11.49 MB / 418.5 MB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.04286, allocations: 0.9973 MB / 419.5 MB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.04304, allocations: 181.3 kB / 419.6 MB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/0.04475, allocations: 1.759 MB / 421.4 MB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.04478, allocations: 41.89 kB / 421.4 MB, free: 6.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 1.653e-06/0.04478, allocations: 0 / 421.4 MB, free: 6.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.005728/0.05051, allocations: 2.663 MB / 424.1 MB, free: 3.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.05056, allocations: 89.61 kB / 424.2 MB, free: 3.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/0.05142, allocations: 1.121 MB / 425.3 MB, free: 2.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.05145, allocations: 33.7 kB / 425.4 MB, free: 2.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000564/0.05202, allocations: 1.058 MB / 426.4 MB, free: 1.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.05215, allocations: 230.2 kB / 426.6 MB, free: 1.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.05243, allocations: 352.8 kB / 427 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.05263, allocations: 0.5393 MB / 427.5 MB, free: 328 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.05286, allocations: 151.9 kB / 427.7 MB, free: 176 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/0.05376, allocations: 1.468 MB / 429.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.05523, allocations: 1.715 MB / 430.9 MB, free: 11.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.05524, allocations: 12 kB / 430.9 MB, free: 11.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001164/0.0564, allocations: 1.258 MB / 432.1 MB, free: 10.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.05643, allocations: 20 kB / 432.1 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.05645, allocations: 28 kB / 432.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.05659, allocations: 80.41 kB / 432.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.05717, allocations: 363.3 kB / 432.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.05828, allocations: 2.11 MB / 434.7 MB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.05874, allocations: 60 kB / 434.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.05881, allocations: 76 kB / 434.8 MB, free: 7.688 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002827/0.05909, allocations: 302.4 kB / 435.1 MB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.0592, allocations: 131.4 kB / 435.3 MB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.0593, allocations: 118.8 kB / 435.4 MB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.0593, allocations: 4 kB / 435.4 MB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.05931, allocations: 11.94 kB / 435.4 MB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.05932, allocations: 3.938 kB / 435.4 MB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.06145, allocations: 1.718 MB / 437.1 MB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.06146, allocations: 4 kB / 437.1 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.06165, allocations: 99.92 kB / 437.2 MB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.06175, allocations: 43.66 kB / 437.3 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.06177, allocations: 16 kB / 437.3 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009646/0.06273, allocations: 2.138 MB / 439.4 MB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.06274, allocations: 8 kB / 439.4 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.06332, allocations: 0.768 MB / 440.2 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.06343, allocations: 107.2 kB / 440.3 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.06349, allocations: 19.94 kB / 440.3 MB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.06369, allocations: 19.98 kB / 440.3 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.06373, allocations: 59.86 kB / 440.4 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.06375, allocations: 16 kB / 440.4 MB, free: 1.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000377/0.06413, allocations: 0.5347 MB / 440.9 MB, free: 1.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06413, allocations: 0 / 440.9 MB, free: 1.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008599/0.06499, allocations: 352 kB / 441.3 MB, free: 0.8984 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002009/0.06519, allocations: 151 kB / 441.4 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007427/0.06593, allocations: 0.8179 MB / 442.3 MB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.06593, allocations: 1.688 kB / 442.3 MB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.06619, allocations: 370.9 kB / 442.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.06675, allocations: 180.2 kB / 442.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.06981, allocations: 2.508 MB / 445.3 MB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.0701, allocations: 408.2 kB / 445.7 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002924/0.07039, allocations: 153.7 kB / 445.9 MB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.07067, allocations: 270.1 kB / 446.1 MB, free: 11.89 MB / 426.7 MB Notification: Performance of SimCode: time 9.81e-07/0.07067, allocations: 0 / 446.1 MB, free: 11.89 MB / 426.7 MB Notification: Performance of Templates: time 0.01752/0.08819, allocations: 11.42 MB / 457.5 MB, free: 0.6289 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.587701167911291]