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.001764/0.001764, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001987/0.001987, allocations: 209.3 kB / 24.49 MB, free: 3.965 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2428/0.2428, allocations: 46.95 MB / 361.6 MB, free: 4.062 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.002053/0.002053, allocations: 63.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 66.04 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01688/0.3673, allocations: 13 MB / 0.5745 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.3786, allocations: 4.24 MB / 0.5787 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.3814, allocations: 95.62 kB / 0.5788 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005188/0.3865, allocations: 2.168 MB / 0.5809 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006413/0.393, allocations: 2.063 MB / 0.5829 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.3948, allocations: 0.6122 MB / 0.5835 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006777/0.4016, allocations: 4.31 MB / 0.5877 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004357/0.406, allocations: 2.676 MB / 0.5903 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.4093, allocations: 1.624 MB / 0.5919 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.4135, allocations: 2.43 MB / 0.5943 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.4146, allocations: 340 kB / 0.5946 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.4171, allocations: 0.944 MB / 0.5955 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002396/0.4195, allocations: 2.006 MB / 0.5975 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002935/0.4225, allocations: 1.723 MB / 0.5992 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.4334, allocations: 7.814 MB / 0.6068 GB, free: 5.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4334, allocations: 0 / 0.6068 GB, free: 5.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4334, allocations: 0 / 0.6068 GB, free: 5.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002706/0.4337, allocations: 0 / 0.6068 GB, free: 5.961 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.01291/0.4466, allocations: 5.121 MB / 0.6118 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.4467, allocations: 8.031 kB / 0.6118 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.458, allocations: 3.223 MB / 0.6149 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006799/0.4648, allocations: 2.334 MB / 0.6172 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.4651, allocations: 250.6 kB / 0.6175 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.4663, allocations: 327.8 kB / 0.6178 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.489, allocations: 12.24 MB / 0.6297 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.4891, allocations: 35.7 kB / 0.6298 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005324/0.4896, allocations: 155.8 kB / 0.6299 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004871/0.4945, allocations: 2.848 MB / 0.6327 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/0.5183, allocations: 11.1 MB / 0.6435 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06593/0.5842, allocations: 37.17 MB / 0.6798 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009598/0.5938, allocations: 3.588 MB / 0.6833 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003585/0.5974, allocations: 2.253 MB / 0.6855 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009583/0.5984, allocations: 449.3 kB / 0.686 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.5984, allocations: 52.56 kB / 0.686 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.151e-06/0.5984, allocations: 0 / 0.686 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04691/0.6454, allocations: 18.5 MB / 0.7041 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.6454, allocations: 85.34 kB / 0.7042 GB, free: 488 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004801/0.6502, allocations: 3.054 MB / 0.7071 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004515/0.6507, allocations: 61.7 kB / 0.7072 GB, free: 13.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00285/0.6535, allocations: 3.275 MB / 0.7104 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001516/0.655, allocations: 1.015 MB / 0.7114 GB, free: 9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/0.6569, allocations: 1.192 MB / 0.7125 GB, free: 7.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6571, allocations: 301.1 kB / 0.7128 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004153/0.6612, allocations: 2.467 MB / 0.7152 GB, free: 5.027 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007009/0.6682, allocations: 5.731 MB / 0.7208 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.6808, allocations: 8.98 MB / 0.7296 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/0.6809, allocations: 32 kB / 0.7296 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.3309/1.012, allocations: 8.993 MB / 0.7384 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/1.012, allocations: 59.28 kB / 0.7385 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.012, allocations: 110.7 kB / 0.7386 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/1.015, allocations: 1.051 MB / 0.7396 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/1.019, allocations: 1.349 MB / 0.7409 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/1.025, allocations: 5.365 MB / 0.7462 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/1.03, allocations: 317.8 kB / 0.7465 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008196/1.031, allocations: 348 kB / 0.7468 GB, free: 146.8 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.004128/1.035, allocations: 2.401 MB / 0.7491 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/1.035, allocations: 300.9 kB / 0.7494 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007574/1.043, allocations: 5.348 MB / 0.7547 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/1.043, allocations: 14.5 kB / 0.7547 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.043, allocations: 0 / 0.7547 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/1.044, allocations: 253.4 kB / 0.7549 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/1.044, allocations: 36 kB / 0.7549 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.045, allocations: 143.8 kB / 0.7551 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/1.045, allocations: 145.3 kB / 0.7552 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006705/1.052, allocations: 4.717 MB / 0.7598 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006551/1.059, allocations: 6.943 MB / 0.7666 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001664/1.06, allocations: 1.769 MB / 0.7683 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001969/1.062, allocations: 1.722 MB / 0.77 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of Backend: time 3e-07/1.062, allocations: 4.766 kB / 0.77 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006717/1.069, allocations: 4.259 MB / 0.7742 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01405/1.083, allocations: 10.27 MB / 0.7842 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.06838/1.151, allocations: 50.67 MB / 0.8337 GB, free: 62.35 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/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.307793765001406]