Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001022/0.001022, 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.004133/0.004133, allocations: 160.6 kB / 24.7 MB, free: 9.43 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.8625/0.8625, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2601/0.2601, allocations: 32.79 MB / 294.2 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.308e-06/4.308e-06, allocations: 4 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.703e-05, allocations: 6.281 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2199/0.2199, allocations: 13.02 MB / 453.9 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007972/0.2279, allocations: 4.229 MB / 458.1 MB, free: 36.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.2304, allocations: 97.81 kB / 458.2 MB, free: 36.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.2333, allocations: 2.285 MB / 460.5 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.2374, allocations: 2.111 MB / 462.6 MB, free: 34.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.2385, allocations: 0.6785 MB / 463.3 MB, free: 34.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004432/0.243, allocations: 4.688 MB / 468 MB, free: 32.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.2462, allocations: 2.928 MB / 470.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.2498, allocations: 2.44 MB / 473.3 MB, free: 30.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.253, allocations: 2.396 MB / 475.7 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009806/0.254, allocations: 348.9 kB / 476.1 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.2564, allocations: 1.007 MB / 477.1 MB, free: 29.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.2579, allocations: 2.089 MB / 479.2 MB, free: 28.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.2598, allocations: 1.305 MB / 480.5 MB, free: 28.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009464/0.2692, allocations: 7.752 MB / 488.2 MB, free: 25.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.2692, allocations: 0.75 kB / 488.2 MB, free: 25.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2692, allocations: 0 / 488.2 MB, free: 25.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003399/0.2696, allocations: 0 / 488.2 MB, free: 25.34 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.02001/0.2896, allocations: 5.115 MB / 493.3 MB, free: 22.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2896, allocations: 13.12 kB / 493.3 MB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007965/0.2976, allocations: 3.263 MB / 496.6 MB, free: 21.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006201/0.3038, allocations: 2.323 MB / 498.9 MB, free: 20.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.304, allocations: 252.3 kB / 499.2 MB, free: 20.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.3059, allocations: 328.5 kB / 499.5 MB, free: 20.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.3266, allocations: 12.25 MB / 0.4998 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.3267, allocations: 35.64 kB / 0.4998 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005625/0.3273, allocations: 159.8 kB / 0.4999 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/0.3299, allocations: 2.851 MB / 0.5027 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.3461, allocations: 11.1 MB / 0.5136 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04859/0.3947, allocations: 37.39 MB / 0.5501 GB, free: 8.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/0.4011, allocations: 3.719 MB / 0.5537 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002409/0.4035, allocations: 2.25 MB / 0.5559 GB, free: 2.504 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007619/0.4043, allocations: 445.2 kB / 0.5563 GB, free: 2.066 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.4043, allocations: 59.38 kB / 0.5564 GB, free: 2.004 MB / 458.7 MB Notification: Performance of pre-optimization done (n=249): time 5.6e-06/0.4043, allocations: 0 / 0.5564 GB, free: 2.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=267): time 0.0315/0.4358, allocations: 19.06 MB / 0.575 GB, free: 14.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.4359, allocations: 81.34 kB / 0.5751 GB, free: 14.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004399/0.4403, allocations: 3.128 MB / 0.5781 GB, free: 11.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006512/0.441, allocations: 57.7 kB / 0.5782 GB, free: 11.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.4427, allocations: 3.248 MB / 0.5814 GB, free: 8.285 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/0.4441, allocations: 1.007 MB / 0.5823 GB, free: 7.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/0.4455, allocations: 1.172 MB / 0.5835 GB, free: 6.086 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.4456, allocations: 305.1 kB / 0.5838 GB, free: 5.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.4486, allocations: 2.463 MB / 0.5862 GB, free: 3.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/0.4533, allocations: 5.738 MB / 0.5918 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009322/0.4627, allocations: 8.987 MB / 0.6006 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.4628, allocations: 35.94 kB / 0.6006 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01398/0.4767, allocations: 8.987 MB / 0.6094 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.4768, allocations: 52 kB / 0.6094 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.4769, allocations: 116 kB / 0.6095 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.479, allocations: 1.048 MB / 0.6106 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/0.4822, allocations: 1.35 MB / 0.6119 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.4876, allocations: 5.376 MB / 0.6171 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/0.4912, allocations: 351.8 kB / 0.6175 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008295/0.492, allocations: 339.9 kB / 0.6178 GB, free: 15.64 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.004221/0.4963, allocations: 2.418 MB / 0.6201 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005554/0.4968, allocations: 305.9 kB / 0.6204 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006719/0.5035, allocations: 5.342 MB / 0.6257 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/0.5036, allocations: 47.98 kB / 0.6257 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5036, allocations: 7.938 kB / 0.6257 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.5036, allocations: 7.969 kB / 0.6257 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2207/0.7243, allocations: 11.4 MB / 0.6369 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.7243, allocations: 14.38 kB / 0.6369 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009575/0.7253, allocations: 424.1 kB / 0.6373 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.7267, allocations: 0.8807 MB / 0.6381 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.7268, allocations: 53.67 kB / 0.6382 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.7303, allocations: 4.687 MB / 0.6428 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.7303, allocations: 18.5 kB / 0.6428 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007177/0.7375, allocations: 7.971 MB / 0.6506 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006682/0.7381, allocations: 288 kB / 0.6508 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.7383, allocations: 49.84 kB / 0.6509 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.7391, allocations: 186.4 kB / 0.6511 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.7394, allocations: 181.2 kB / 0.6512 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.7395, allocations: 79.11 kB / 0.6513 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001911/0.7414, allocations: 1.786 MB / 0.6531 GB, free: 146 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7414, allocations: 0 / 0.6531 GB, free: 146 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003396/0.7448, allocations: 1.135 MB / 0.6542 GB, free: 145.8 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.0004001/0.7452, allocations: 212.1 kB / 0.6544 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005758/0.7509, allocations: 5.785 MB / 0.66 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/0.751, allocations: 1.312 kB / 0.66 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.7529, allocations: 2.097 MB / 0.6621 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.7543, allocations: 364.4 kB / 0.6624 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.7695, allocations: 11.9 MB / 0.674 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003449/0.773, allocations: 3.176 MB / 0.6771 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008103/0.7738, allocations: 278.8 kB / 0.6774 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/0.7738, allocations: 0 / 0.6774 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.06701/0.8408, allocations: 85.29 MB / 0.7607 GB, free: 62.24 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.512048609554768]