Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002205/0.002205, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002508/0.002508, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1994/0.1994, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.627e-05, allocations: 2.312 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01506/0.01509, allocations: 15.06 MB / 362 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.02713, allocations: 4.401 MB / 366.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003132/0.03027, allocations: 91.69 kB / 366.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005324/0.03559, allocations: 2.405 MB / 368.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006444/0.04204, allocations: 2.236 MB / 371.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.04405, allocations: 0.6859 MB / 371.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007555/0.0516, allocations: 4.811 MB / 376.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006326/0.05793, allocations: 3.11 MB / 379.8 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00643/0.06436, allocations: 2.561 MB / 382.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005365/0.06972, allocations: 2.478 MB / 384.8 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.07089, allocations: 352 kB / 385.1 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.07384, allocations: 1.022 MB / 386.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003193/0.07703, allocations: 2.209 MB / 388.4 MB, free: 192 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00366/0.08069, allocations: 1.374 MB / 389.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.09497, allocations: 8.059 MB / 397.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.09498, allocations: 4 kB / 397.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.09498, allocations: 0 / 397.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003256/0.09531, allocations: 0 / 397.8 MB, free: 6.719 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01525/0.1106, allocations: 6.368 MB / 404.2 MB, free: 288 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1106, allocations: 12.03 kB / 404.2 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.1243, allocations: 3.878 MB / 408.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007114/0.1315, allocations: 2.25 MB / 410.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.1317, allocations: 266.9 kB / 410.6 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.1329, allocations: 344.1 kB / 410.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01893/0.1519, allocations: 7.104 MB / 418 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.152, allocations: 39.69 kB / 418 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005743/0.1526, allocations: 159.8 kB / 418.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006374/0.159, allocations: 2.996 MB / 421.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/0.1768, allocations: 4.465 MB / 425.7 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2745/0.4514, allocations: 51.55 MB / 477.2 MB, free: 65.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006952/0.4583, allocations: 1.978 MB / 479.2 MB, free: 64.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.4597, allocations: 0.7518 MB / 479.9 MB, free: 64.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006995/0.4604, allocations: 409.4 kB / 480.3 MB, free: 64.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4605, allocations: 69.2 kB / 480.4 MB, free: 64.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=250): time 5.901e-06/0.4605, allocations: 0 / 480.4 MB, free: 64.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=268): time 0.03432/0.4948, allocations: 12.15 MB / 492.6 MB, free: 62.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.4948, allocations: 102.2 kB / 492.7 MB, free: 62.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/0.4994, allocations: 3.698 MB / 496.4 MB, free: 61.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.4997, allocations: 61.7 kB / 496.4 MB, free: 60.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.5016, allocations: 3.721 MB / 0.4884 GB, free: 57.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009567/0.5025, allocations: 1.131 MB / 0.4895 GB, free: 56.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00155/0.5041, allocations: 1.516 MB / 0.491 GB, free: 54.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.5042, allocations: 476.8 kB / 0.4915 GB, free: 54.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.5057, allocations: 0.8318 MB / 0.4923 GB, free: 53.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.5087, allocations: 6.038 MB / 0.4982 GB, free: 45.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005748/0.5145, allocations: 7.627 MB / 0.5056 GB, free: 35.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-05/0.5146, allocations: 32 kB / 0.5056 GB, free: 35.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01001/0.5246, allocations: 5.959 MB / 0.5115 GB, free: 29.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.5246, allocations: 56 kB / 0.5115 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-05/0.5247, allocations: 119.9 kB / 0.5116 GB, free: 29.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/0.5273, allocations: 0.7641 MB / 0.5124 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/0.5311, allocations: 1.396 MB / 0.5137 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/0.5355, allocations: 3.41 MB / 0.5171 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/0.5396, allocations: 363.7 kB / 0.5174 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005751/0.5402, allocations: 348 kB / 0.5177 GB, free: 22.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (751): * Single equations (assignments): 744 * 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.002495/0.5427, allocations: 0.7984 MB / 0.5185 GB, free: 21.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008641/0.5435, allocations: 381.9 kB / 0.5189 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006204/0.5497, allocations: 2.993 MB / 0.5218 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-05/0.5498, allocations: 55.92 kB / 0.5219 GB, free: 18.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5498, allocations: 0 / 0.5219 GB, free: 18.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.5498, allocations: 11.97 kB / 0.5219 GB, free: 18.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/0.5681, allocations: 9.272 MB / 0.5309 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.5681, allocations: 12 kB / 0.5309 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.5697, allocations: 423.3 kB / 0.5313 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/0.5721, allocations: 0.6081 MB / 0.5319 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.5723, allocations: 59.92 kB / 0.532 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/0.5759, allocations: 2.793 MB / 0.5347 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.5759, allocations: 15.94 kB / 0.5347 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00705/0.583, allocations: 3.752 MB / 0.5384 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/0.5854, allocations: 0.611 MB / 0.539 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006061/0.586, allocations: 50.34 kB / 0.539 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.5875, allocations: 187.7 kB / 0.5392 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005056/0.588, allocations: 181.3 kB / 0.5394 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/0.5882, allocations: 78.97 kB / 0.5395 GB, free: 15.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003137/0.5914, allocations: 1.518 MB / 0.541 GB, free: 14.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5914, allocations: 0 / 0.541 GB, free: 14.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007119/0.5985, allocations: 1.195 MB / 0.5421 GB, free: 13.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.0007795/0.5993, allocations: 217.3 kB / 0.5423 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009075/0.6083, allocations: 3.651 MB / 0.5459 GB, free: 9.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/0.6084, allocations: 0 / 0.5459 GB, free: 9.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/0.611, allocations: 1.202 MB / 0.5471 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.6137, allocations: 345.1 kB / 0.5474 GB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/0.6361, allocations: 9.723 MB / 0.5569 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005888/0.642, allocations: 2.921 MB / 0.5597 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004913/0.6469, allocations: 1.775 MB / 0.5615 GB, free: 8.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009645/0.6479, allocations: 236.5 kB / 0.5617 GB, free: 8.715 MB / 410.7 MB Notification: Performance of SimCode: time 3.306e-06/0.6479, allocations: 0 / 0.5617 GB, free: 8.715 MB / 410.7 MB Notification: Performance of Templates: time 0.07542/0.7233, allocations: 30.57 MB / 0.5916 GB, free: 10.27 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.908415823010728]