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.001846/0.001846, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001533/0.001533, allocations: 211.4 kB / 23.73 MB, free: 4.41 MB / 14.72 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: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 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.2435/0.2435, allocations: 46.95 MB / 360.9 MB, free: 4.145 MB / 286.1 MB " [Timeout remaining time 180] 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 0.00209/0.00209, allocations: 63.91 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3714, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0164/0.3878, allocations: 13.01 MB / 0.5738 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009867/0.3977, allocations: 4.229 MB / 0.5779 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002939/0.4006, allocations: 95.62 kB / 0.578 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005091/0.4057, allocations: 2.176 MB / 0.5801 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006349/0.4121, allocations: 2.051 MB / 0.5821 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.414, allocations: 0.6199 MB / 0.5827 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007051/0.421, allocations: 4.292 MB / 0.5869 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005184/0.4262, allocations: 2.675 MB / 0.5895 GB, free: 6.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.4295, allocations: 1.616 MB / 0.5911 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004854/0.4344, allocations: 2.309 MB / 0.5934 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.4358, allocations: 340 kB / 0.5937 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.4388, allocations: 0.944 MB / 0.5946 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002715/0.4415, allocations: 2.006 MB / 0.5966 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002895/0.4444, allocations: 1.723 MB / 0.5983 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.4548, allocations: 7.804 MB / 0.6059 GB, free: 6.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.4548, allocations: 3.984 kB / 0.6059 GB, free: 6.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4548, allocations: 0 / 0.6059 GB, free: 6.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002269/0.455, allocations: 0 / 0.6059 GB, free: 6.086 MB / 446.1 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.01096/0.466, allocations: 5.125 MB / 0.6109 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.466, allocations: 8.031 kB / 0.6109 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.4775, allocations: 3.215 MB / 0.614 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/0.4838, allocations: 2.337 MB / 0.6163 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.4842, allocations: 250.6 kB / 0.6166 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008987/0.4851, allocations: 331.7 kB / 0.6169 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.5062, allocations: 12.25 MB / 0.6288 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.5063, allocations: 35.7 kB / 0.6289 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/0.5067, allocations: 151.8 kB / 0.629 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004956/0.5117, allocations: 2.851 MB / 0.6318 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/0.5329, allocations: 11.09 MB / 0.6426 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05925/0.5922, allocations: 37.17 MB / 0.6789 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00918/0.6013, allocations: 3.581 MB / 0.6824 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/0.6048, allocations: 2.253 MB / 0.6846 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008832/0.6057, allocations: 449.3 kB / 0.6851 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/0.6058, allocations: 56.5 kB / 0.6851 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.23e-06/0.6058, allocations: 0 / 0.6851 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04359/0.6494, allocations: 18.49 MB / 0.7032 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.6494, allocations: 77.39 kB / 0.7032 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004276/0.6537, allocations: 3.058 MB / 0.7062 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.6539, allocations: 57.7 kB / 0.7063 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002435/0.6563, allocations: 3.275 MB / 0.7095 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.6573, allocations: 1.019 MB / 0.7105 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/0.659, allocations: 1.192 MB / 0.7116 GB, free: 7.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6592, allocations: 309.1 kB / 0.7119 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003817/0.663, allocations: 2.467 MB / 0.7144 GB, free: 5.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007429/0.6704, allocations: 5.731 MB / 0.7199 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/0.6826, allocations: 8.988 MB / 0.7287 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.231e-05/0.6827, allocations: 32 kB / 0.7288 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.3259/1.009, allocations: 8.983 MB / 0.7375 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/1.009, allocations: 58.06 kB / 0.7376 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/1.009, allocations: 112.4 kB / 0.7377 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/1.012, allocations: 1.061 MB / 0.7387 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/1.016, allocations: 1.346 MB / 0.74 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00601/1.022, allocations: 5.371 MB / 0.7453 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/1.026, allocations: 319.1 kB / 0.7456 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007047/1.027, allocations: 338.1 kB / 0.7459 GB, free: 146.7 MB / 0.5606 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.003572/1.03, allocations: 2.403 MB / 0.7483 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004993/1.031, allocations: 306 kB / 0.7486 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007628/1.038, allocations: 5.344 MB / 0.7538 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.004e-05/1.039, allocations: 55.31 kB / 0.7538 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.039, allocations: 0 / 0.7538 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/1.039, allocations: 10.59 kB / 0.7538 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/1.055, allocations: 11.33 MB / 0.7649 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.055, allocations: 12.94 kB / 0.7649 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.056, allocations: 421.4 kB / 0.7653 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/1.059, allocations: 0.8863 MB / 0.7662 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/1.059, allocations: 55.98 kB / 0.7662 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004742/1.064, allocations: 4.677 MB / 0.7708 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.064, allocations: 15.94 kB / 0.7708 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009843/1.073, allocations: 7.992 MB / 0.7786 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00076/1.074, allocations: 271.9 kB / 0.7789 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/1.074, allocations: 51.98 kB / 0.7789 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.076, allocations: 155.5 kB / 0.7791 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/1.076, allocations: 173.4 kB / 0.7792 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.076, allocations: 76 kB / 0.7793 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00198/1.078, allocations: 1.726 MB / 0.781 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.078, allocations: 0 / 0.781 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004158/1.082, allocations: 1.067 MB / 0.782 GB, free: 113.6 MB / 0.5606 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.0003832/1.083, allocations: 196.5 kB / 0.7822 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007002/1.09, allocations: 5.796 MB / 0.7879 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.09, allocations: 0 / 0.7879 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/1.092, allocations: 2.098 MB / 0.7899 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/1.094, allocations: 356.1 kB / 0.7903 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.11, allocations: 11.52 MB / 0.8015 GB, free: 93.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003598/1.114, allocations: 3.174 MB / 0.8046 GB, free: 90.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004197/1.118, allocations: 2.12 MB / 0.8067 GB, free: 88.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/1.118, allocations: 223.4 kB / 0.8069 GB, free: 87.95 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/1.118, allocations: 0 / 0.8069 GB, free: 87.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.05531/1.174, allocations: 33.72 MB / 0.8398 GB, free: 54.64 MB / 0.5606 GB " [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: 7.248307380825281]