Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.001215/0.001215, allocations: 187.2 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.397/1.397, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2122/0.2122, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3615, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01772/0.3792, allocations: 15.4 MB / 0.5346 GB, free: 8.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.3925, allocations: 5.103 MB / 0.5396 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003967/0.3965, allocations: 123.9 kB / 0.5397 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.4084, allocations: 6.03 MB / 0.5456 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008424/0.4169, allocations: 2.936 MB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.4206, allocations: 1.577 MB / 0.55 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.4317, allocations: 7.726 MB / 0.5575 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01186/0.4436, allocations: 7.468 MB / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00811/0.4518, allocations: 3.003 MB / 0.5678 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007514/0.4594, allocations: 3.883 MB / 0.5716 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002626/0.462, allocations: 0.5859 MB / 0.5721 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.4665, allocations: 1.432 MB / 0.5735 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005117/0.4716, allocations: 3.659 MB / 0.5771 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007234/0.4789, allocations: 3.989 MB / 0.581 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.4944, allocations: 12.1 MB / 0.5928 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4944, allocations: 4 kB / 0.5928 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4944, allocations: 0 / 0.5928 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004817/0.4949, allocations: 4 kB / 0.5928 GB, free: 0.7578 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02823/0.5232, allocations: 8.73 MB / 0.6014 GB, free: 7.934 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.5232, allocations: 8.031 kB / 0.6014 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.5357, allocations: 2.584 MB / 0.6039 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.5469, allocations: 4.704 MB / 0.6085 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/0.5474, allocations: 442.8 kB / 0.6089 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002209/0.5497, allocations: 0.5505 MB / 0.6094 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0382/0.5879, allocations: 17.44 MB / 0.6265 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007564/0.5887, allocations: 75.39 kB / 0.6265 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003767/0.5925, allocations: 267.8 kB / 0.6268 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005552/0.5981, allocations: 3.166 MB / 0.6299 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03026/0.6284, allocations: 13.42 MB / 0.643 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09942/0.7279, allocations: 65.75 MB / 0.7072 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/0.7446, allocations: 5.502 MB / 0.7126 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/0.7482, allocations: 2.118 MB / 0.7146 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5444/1.293, allocations: 9.995 MB / 0.7244 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/1.293, allocations: 54.75 kB / 0.7245 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 1.991e-05/1.293, allocations: 5.156 kB / 0.7245 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03625/1.329, allocations: 14.26 MB / 0.7384 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/1.329, allocations: 153.6 kB / 0.7385 GB, free: 156.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006916/1.336, allocations: 6.379 MB / 0.7448 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/1.336, allocations: 57 kB / 0.7448 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002092/1.338, allocations: 5.241 MB / 0.7499 GB, free: 150.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/1.339, allocations: 0.8263 MB / 0.7507 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/1.34, allocations: 1.696 MB / 0.7524 GB, free: 149 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.972e-05/1.34, allocations: 309 kB / 0.7527 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/1.343, allocations: 2.34 MB / 0.755 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004185/1.347, allocations: 7.77 MB / 0.7626 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007748/1.355, allocations: 10.98 MB / 0.7733 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.279e-05/1.355, allocations: 56 kB / 0.7734 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.0126/1.368, allocations: 9.752 MB / 0.7829 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/1.368, allocations: 84.19 kB / 0.783 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.368, allocations: 200 kB / 0.7831 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/1.368, allocations: 252 kB / 0.7834 GB, free: 113.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005346/1.374, allocations: 1.949 MB / 0.7853 GB, free: 111.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000217/1.374, allocations: 378.5 kB / 0.7857 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00741/1.381, allocations: 411.5 kB / 0.786 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.383, allocations: 0.5268 MB / 0.7866 GB, free: 110.6 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1055): * Single equations (assignments): 1044 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006177/1.389, allocations: 3.405 MB / 0.7899 GB, free: 107.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.39, allocations: 0.5321 MB / 0.7904 GB, free: 106.6 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/1.392, allocations: 0.6287 MB / 0.791 GB, free: 106 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/1.392, allocations: 7.969 kB / 0.791 GB, free: 106 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.392, allocations: 11.92 kB / 0.791 GB, free: 106 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.393, allocations: 0.5486 MB / 0.7916 GB, free: 105.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005051/1.393, allocations: 24 kB / 0.7916 GB, free: 105.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.395, allocations: 87.89 kB / 0.7917 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.395, allocations: 111.9 kB / 0.7918 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003083/1.398, allocations: 2.483 MB / 0.7942 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002413/1.4, allocations: 2.902 MB / 0.797 GB, free: 99.79 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008955/1.401, allocations: 0.9821 MB / 0.798 GB, free: 98.81 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004585/1.406, allocations: 3.98 MB / 0.8019 GB, free: 94.84 MB / 0.5607 GB Notification: Performance of Backend: time 4.11e-07/1.406, allocations: 0 / 0.8019 GB, free: 94.84 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007328/1.413, allocations: 4.76 MB / 0.8065 GB, free: 90.15 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01801/1.431, allocations: 14.73 MB / 0.8209 GB, free: 75.39 MB / 0.5607 GB Notification: Performance of Templates: time 0.08728/1.518, allocations: 53.92 MB / 0.8736 GB, free: 21.76 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches