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.001402/0.001402, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001511/0.001511, allocations: 165.3 kB / 24.27 MB, free: 144 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 1.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3611/0.3611, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.5e-05/3.659e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01912/0.01916, allocations: 13.03 MB / 390.3 MB, free: 5.855 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.02968, allocations: 4.236 MB / 394.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.03176, allocations: 87.69 kB / 394.6 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005266/0.03703, allocations: 2.316 MB / 397 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005126/0.04215, allocations: 2.131 MB / 399.1 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.04386, allocations: 0.6626 MB / 399.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007242/0.05111, allocations: 4.696 MB / 404.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004779/0.05589, allocations: 3.012 MB / 407.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004247/0.06013, allocations: 2.44 MB / 409.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004423/0.06456, allocations: 2.393 MB / 412.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.06542, allocations: 348 kB / 412.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.06841, allocations: 1.014 MB / 413.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002682/0.07109, allocations: 2.092 MB / 415.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.07347, allocations: 1.308 MB / 417 MB, free: 11.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.08484, allocations: 7.744 MB / 424.8 MB, free: 3.242 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.08485, allocations: 4 kB / 424.8 MB, free: 3.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.08485, allocations: 0 / 424.8 MB, free: 3.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002499/0.0851, allocations: 4 kB / 424.8 MB, free: 3.234 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.0111/0.0962, allocations: 5.11 MB / 429.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.09624, allocations: 12.03 kB / 429.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01309/0.1093, allocations: 3.937 MB / 433.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0063/0.1156, allocations: 2.345 MB / 436.2 MB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.1159, allocations: 254.6 kB / 436.4 MB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.1169, allocations: 336.1 kB / 436.8 MB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1831/0.3, allocations: 12.24 MB / 449 MB, free: 94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.3001, allocations: 29.38 kB / 449.1 MB, free: 93.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.3005, allocations: 155.9 kB / 449.2 MB, free: 93.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003868/0.3044, allocations: 2.844 MB / 452 MB, free: 93.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/0.3229, allocations: 11.11 MB / 463.2 MB, free: 90.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04642/0.3693, allocations: 37.48 MB / 0.4889 GB, free: 66.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008409/0.3777, allocations: 3.722 MB / 0.4925 GB, free: 64.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.3808, allocations: 2.261 MB / 0.4947 GB, free: 62.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/0.3815, allocations: 464.8 kB / 0.4952 GB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3815, allocations: 52.56 kB / 0.4952 GB, free: 62.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.769e-06/0.3815, allocations: 0 / 0.4952 GB, free: 62.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.03773/0.4193, allocations: 19.13 MB / 0.5139 GB, free: 45.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.4193, allocations: 73.41 kB / 0.514 GB, free: 45.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.4224, allocations: 3.127 MB / 0.517 GB, free: 42.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.4226, allocations: 63.66 kB / 0.5171 GB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.4237, allocations: 3.252 MB / 0.5203 GB, free: 38.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005894/0.4243, allocations: 1.002 MB / 0.5213 GB, free: 37.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.4255, allocations: 1.178 MB / 0.5224 GB, free: 36.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.4255, allocations: 305.1 kB / 0.5227 GB, free: 36.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.4281, allocations: 2.463 MB / 0.5251 GB, free: 34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/0.4322, allocations: 5.731 MB / 0.5307 GB, free: 26.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007588/0.4398, allocations: 8.988 MB / 0.5395 GB, free: 16.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.882e-05/0.4399, allocations: 32 kB / 0.5395 GB, free: 16.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0129/0.4528, allocations: 9.295 MB / 0.5486 GB, free: 6.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.4529, allocations: 52.22 kB / 0.5486 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.453, allocations: 116 kB / 0.5488 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.4559, allocations: 1.101 MB / 0.5498 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003851/0.4597, allocations: 1.353 MB / 0.5511 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00651/0.4662, allocations: 5.397 MB / 0.5564 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004245/0.4705, allocations: 350.8 kB / 0.5568 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008006/0.4713, allocations: 344 kB / 0.5571 GB, free: 13.96 MB / 426.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.0048/0.4761, allocations: 2.403 MB / 0.5594 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009154/0.477, allocations: 373.9 kB / 0.5598 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/0.4874, allocations: 5.344 MB / 0.565 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.702e-05/0.4875, allocations: 47.98 kB / 0.565 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4875, allocations: 4 kB / 0.5651 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.4875, allocations: 7.969 kB / 0.5651 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/0.5104, allocations: 11.42 MB / 0.5762 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.5104, allocations: 12 kB / 0.5762 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.5123, allocations: 424.2 kB / 0.5766 GB, free: 9.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/0.5155, allocations: 0.9448 MB / 0.5775 GB, free: 8.727 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/0.5157, allocations: 55.92 kB / 0.5776 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008046/0.5238, allocations: 4.695 MB / 0.5822 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.091e-05/0.5238, allocations: 19.98 kB / 0.5822 GB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.5388, allocations: 8.034 MB / 0.5901 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.5398, allocations: 294 kB / 0.5903 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/0.5404, allocations: 48 kB / 0.5904 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.542, allocations: 179.7 kB / 0.5905 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004656/0.5425, allocations: 181.5 kB / 0.5907 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/0.5427, allocations: 79.94 kB / 0.5908 GB, free: 10.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003183/0.5458, allocations: 1.784 MB / 0.5925 GB, free: 9.051 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5458, allocations: 0 / 0.5925 GB, free: 9.051 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005944/0.5518, allocations: 1.137 MB / 0.5936 GB, free: 7.914 MB / 458.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.0007564/0.5525, allocations: 214.6 kB / 0.5939 GB, free: 7.695 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.011/0.5635, allocations: 5.785 MB / 0.5995 GB, free: 1.914 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/0.5636, allocations: 4 kB / 0.5995 GB, free: 1.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1766/0.7402, allocations: 2.095 MB / 0.6016 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.7431, allocations: 366.9 kB / 0.6019 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/0.761, allocations: 11.54 MB / 0.6132 GB, free: 127.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/0.7651, allocations: 3.179 MB / 0.6163 GB, free: 126.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004784/0.7699, allocations: 2.123 MB / 0.6184 GB, free: 126.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.7709, allocations: 235 kB / 0.6186 GB, free: 126.3 MB / 458.7 MB Notification: Performance of SimCode: time 3.987e-06/0.7709, allocations: 0 / 0.6186 GB, free: 126.3 MB / 458.7 MB Notification: Performance of Templates: time 0.06199/0.8329, allocations: 30.34 MB / 0.6482 GB, free: 119.5 MB / 458.7 MB " [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: 6.831928377971053]