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.001535/0.001535, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001837/0.001837, allocations: 166.3 kB / 25 MB, free: 8.707 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.9789/0.9789, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2872/0.2872, allocations: 32.81 MB / 294.6 MB, free: 1.293 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 3.166e-06/3.166e-06, allocations: 4 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/3.125e-05, allocations: 10.19 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01426/0.01429, allocations: 14.35 MB / 390.4 MB, free: 6.562 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008225/0.02251, allocations: 4.333 MB / 394.7 MB, free: 2.215 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.02477, allocations: 91.62 kB / 394.8 MB, free: 2.125 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.02818, allocations: 2.374 MB / 397.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.03229, allocations: 2.123 MB / 399.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.03342, allocations: 0.6781 MB / 400 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00459/0.03801, allocations: 4.692 MB / 404.7 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00341/0.04142, allocations: 3.024 MB / 407.7 MB, free: 5.152 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.04491, allocations: 2.444 MB / 410.1 MB, free: 2.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00319/0.0481, allocations: 2.42 MB / 412.5 MB, free: 284 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006422/0.04874, allocations: 344 kB / 412.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.05027, allocations: 1.01 MB / 413.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.05177, allocations: 2.096 MB / 416 MB, free: 12.83 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.05344, allocations: 1.304 MB / 417.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005502/0.05894, allocations: 4.957 MB / 422.2 MB, free: 6.543 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.05894, allocations: 4 kB / 422.3 MB, free: 6.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.05895, allocations: 0 / 422.3 MB, free: 6.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001761/0.05912, allocations: 0 / 422.3 MB, free: 6.539 MB / 394.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.008355/0.06748, allocations: 5.601 MB / 427.9 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.06752, allocations: 8.031 kB / 427.9 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007062/0.07458, allocations: 3.823 MB / 431.7 MB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.07801, allocations: 2.172 MB / 433.9 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.07816, allocations: 250.6 kB / 434.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006302/0.07879, allocations: 336.1 kB / 434.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.08882, allocations: 6.357 MB / 440.8 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.08892, allocations: 39.69 kB / 440.8 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.08938, allocations: 151.8 kB / 441 MB, free: 2.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002907/0.09228, allocations: 2.848 MB / 443.8 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1879/0.2802, allocations: 3.779 MB / 447.6 MB, free: 74.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03694/0.3172, allocations: 40.26 MB / 487.9 MB, free: 47.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/0.3223, allocations: 1.918 MB / 489.8 MB, free: 47.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.3238, allocations: 0.7173 MB / 490.5 MB, free: 47.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005588/0.3243, allocations: 423.4 kB / 490.9 MB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.3244, allocations: 56.78 kB / 491 MB, free: 47.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 5.31e-06/0.3244, allocations: 0 / 491 MB, free: 47.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.02599/0.3504, allocations: 11.03 MB / 0.4902 GB, free: 44.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3504, allocations: 79.19 kB / 0.4903 GB, free: 44.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.3536, allocations: 2.869 MB / 0.4931 GB, free: 43.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003779/0.354, allocations: 60.34 kB / 0.4932 GB, free: 43.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.3557, allocations: 3.395 MB / 0.4965 GB, free: 40.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/0.3568, allocations: 1.049 MB / 0.4975 GB, free: 39.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.3581, allocations: 1.26 MB / 0.4987 GB, free: 39.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.3582, allocations: 482.7 kB / 0.4992 GB, free: 38.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.3596, allocations: 0.7495 MB / 0.4999 GB, free: 38.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/0.3632, allocations: 5.579 MB / 0.5054 GB, free: 32.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005954/0.3691, allocations: 7.034 MB / 0.5122 GB, free: 25.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.777e-05/0.3692, allocations: 32.34 kB / 0.5123 GB, free: 25.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.009743/0.379, allocations: 5.672 MB / 0.5178 GB, free: 23.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.379, allocations: 52 kB / 0.5179 GB, free: 23.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/0.3791, allocations: 117 kB / 0.518 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.381, allocations: 0.7517 MB / 0.5187 GB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/0.3842, allocations: 1.347 MB / 0.52 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.3873, allocations: 3.29 MB / 0.5232 GB, free: 18.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/0.3907, allocations: 346 kB / 0.5236 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006066/0.3913, allocations: 342.9 kB / 0.5239 GB, free: 17.59 MB / 410.7 MB 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.001859/0.3932, allocations: 0.631 MB / 0.5245 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005965/0.3938, allocations: 381.1 kB / 0.5249 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/0.3978, allocations: 2.778 MB / 0.5276 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.167e-05/0.3979, allocations: 53.78 kB / 0.5276 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.3979, allocations: 7.25 kB / 0.5277 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.3979, allocations: 11.72 kB / 0.5277 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.4094, allocations: 7.633 MB / 0.5351 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.4094, allocations: 8 kB / 0.5351 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4104, allocations: 422.3 kB / 0.5355 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.4118, allocations: 0.5942 MB / 0.5361 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.412, allocations: 51.75 kB / 0.5362 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.4145, allocations: 2.695 MB / 0.5388 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.4145, allocations: 19.88 kB / 0.5388 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/0.4192, allocations: 3.547 MB / 0.5423 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/0.42, allocations: 284.8 kB / 0.5425 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.4203, allocations: 57.3 kB / 0.5426 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/0.4211, allocations: 177.6 kB / 0.5428 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.4214, allocations: 179.3 kB / 0.5429 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.4215, allocations: 79.11 kB / 0.543 GB, free: 288 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001618/0.4231, allocations: 1.214 MB / 0.5442 GB, free: 15.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4231, allocations: 0 / 0.5442 GB, free: 15.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004367/0.4275, allocations: 1.133 MB / 0.5453 GB, free: 13.93 MB / 426.7 MB 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.0004893/0.428, allocations: 213.6 kB / 0.5455 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005469/0.4334, allocations: 3.273 MB / 0.5487 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.4334, allocations: 4 kB / 0.5487 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.4351, allocations: 1.095 MB / 0.5498 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.4371, allocations: 370 kB / 0.5501 GB, free: 8.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.4527, allocations: 9.233 MB / 0.5591 GB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.4542, allocations: 1.414 MB / 0.5605 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003237/0.4574, allocations: 1.747 MB / 0.5622 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.4581, allocations: 224.5 kB / 0.5624 GB, free: 12.07 MB / 442.7 MB Notification: Performance of SimCode: time 2.454e-06/0.4581, allocations: 4 kB / 0.5625 GB, free: 12.07 MB / 442.7 MB Notification: Performance of Templates: time 0.04721/0.5053, allocations: 30.33 MB / 0.5921 GB, free: 14.21 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.567730699898675]