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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 113.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 182.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 243.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 75.88 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3501, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01733/0.3675, allocations: 15 MB / 0.5342 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.3781, allocations: 4.41 MB / 0.5385 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/0.3814, allocations: 78.84 kB / 0.5386 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.3857, allocations: 2.229 MB / 0.5408 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.3906, allocations: 2.069 MB / 0.5428 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3922, allocations: 0.6148 MB / 0.5434 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005871/0.3981, allocations: 4.289 MB / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00517/0.4033, allocations: 3.158 MB / 0.5507 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003932/0.4072, allocations: 1.612 MB / 0.5523 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004003/0.4113, allocations: 2.223 MB / 0.5544 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001566/0.4129, allocations: 348 kB / 0.5548 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.4161, allocations: 1.045 MB / 0.5558 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002648/0.4187, allocations: 1.995 MB / 0.5577 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004492/0.4232, allocations: 2.403 MB / 0.5601 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.4351, allocations: 7.806 MB / 0.5677 GB, free: 10.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4352, allocations: 0 / 0.5677 GB, free: 10.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4352, allocations: 0 / 0.5677 GB, free: 10.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003617/0.4355, allocations: 0 / 0.5677 GB, free: 10.62 MB / 430.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.01948/0.455, allocations: 5.091 MB / 0.5727 GB, free: 5.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.057e-05/0.4551, allocations: 8.031 kB / 0.5727 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02225/0.4774, allocations: 3.192 MB / 0.5758 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/0.4867, allocations: 2.405 MB / 0.5781 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004976/0.4873, allocations: 254.6 kB / 0.5784 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/0.4896, allocations: 327.7 kB / 0.5787 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03878/0.5284, allocations: 12.23 MB / 0.5906 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/0.5287, allocations: 39.64 kB / 0.5907 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001659/0.5304, allocations: 155.8 kB / 0.5908 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007016/0.5374, allocations: 2.848 MB / 0.5936 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/0.5615, allocations: 11.12 MB / 0.6045 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06731/0.6289, allocations: 40.52 MB / 0.644 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.6394, allocations: 4.694 MB / 0.6486 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/0.6431, allocations: 2.435 MB / 0.651 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.6446, allocations: 1.319 MB / 0.6523 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.6447, allocations: 48.56 kB / 0.6523 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 6.893e-06/0.6447, allocations: 0 / 0.6523 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.04573/0.6904, allocations: 18.69 MB / 0.6706 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.6905, allocations: 73.41 kB / 0.6706 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/0.6965, allocations: 3.172 MB / 0.6737 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002728/0.6968, allocations: 61.69 kB / 0.6738 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002596/0.6994, allocations: 3.11 MB / 0.6768 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.7004, allocations: 0.9713 MB / 0.6778 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/0.7024, allocations: 1.187 MB / 0.6789 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7025, allocations: 313.1 kB / 0.6792 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004046/0.7066, allocations: 2.459 MB / 0.6816 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007514/0.7141, allocations: 5.735 MB / 0.6872 GB, free: 12.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/0.7271, allocations: 8.984 MB / 0.696 GB, free: 1.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/0.7273, allocations: 32 kB / 0.6961 GB, free: 1.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01806/0.7454, allocations: 9.004 MB / 0.7048 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.7455, allocations: 52 kB / 0.7049 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/0.7457, allocations: 116 kB / 0.705 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.7489, allocations: 1.047 MB / 0.706 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/0.7536, allocations: 1.353 MB / 0.7073 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/0.7614, allocations: 5.541 MB / 0.7128 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/0.7653, allocations: 319.8 kB / 0.7131 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008279/0.7661, allocations: 347.9 kB / 0.7134 GB, free: 15.6 MB / 0.5762 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.004157/0.7703, allocations: 2.409 MB / 0.7157 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006542/0.771, allocations: 312 kB / 0.716 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/0.7811, allocations: 5.368 MB / 0.7213 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.7812, allocations: 11.95 kB / 0.7213 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.7812, allocations: 0 / 0.7213 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/0.7821, allocations: 337.1 kB / 0.7216 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007762/0.7829, allocations: 43.97 kB / 0.7217 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.7844, allocations: 143.9 kB / 0.7218 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.7848, allocations: 133.8 kB / 0.7219 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008761/0.7936, allocations: 4.741 MB / 0.7266 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3029/1.096, allocations: 6.937 MB / 0.7333 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002604/1.099, allocations: 1.923 MB / 0.7352 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002909/1.102, allocations: 1.952 MB / 0.7371 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of Backend: time 6.61e-07/1.102, allocations: 2.156 kB / 0.7371 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.112, allocations: 4.522 MB / 0.7415 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01823/1.131, allocations: 10.1 MB / 0.7514 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.07223/1.203, allocations: 47.43 MB / 0.7977 GB, free: 133 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches