Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001401/0.001401, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 14.72 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.001573/0.001573, allocations: 163.8 kB / 24.49 MB, free: 3.453 MB / 14.72 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.465/1.465, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3367/0.3367, allocations: 34.26 MB / 295.5 MB, free: 14.61 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 67.88 kB / 443.2 MB, free: 6.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3607, allocations: 66 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00697/0.3677, allocations: 7.645 MB / 0.5047 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.3732, allocations: 3.293 MB / 0.5079 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009692/0.3742, allocations: 54.16 kB / 0.508 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.3765, allocations: 1.323 MB / 0.5093 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.3784, allocations: 0.9364 MB / 0.5102 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.3794, allocations: 0.5185 MB / 0.5107 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001688/0.3811, allocations: 1.728 MB / 0.5124 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.3824, allocations: 1.244 MB / 0.5136 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009637/0.3834, allocations: 0.6746 MB / 0.5142 GB, free: 20.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.3846, allocations: 0.8758 MB / 0.5151 GB, free: 19.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.3848, allocations: 137.9 kB / 0.5152 GB, free: 19.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009954/0.3858, allocations: 0.5594 MB / 0.5158 GB, free: 19.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000716/0.3866, allocations: 0.7409 MB / 0.5165 GB, free: 19.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006347/0.3872, allocations: 0.6524 MB / 0.5171 GB, free: 19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.39, allocations: 2.495 MB / 0.5196 GB, free: 18.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.39, allocations: 0.7969 kB / 0.5196 GB, free: 18.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.39, allocations: 0 / 0.5196 GB, free: 18.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.72e-05/0.39, allocations: 5 kB / 0.5196 GB, free: 18.09 MB / 446.1 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.003576/0.3936, allocations: 1.968 MB / 0.5215 GB, free: 16.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3936, allocations: 9.156 kB / 0.5215 GB, free: 16.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3948, allocations: 297.9 kB / 0.5218 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.3968, allocations: 1.006 MB / 0.5228 GB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.051e-05/0.3969, allocations: 100.4 kB / 0.5229 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.3971, allocations: 122.2 kB / 0.523 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005689/0.4027, allocations: 3.052 MB / 0.526 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/0.4028, allocations: 13.53 kB / 0.526 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.4029, allocations: 57 kB / 0.526 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006668/0.4036, allocations: 436.7 kB / 0.5264 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004981/0.4086, allocations: 2.169 MB / 0.5286 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.4224, allocations: 9.906 MB / 0.5382 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/0.4264, allocations: 1.268 MB / 0.5395 GB, free: 6.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.4269, allocations: 375.3 kB / 0.5398 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003517/0.4304, allocations: 2.021 MB / 0.5418 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4305, allocations: 38.19 kB / 0.5418 GB, free: 5.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.254e-06/0.4305, allocations: 0 / 0.5418 GB, free: 5.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01228/0.4427, allocations: 3.753 MB / 0.5455 GB, free: 3.332 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.4428, allocations: 83.73 kB / 0.5456 GB, free: 3.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.4443, allocations: 1.157 MB / 0.5467 GB, free: 2.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.4443, allocations: 33.7 kB / 0.5467 GB, free: 2.328 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.4447, allocations: 0.9702 MB / 0.5477 GB, free: 1.344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4448, allocations: 234.1 kB / 0.5479 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.4451, allocations: 319.3 kB / 0.5482 GB, free: 0.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.4452, allocations: 353.9 kB / 0.5486 GB, free: 452 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.4457, allocations: 427.7 kB / 0.549 GB, free: 24 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.4473, allocations: 1.283 MB / 0.5502 GB, free: 14.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.4498, allocations: 1.823 MB / 0.552 GB, free: 12.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.4498, allocations: 8 kB / 0.552 GB, free: 12.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003044/0.4528, allocations: 1.736 MB / 0.5537 GB, free: 10.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.4529, allocations: 20 kB / 0.5537 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/0.4529, allocations: 28 kB / 0.5538 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.4531, allocations: 84.83 kB / 0.5538 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4543, allocations: 363.3 kB / 0.5542 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.4562, allocations: 1.743 MB / 0.5559 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4572, allocations: 64.17 kB / 0.5559 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4574, allocations: 92 kB / 0.556 GB, free: 7.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (194): * Single equations (assignments): 193 * 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.001158/0.4585, allocations: 0.6323 MB / 0.5566 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.4587, allocations: 119.3 kB / 0.5568 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.459, allocations: 134.6 kB / 0.5569 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.459, allocations: 11.94 kB / 0.5569 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.459, allocations: 0 / 0.5569 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.459, allocations: 3.984 kB / 0.5569 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.4626, allocations: 1.803 MB / 0.5587 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4626, allocations: 4 kB / 0.5587 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.463, allocations: 107.8 kB / 0.5588 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.4632, allocations: 57.27 kB / 0.5588 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.4632, allocations: 23.98 kB / 0.5588 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.4651, allocations: 1.798 MB / 0.5606 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.4651, allocations: 11.88 kB / 0.5606 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.4669, allocations: 1.107 MB / 0.5617 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.4671, allocations: 99.28 kB / 0.5618 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.4672, allocations: 16 kB / 0.5618 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.4676, allocations: 23.98 kB / 0.5618 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.4677, allocations: 47.8 kB / 0.5619 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.4678, allocations: 20 kB / 0.5619 GB, free: 1.566 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001299/0.4691, allocations: 0.6986 MB / 0.5626 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4691, allocations: 4.062 kB / 0.5626 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002007/0.4711, allocations: 296 kB / 0.5629 GB, free: 0.5664 MB / 462.1 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.0003312/0.4714, allocations: 127.6 kB / 0.563 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.4738, allocations: 1.093 MB / 0.5641 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.4738, allocations: 4 kB / 0.5641 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006302/0.4744, allocations: 379.8 kB / 0.5644 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.4754, allocations: 172.4 kB / 0.5646 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.4805, allocations: 2.871 MB / 0.5674 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.4817, allocations: 0.8666 MB / 0.5682 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.4827, allocations: 397.1 kB / 0.5686 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.4829, allocations: 80.42 kB / 0.5687 GB, free: 10.44 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4829, allocations: 0 / 0.5687 GB, free: 10.44 MB / 478.1 MB Notification: Performance of Templates: time 0.02216/0.505, allocations: 9.648 MB / 0.5781 GB, free: 0.9727 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.761904519051313]