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.0008652/0.0008652, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009345/0.0009345, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9577/0.9577, allocations: 177.1 MB / 205 MB, free: 5.613 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.246/0.246, allocations: 32.81 MB / 294.3 MB, free: 1.281 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 1.813e-06/1.813e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.122e-05, allocations: 6.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01263/0.01266, allocations: 14.41 MB / 390.4 MB, free: 6.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008542/0.0212, allocations: 4.337 MB / 394.8 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.02377, allocations: 95.62 kB / 394.9 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.02743, allocations: 2.378 MB / 397.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.03215, allocations: 2.131 MB / 399.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.03344, allocations: 0.6743 MB / 400.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005138/0.03858, allocations: 4.688 MB / 404.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00411/0.04269, allocations: 3.032 MB / 407.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.04647, allocations: 2.44 MB / 410.2 MB, free: 2.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.04981, allocations: 2.42 MB / 412.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009035/0.05071, allocations: 344 kB / 413 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.05252, allocations: 1.01 MB / 414 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.05414, allocations: 2.096 MB / 416.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.05582, allocations: 1.308 MB / 417.4 MB, free: 11.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007395/0.06322, allocations: 4.954 MB / 422.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.06322, allocations: 0 / 422.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06323, allocations: 0 / 422.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001988/0.06342, allocations: 0 / 422.3 MB, free: 6.129 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.007355/0.07078, allocations: 5.609 MB / 427.9 MB, free: 460 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.07083, allocations: 8.031 kB / 428 MB, free: 452 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007088/0.07792, allocations: 3.82 MB / 431.8 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004757/0.08267, allocations: 2.172 MB / 433.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.08285, allocations: 250.6 kB / 434.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007393/0.08359, allocations: 336.1 kB / 434.5 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.09442, allocations: 6.356 MB / 440.9 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.722e-05/0.0945, allocations: 39.7 kB / 440.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003759/0.09488, allocations: 151.8 kB / 441.1 MB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1695/0.2644, allocations: 2.848 MB / 443.9 MB, free: 74.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.2759, allocations: 3.781 MB / 447.7 MB, free: 74.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03693/0.3128, allocations: 40.25 MB / 487.9 MB, free: 47.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.3168, allocations: 1.924 MB / 489.9 MB, free: 47.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.3178, allocations: 0.7253 MB / 490.6 MB, free: 47.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.3183, allocations: 415 kB / 491 MB, free: 47.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3183, allocations: 57.73 kB / 491.1 MB, free: 47.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.639e-06/0.3183, allocations: 0 / 491.1 MB, free: 47.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.0229/0.3412, allocations: 11.03 MB / 0.4903 GB, free: 44.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3413, allocations: 77 kB / 0.4904 GB, free: 44.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.3448, allocations: 2.868 MB / 0.4932 GB, free: 43.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.345, allocations: 69.83 kB / 0.4933 GB, free: 43.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.3468, allocations: 3.392 MB / 0.4966 GB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008257/0.3476, allocations: 1.051 MB / 0.4976 GB, free: 40.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.3489, allocations: 1.26 MB / 0.4988 GB, free: 39.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.349, allocations: 480.8 kB / 0.4993 GB, free: 38.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.3506, allocations: 0.748 MB / 0.5 GB, free: 38.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.3534, allocations: 5.578 MB / 0.5055 GB, free: 32.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004969/0.3584, allocations: 7.031 MB / 0.5123 GB, free: 25.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.942e-05/0.3585, allocations: 31.19 kB / 0.5124 GB, free: 25.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.008129/0.3666, allocations: 5.674 MB / 0.5179 GB, free: 22.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.3666, allocations: 58.97 kB / 0.518 GB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.3668, allocations: 114.9 kB / 0.5181 GB, free: 22.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.3684, allocations: 0.7526 MB / 0.5188 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.3707, allocations: 1.346 MB / 0.5201 GB, free: 21.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.374, allocations: 3.294 MB / 0.5233 GB, free: 17.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/0.3781, allocations: 347.7 kB / 0.5237 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008699/0.3789, allocations: 340.4 kB / 0.524 GB, free: 17.34 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.002866/0.3818, allocations: 0.6378 MB / 0.5246 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006054/0.3824, allocations: 373.9 kB / 0.525 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.3863, allocations: 2.78 MB / 0.5277 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.731e-05/0.3864, allocations: 51.83 kB / 0.5277 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.3864, allocations: 4 kB / 0.5277 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.3864, allocations: 11.2 kB / 0.5277 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.3974, allocations: 7.634 MB / 0.5352 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.3974, allocations: 15.98 kB / 0.5352 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009643/0.3984, allocations: 423.3 kB / 0.5356 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.3997, allocations: 0.5951 MB / 0.5362 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.3999, allocations: 53.05 kB / 0.5363 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.4021, allocations: 2.688 MB / 0.5389 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.4021, allocations: 15.94 kB / 0.5389 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/0.4065, allocations: 3.55 MB / 0.5424 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/0.4072, allocations: 285.9 kB / 0.5426 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.4074, allocations: 58.25 kB / 0.5427 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.4082, allocations: 183.7 kB / 0.5429 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.4085, allocations: 175.9 kB / 0.543 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.4086, allocations: 79.12 kB / 0.5431 GB, free: 15.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001607/0.4102, allocations: 1.207 MB / 0.5443 GB, free: 14.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4102, allocations: 0 / 0.5443 GB, free: 14.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003994/0.4142, allocations: 1.144 MB / 0.5454 GB, free: 13.55 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.0005477/0.4148, allocations: 206.3 kB / 0.5456 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005459/0.4202, allocations: 3.272 MB / 0.5488 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.4202, allocations: 8.062 kB / 0.5488 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.4217, allocations: 1.095 MB / 0.5499 GB, free: 8.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.4234, allocations: 362.2 kB / 0.5502 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.4384, allocations: 9.23 MB / 0.5592 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/0.44, allocations: 1.41 MB / 0.5606 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004043/0.444, allocations: 1.75 MB / 0.5623 GB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/0.4448, allocations: 232.5 kB / 0.5625 GB, free: 11.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.495e-06/0.4448, allocations: 0 / 0.5625 GB, free: 11.7 MB / 442.7 MB Notification: Performance of Templates: time 0.05395/0.4987, allocations: 30.34 MB / 0.5922 GB, free: 13.83 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.536055307369679]