Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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.0008886/0.0008886, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003766/0.003766, allocations: 163 kB / 24.7 MB, free: 9.426 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 0.8718/0.8718, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2183/0.2183, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 3.938 kB / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.473e-05, allocations: 2.281 kB / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.1612/0.1612, allocations: 13.01 MB / 456.5 MB, free: 36.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004263/0.1654, allocations: 4.235 MB / 460.7 MB, free: 34.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006355/0.1661, allocations: 86.97 kB / 460.8 MB, free: 34.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.1679, allocations: 2.276 MB / 463.1 MB, free: 33.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.1697, allocations: 2.127 MB / 465.2 MB, free: 32.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.1703, allocations: 0.6598 MB / 465.9 MB, free: 31.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.1722, allocations: 4.695 MB / 470.5 MB, free: 30.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.1736, allocations: 2.938 MB / 473.5 MB, free: 28.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.1749, allocations: 2.435 MB / 475.9 MB, free: 27.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.1763, allocations: 2.398 MB / 478.3 MB, free: 27.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.1766, allocations: 345.6 kB / 478.7 MB, free: 27.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008844/0.1774, allocations: 1.002 MB / 479.7 MB, free: 26.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007972/0.1782, allocations: 2.094 MB / 481.8 MB, free: 26.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008714/0.1791, allocations: 1.308 MB / 483.1 MB, free: 25.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005535/0.1847, allocations: 7.738 MB / 490.8 MB, free: 22.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1847, allocations: 5.859 kB / 490.8 MB, free: 22.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1847, allocations: 0 / 490.8 MB, free: 22.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001145/0.1848, allocations: 4 kB / 490.8 MB, free: 22.71 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.006256/0.191, allocations: 5.123 MB / 495.9 MB, free: 19.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1911, allocations: 9.25 kB / 495.9 MB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005826/0.1969, allocations: 3.267 MB / 499.2 MB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.1996, allocations: 2.32 MB / 0.4898 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.1998, allocations: 251.8 kB / 0.49 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/0.2002, allocations: 332.6 kB / 0.4903 GB, free: 17.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.2109, allocations: 12.25 MB / 0.5023 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.43e-05/0.2109, allocations: 35.64 kB / 0.5023 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/0.2112, allocations: 155.8 kB / 0.5025 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002108/0.2133, allocations: 2.84 MB / 0.5052 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.224, allocations: 11.11 MB / 0.5161 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.2566, allocations: 37.38 MB / 0.5526 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.262, allocations: 3.718 MB / 0.5562 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.2639, allocations: 2.256 MB / 0.5584 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/0.2643, allocations: 441.3 kB / 0.5589 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2644, allocations: 55.38 kB / 0.5589 GB, free: 14.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 4.057e-06/0.2644, allocations: 0 / 0.5589 GB, free: 14.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.02653/0.2909, allocations: 19.06 MB / 0.5775 GB, free: 10.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2909, allocations: 81.34 kB / 0.5776 GB, free: 10.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.2942, allocations: 3.132 MB / 0.5807 GB, free: 7.715 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.2943, allocations: 57.7 kB / 0.5807 GB, free: 7.652 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.2956, allocations: 3.244 MB / 0.5839 GB, free: 4.379 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/0.2962, allocations: 1.011 MB / 0.5849 GB, free: 3.359 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.2975, allocations: 1.18 MB / 0.586 GB, free: 2.168 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.2975, allocations: 305.1 kB / 0.5863 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.2999, allocations: 2.463 MB / 0.5887 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003845/0.3037, allocations: 5.735 MB / 0.5943 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00712/0.3109, allocations: 8.981 MB / 0.6031 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.943e-05/0.3109, allocations: 32.88 kB / 0.6031 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.009528/0.3204, allocations: 8.993 MB / 0.6119 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.3205, allocations: 52 kB / 0.6119 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.3206, allocations: 116 kB / 0.6121 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.3223, allocations: 1.049 MB / 0.6131 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.3245, allocations: 1.353 MB / 0.6144 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/0.3297, allocations: 5.37 MB / 0.6196 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.3319, allocations: 347.7 kB / 0.62 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/0.3322, allocations: 336 kB / 0.6203 GB, free: 11.73 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.00363/0.3358, allocations: 2.418 MB / 0.6227 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.3361, allocations: 305.9 kB / 0.623 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005456/0.3415, allocations: 5.342 MB / 0.6282 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/0.3416, allocations: 51.73 kB / 0.6282 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3416, allocations: 7.938 kB / 0.6282 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.3416, allocations: 11.95 kB / 0.6282 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2059/0.5474, allocations: 11.39 MB / 0.6394 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.5475, allocations: 11.77 kB / 0.6394 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/0.5484, allocations: 423.5 kB / 0.6398 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.5498, allocations: 0.884 MB / 0.6406 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.5499, allocations: 56.36 kB / 0.6407 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.5533, allocations: 4.684 MB / 0.6453 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.5533, allocations: 23.03 kB / 0.6453 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.5599, allocations: 7.973 MB / 0.6531 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006466/0.5605, allocations: 287.6 kB / 0.6534 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.5608, allocations: 52.36 kB / 0.6534 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.5615, allocations: 184.8 kB / 0.6536 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.5617, allocations: 170.9 kB / 0.6537 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.982e-05/0.5618, allocations: 81.47 kB / 0.6538 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001694/0.5635, allocations: 1.786 MB / 0.6556 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5635, allocations: 0 / 0.6556 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00324/0.5668, allocations: 1.139 MB / 0.6567 GB, free: 143.1 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.0004175/0.5672, allocations: 211.5 kB / 0.6569 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006048/0.5732, allocations: 5.79 MB / 0.6625 GB, free: 141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.5732, allocations: 1.812 kB / 0.6625 GB, free: 141 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.5752, allocations: 2.1 MB / 0.6646 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.5768, allocations: 360.7 kB / 0.6649 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.5921, allocations: 11.9 MB / 0.6766 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/0.5953, allocations: 3.18 MB / 0.6797 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009902/0.5963, allocations: 275.1 kB / 0.6799 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/0.5963, allocations: 0 / 0.6799 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.06869/0.6649, allocations: 85.29 MB / 0.7632 GB, free: 56.51 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 7.555190095677972]