Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 110.5 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 212 kB / 24.48 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2346/0.2346, allocations: 46.89 MB / 361.1 MB, free: 4.617 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 83.84 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3288, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01435/0.3431, allocations: 12.33 MB / 0.5733 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008682/0.3518, allocations: 3.898 MB / 0.5771 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.3537, allocations: 63.88 kB / 0.5771 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.3565, allocations: 1.347 MB / 0.5784 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.3612, allocations: 1.763 MB / 0.5802 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3624, allocations: 423.2 kB / 0.5806 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004934/0.3673, allocations: 3.595 MB / 0.5841 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.3693, allocations: 1.613 MB / 0.5857 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.3709, allocations: 1.191 MB / 0.5868 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/0.3734, allocations: 1.919 MB / 0.5887 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000583/0.374, allocations: 236 kB / 0.5889 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.3758, allocations: 0.8386 MB / 0.5897 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001719/0.3776, allocations: 1.601 MB / 0.5913 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.3796, allocations: 1.875 MB / 0.5931 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007732/0.3873, allocations: 6.091 MB / 0.5991 GB, free: 14.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3873, allocations: 0 / 0.5991 GB, free: 14.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3873, allocations: 0 / 0.5991 GB, free: 14.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001822/0.3875, allocations: 0 / 0.5991 GB, free: 14.07 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.007659/0.3952, allocations: 4.136 MB / 0.6031 GB, free: 9.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3952, allocations: 8.031 kB / 0.6031 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4061, allocations: 3.102 MB / 0.6062 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004817/0.4109, allocations: 1.914 MB / 0.608 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.411, allocations: 189 kB / 0.6082 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005992/0.4116, allocations: 247.8 kB / 0.6084 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/0.4281, allocations: 10.17 MB / 0.6184 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.898e-05/0.4282, allocations: 23.77 kB / 0.6184 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.4286, allocations: 123.8 kB / 0.6185 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004174/0.4327, allocations: 2.463 MB / 0.6209 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01882/0.4516, allocations: 9.353 MB / 0.6301 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04873/0.5003, allocations: 31.52 MB / 0.6608 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006377/0.5067, allocations: 3.258 MB / 0.664 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.5083, allocations: 0.9894 MB / 0.665 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.5096, allocations: 1.31 MB / 0.6663 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.5097, allocations: 51.88 kB / 0.6663 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.609e-06/0.5097, allocations: 0 / 0.6663 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02092/0.5306, allocations: 9.165 MB / 0.6753 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.5307, allocations: 64.72 kB / 0.6753 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003705/0.5344, allocations: 2.619 MB / 0.6779 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.5346, allocations: 49.7 kB / 0.6779 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002155/0.5367, allocations: 2.776 MB / 0.6806 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007403/0.5375, allocations: 0.7324 MB / 0.6814 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.5387, allocations: 0.9771 MB / 0.6823 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5389, allocations: 305.1 kB / 0.6826 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/0.5413, allocations: 1.548 MB / 0.6841 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004727/0.546, allocations: 4.391 MB / 0.6884 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008077/0.5541, allocations: 6.563 MB / 0.6948 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.014e-05/0.5541, allocations: 28 kB / 0.6948 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009427/0.5635, allocations: 5.86 MB / 0.7006 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.5636, allocations: 51.94 kB / 0.7006 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.5637, allocations: 99.94 kB / 0.7007 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.564, allocations: 173.6 kB / 0.7009 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/0.5671, allocations: 1.072 MB / 0.7019 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.5689, allocations: 1.796 MB / 0.7037 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.5713, allocations: 211.9 kB / 0.7039 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004377/0.5717, allocations: 291.9 kB / 0.7042 GB, free: 13.47 MB / 0.545 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.002984/0.5747, allocations: 1.993 MB / 0.7061 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.5751, allocations: 262.3 kB / 0.7063 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/0.579, allocations: 2.537 MB / 0.7088 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.579, allocations: 3.984 kB / 0.7088 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.579, allocations: 0 / 0.7088 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.5795, allocations: 291.4 kB / 0.7091 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.5797, allocations: 28 kB / 0.7091 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006113/0.5803, allocations: 51.95 kB / 0.7092 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.5805, allocations: 85.17 kB / 0.7093 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003568/0.5841, allocations: 2.241 MB / 0.7115 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005257/0.5893, allocations: 3.804 MB / 0.7152 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00132/0.5906, allocations: 0.9088 MB / 0.7161 GB, free: 1.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002319/0.5929, allocations: 1.583 MB / 0.7176 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of Backend: time 2.1e-07/0.5929, allocations: 0 / 0.7176 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006154/0.5991, allocations: 2.982 MB / 0.7205 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01459/0.6137, allocations: 8.395 MB / 0.7287 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of Templates: time 0.2865/0.9002, allocations: 32.81 MB / 0.7608 GB, free: 139.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.370627996046096]