Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.000873/0.000873, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004471/0.004471, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8993/0.8993, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.246/0.246, allocations: 34.24 MB / 295.6 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.205e-05, allocations: 5.094 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2106/0.2106, allocations: 13.02 MB / 456.5 MB, free: 36.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007771/0.2184, allocations: 4.224 MB / 460.7 MB, free: 34.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/0.2216, allocations: 93.41 kB / 460.8 MB, free: 34.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.2244, allocations: 2.277 MB / 463.1 MB, free: 33.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.2285, allocations: 2.123 MB / 465.2 MB, free: 32.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.2299, allocations: 0.6644 MB / 465.8 MB, free: 31.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004353/0.2342, allocations: 4.696 MB / 470.5 MB, free: 30.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002982/0.2372, allocations: 2.927 MB / 473.5 MB, free: 28.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.2407, allocations: 2.43 MB / 475.9 MB, free: 27.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.2437, allocations: 2.395 MB / 478.3 MB, free: 27.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006344/0.2443, allocations: 355.2 kB / 478.6 MB, free: 27.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.2459, allocations: 1.013 MB / 479.6 MB, free: 26.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.2472, allocations: 2.083 MB / 481.7 MB, free: 26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.249, allocations: 1.308 MB / 483 MB, free: 25.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.2594, allocations: 7.743 MB / 490.8 MB, free: 22.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.2594, allocations: 2 kB / 490.8 MB, free: 22.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2594, allocations: 0 / 490.8 MB, free: 22.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003719/0.2598, allocations: 0 / 490.8 MB, free: 22.63 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01499/0.2748, allocations: 5.122 MB / 495.9 MB, free: 19.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2748, allocations: 10.38 kB / 495.9 MB, free: 19.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007318/0.2822, allocations: 3.269 MB / 499.2 MB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005679/0.2878, allocations: 2.319 MB / 0.4897 GB, free: 17.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.2881, allocations: 251.7 kB / 0.49 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.2894, allocations: 333.3 kB / 0.4903 GB, free: 17.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.3062, allocations: 12.25 MB / 0.5023 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.6e-05/0.3063, allocations: 39.7 kB / 0.5023 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.3066, allocations: 151.8 kB / 0.5025 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/0.3091, allocations: 2.848 MB / 0.5052 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.3278, allocations: 11.11 MB / 0.5161 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04662/0.3744, allocations: 37.38 MB / 0.5526 GB, free: 4.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/0.3804, allocations: 3.726 MB / 0.5562 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.3827, allocations: 2.248 MB / 0.5584 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/0.3832, allocations: 437.2 kB / 0.5588 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3833, allocations: 63.36 kB / 0.5589 GB, free: 14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.42e-06/0.3833, allocations: 0 / 0.5589 GB, free: 14 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.0292/0.4125, allocations: 19.06 MB / 0.5775 GB, free: 10.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.4126, allocations: 77.34 kB / 0.5776 GB, free: 10.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/0.4163, allocations: 3.132 MB / 0.5806 GB, free: 7.633 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004871/0.4168, allocations: 61.7 kB / 0.5807 GB, free: 7.566 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.4186, allocations: 3.248 MB / 0.5839 GB, free: 4.285 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.4197, allocations: 1.004 MB / 0.5848 GB, free: 3.273 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.4212, allocations: 1.18 MB / 0.586 GB, free: 2.082 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.4213, allocations: 301.1 kB / 0.5863 GB, free: 1.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/0.4243, allocations: 2.467 MB / 0.5887 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/0.4288, allocations: 5.734 MB / 0.5943 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008365/0.4371, allocations: 8.988 MB / 0.6031 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.013e-05/0.4372, allocations: 32 kB / 0.6031 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01335/0.4506, allocations: 8.983 MB / 0.6119 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.4507, allocations: 60.03 kB / 0.6119 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.4508, allocations: 113.6 kB / 0.612 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.4526, allocations: 1.046 MB / 0.6131 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003598/0.4562, allocations: 1.345 MB / 0.6144 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005377/0.4616, allocations: 5.377 MB / 0.6196 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/0.4649, allocations: 347.7 kB / 0.62 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007741/0.4657, allocations: 340 kB / 0.6203 GB, free: 11.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004813/0.4705, allocations: 2.418 MB / 0.6226 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005439/0.471, allocations: 309.9 kB / 0.6229 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/0.4777, allocations: 5.334 MB / 0.6282 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/0.4777, allocations: 51.97 kB / 0.6282 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4777, allocations: 7.938 kB / 0.6282 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.4778, allocations: 11.95 kB / 0.6282 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2427/0.7205, allocations: 11.4 MB / 0.6394 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.7205, allocations: 8.781 kB / 0.6394 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.7215, allocations: 422 kB / 0.6398 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.723, allocations: 0.891 MB / 0.6406 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/0.7232, allocations: 56.25 kB / 0.6407 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/0.7269, allocations: 4.691 MB / 0.6453 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.7269, allocations: 16.47 kB / 0.6453 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007434/0.7343, allocations: 7.972 MB / 0.6531 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009426/0.7353, allocations: 291.9 kB / 0.6533 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.7356, allocations: 50.62 kB / 0.6534 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/0.7364, allocations: 186 kB / 0.6536 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.7367, allocations: 177.4 kB / 0.6537 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.7368, allocations: 80.58 kB / 0.6538 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002119/0.7389, allocations: 1.788 MB / 0.6556 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7389, allocations: 0 / 0.6556 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003842/0.7428, allocations: 1.129 MB / 0.6567 GB, free: 143 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (208): * Single equations (assignments): 201 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000647/0.7434, allocations: 210 kB / 0.6569 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007664/0.7511, allocations: 5.787 MB / 0.6625 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/0.7511, allocations: 4.469 kB / 0.6625 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.7537, allocations: 2.092 MB / 0.6646 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.756, allocations: 365.8 kB / 0.6649 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.7756, allocations: 11.91 MB / 0.6765 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004473/0.78, allocations: 3.176 MB / 0.6796 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.7811, allocations: 279.2 kB / 0.6799 GB, free: 134 MB / 0.5261 GB Notification: Performance of SimCode: time 2.305e-06/0.7811, allocations: 0 / 0.6799 GB, free: 134 MB / 0.5261 GB Notification: Performance of Templates: time 0.08063/0.8618, allocations: 85.28 MB / 0.7632 GB, free: 56.36 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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: 8.017867755144835]