Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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.001954/0.001954, allocations: 75.73 kB / 21.24 MB, free: 400 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.001487/0.001487, allocations: 170.2 kB / 24.5 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.495/1.495, allocations: 177.2 MB / 204.9 MB, free: 9.07 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.2125/0.2125, allocations: 34.28 MB / 295.5 MB, free: 14.61 MB / 286.1 MB " [Timeout remaining time 180] 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.89 kB / 443.2 MB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3185, allocations: 66 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009763/0.3283, allocations: 10.72 MB / 0.5077 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006383/0.3347, allocations: 3.681 MB / 0.5113 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.3359, allocations: 67.81 kB / 0.5114 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.3381, allocations: 1.309 MB / 0.5126 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.3417, allocations: 1.775 MB / 0.5144 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009754/0.3426, allocations: 418.9 kB / 0.5148 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004322/0.347, allocations: 3.597 MB / 0.5183 GB, free: 17.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.3492, allocations: 1.826 MB / 0.5201 GB, free: 16.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.3509, allocations: 1.217 MB / 0.5213 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/0.3537, allocations: 1.845 MB / 0.5231 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006382/0.3543, allocations: 239 kB / 0.5233 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.356, allocations: 0.7146 MB / 0.524 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.3575, allocations: 1.603 MB / 0.5255 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.359, allocations: 1.342 MB / 0.5269 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007201/0.3662, allocations: 6.113 MB / 0.5328 GB, free: 11.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3662, allocations: 0 / 0.5328 GB, free: 11.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3662, allocations: 1.375 kB / 0.5328 GB, free: 11.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001847/0.3664, allocations: 0 / 0.5328 GB, free: 11.68 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.008213/0.3746, allocations: 4.068 MB / 0.5368 GB, free: 8.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3747, allocations: 8.969 kB / 0.5368 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.3856, allocations: 3.142 MB / 0.5399 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004863/0.3904, allocations: 1.863 MB / 0.5417 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.3906, allocations: 186.2 kB / 0.5419 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.3917, allocations: 251.3 kB / 0.5421 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.4087, allocations: 10.19 MB / 0.5521 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.581e-05/0.4088, allocations: 23.77 kB / 0.5521 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004321/0.4092, allocations: 123.8 kB / 0.5522 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004425/0.4136, allocations: 2.463 MB / 0.5546 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.433, allocations: 9.347 MB / 0.5637 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04437/0.4774, allocations: 28.81 MB / 0.5919 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/0.4833, allocations: 2.416 MB / 0.5942 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.4848, allocations: 0.9899 MB / 0.5952 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008352/0.4857, allocations: 446.6 kB / 0.5956 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.4857, allocations: 43.88 kB / 0.5957 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 3.747e-06/0.4857, allocations: 0 / 0.5957 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02106/0.5068, allocations: 9.178 MB / 0.6046 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.5068, allocations: 68.7 kB / 0.6047 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/0.5104, allocations: 2.605 MB / 0.6072 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.5105, allocations: 53.7 kB / 0.6073 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001996/0.5125, allocations: 2.787 MB / 0.61 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007715/0.5132, allocations: 0.7364 MB / 0.6107 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.5146, allocations: 0.9731 MB / 0.6117 GB, free: 15 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.5147, allocations: 361.9 kB / 0.612 GB, free: 14.64 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.5171, allocations: 1.552 MB / 0.6135 GB, free: 13.08 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/0.5218, allocations: 4.387 MB / 0.6178 GB, free: 7.289 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007842/0.5297, allocations: 6.564 MB / 0.6242 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.449e-05/0.5297, allocations: 32 kB / 0.6243 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009582/0.5393, allocations: 5.852 MB / 0.63 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.5394, allocations: 51.94 kB / 0.63 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.5395, allocations: 100 kB / 0.6301 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.5398, allocations: 172.8 kB / 0.6303 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/0.5432, allocations: 1.068 MB / 0.6313 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.545, allocations: 1.667 MB / 0.633 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.5479, allocations: 207.9 kB / 0.6332 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005488/0.5484, allocations: 296 kB / 0.6334 GB, free: 5.781 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * Array equations: 6 * 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.004012/0.5524, allocations: 1.986 MB / 0.6354 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/0.5529, allocations: 254.3 kB / 0.6356 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.5571, allocations: 2.523 MB / 0.6381 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/0.5571, allocations: 20 kB / 0.6381 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5571, allocations: 0 / 0.6381 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.5571, allocations: 11.95 kB / 0.6381 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.5686, allocations: 6.556 MB / 0.6445 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.5686, allocations: 8 kB / 0.6445 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.5697, allocations: 259.7 kB / 0.6448 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.5698, allocations: 56.78 kB / 0.6448 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.5699, allocations: 39.98 kB / 0.6449 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.5714, allocations: 1.495 MB / 0.6463 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.516e-05/0.5714, allocations: 19.88 kB / 0.6463 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/0.577, allocations: 4.01 MB / 0.6503 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.5775, allocations: 214.3 kB / 0.6505 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.5778, allocations: 35.98 kB / 0.6505 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007204/0.5785, allocations: 64.02 kB / 0.6506 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.5787, allocations: 124.5 kB / 0.6507 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.5788, allocations: 67.98 kB / 0.6507 GB, free: 3.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002358/0.5812, allocations: 1.469 MB / 0.6522 GB, free: 2.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5812, allocations: 0 / 0.6522 GB, free: 2.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003729/0.5849, allocations: 0.7772 MB / 0.6529 GB, free: 1.328 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0004309/0.5854, allocations: 174.8 kB / 0.6531 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005888/0.5913, allocations: 3.717 MB / 0.6567 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.5913, allocations: 8.375 kB / 0.6567 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.5929, allocations: 1.174 MB / 0.6579 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.5945, allocations: 278.2 kB / 0.6582 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.6101, allocations: 8.634 MB / 0.6666 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004582/0.6147, allocations: 2.591 MB / 0.6691 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004203/0.6189, allocations: 1.693 MB / 0.6708 GB, free: 14.86 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/0.6194, allocations: 176.5 kB / 0.6709 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of SimCode: time 1.152e-06/0.6194, allocations: 0 / 0.6709 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of Templates: time 0.04276/0.6622, allocations: 15.79 MB / 0.6864 GB, free: 15.21 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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: 6.173141248058528]