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.001271/0.001271, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001248/0.001248, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.481/1.481, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2293/0.2293, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.405, allocations: 60.81 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0154/0.4205, allocations: 15.4 MB / 0.5339 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.4316, allocations: 5.102 MB / 0.5389 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004887/0.4365, allocations: 124.2 kB / 0.539 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01235/0.4489, allocations: 6.022 MB / 0.5449 GB, free: 408 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008665/0.4576, allocations: 2.853 MB / 0.5477 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.4612, allocations: 1.582 MB / 0.5493 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.4733, allocations: 7.741 MB / 0.5568 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.4835, allocations: 7.459 MB / 0.5641 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005942/0.4895, allocations: 3.042 MB / 0.5671 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006817/0.4964, allocations: 3.867 MB / 0.5708 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003044/0.4994, allocations: 0.5859 MB / 0.5714 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004339/0.5038, allocations: 1.416 MB / 0.5728 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004917/0.5087, allocations: 3.597 MB / 0.5763 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008897/0.5177, allocations: 3.992 MB / 0.5802 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01973/0.5374, allocations: 12.14 MB / 0.5921 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5375, allocations: 0 / 0.5921 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5375, allocations: 0 / 0.5921 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006741/0.5382, allocations: 4 kB / 0.5921 GB, free: 0.8672 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.02128/0.5595, allocations: 8.971 MB / 0.6008 GB, free: 7.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5595, allocations: 8.031 kB / 0.6008 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.5707, allocations: 2.632 MB / 0.6034 GB, free: 5.137 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.5811, allocations: 4.726 MB / 0.608 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004312/0.5816, allocations: 450.8 kB / 0.6085 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/0.5836, allocations: 0.5505 MB / 0.609 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03727/0.6209, allocations: 17.43 MB / 0.626 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002538/0.6212, allocations: 71.45 kB / 0.6261 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009363/0.6221, allocations: 267.8 kB / 0.6263 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00503/0.6271, allocations: 3.174 MB / 0.6294 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02924/0.6564, allocations: 13.41 MB / 0.6425 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09059/0.747, allocations: 65.88 MB / 0.7069 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/0.7629, allocations: 5.492 MB / 0.7122 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/0.7663, allocations: 2.13 MB / 0.7143 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5599/1.326, allocations: 10.02 MB / 0.7241 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/1.326, allocations: 55.16 kB / 0.7242 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 6.873e-06/1.326, allocations: 0 / 0.7242 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.05888/1.385, allocations: 14.67 MB / 0.7385 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/1.385, allocations: 149.6 kB / 0.7386 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.397, allocations: 6.4 MB / 0.7449 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003753/1.397, allocations: 57.34 kB / 0.7449 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003949/1.401, allocations: 5.438 MB / 0.7502 GB, free: 150.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.402, allocations: 0.8599 MB / 0.7511 GB, free: 149.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/1.405, allocations: 1.714 MB / 0.7528 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/1.405, allocations: 308.8 kB / 0.7531 GB, free: 148.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00468/1.409, allocations: 2.343 MB / 0.7553 GB, free: 147.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007512/1.417, allocations: 7.764 MB / 0.7629 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.431, allocations: 10.99 MB / 0.7737 GB, free: 124 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000298/1.431, allocations: 56 kB / 0.7737 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.0254/1.457, allocations: 9.784 MB / 0.7833 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003218/1.457, allocations: 84 kB / 0.7833 GB, free: 114 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004391/1.458, allocations: 196 kB / 0.7835 GB, free: 113.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/1.458, allocations: 252 kB / 0.7838 GB, free: 113.6 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009399/1.467, allocations: 1.945 MB / 0.7857 GB, free: 111.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004423/1.468, allocations: 378.5 kB / 0.786 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009863/1.478, allocations: 423.8 kB / 0.7864 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/1.48, allocations: 0.5194 MB / 0.7869 GB, free: 110.3 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.006642/1.486, allocations: 3.404 MB / 0.7903 GB, free: 106.9 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.487, allocations: 0.5587 MB / 0.7908 GB, free: 106.4 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/1.488, allocations: 0.6248 MB / 0.7914 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/1.489, allocations: 24 kB / 0.7915 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.489, allocations: 3.938 kB / 0.7915 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.489, allocations: 11.91 kB / 0.7915 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/1.511, allocations: 16.73 MB / 0.8078 GB, free: 88.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-05/1.511, allocations: 39.98 kB / 0.8078 GB, free: 88.36 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.512, allocations: 379.3 kB / 0.8082 GB, free: 87.99 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-05/1.512, allocations: 52 kB / 0.8083 GB, free: 87.94 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.512, allocations: 87.92 kB / 0.8083 GB, free: 87.86 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.373e-05/1.512, allocations: 75.72 kB / 0.8084 GB, free: 87.79 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.839e-05/1.512, allocations: 64.77 kB / 0.8085 GB, free: 87.72 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003873/1.516, allocations: 3.982 MB / 0.8124 GB, free: 83.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/1.517, allocations: 0.6377 MB / 0.813 GB, free: 82.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/1.518, allocations: 99.95 kB / 0.8131 GB, free: 82.44 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.52, allocations: 99.94 kB / 0.8132 GB, free: 82.34 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.52, allocations: 258.8 kB / 0.8134 GB, free: 82.09 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.52, allocations: 108 kB / 0.8135 GB, free: 81.98 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005499/1.525, allocations: 3.984 MB / 0.8174 GB, free: 78.01 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.11e-07/1.525, allocations: 0 / 0.8174 GB, free: 78.01 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008475/1.534, allocations: 1.374 MB / 0.8188 GB, free: 76.64 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * Number of states: 0 () * 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 (201): * Single equations (assignments): 198 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0005952/1.535, allocations: 246.2 kB / 0.819 GB, free: 76.39 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00741/1.542, allocations: 5.471 MB / 0.8243 GB, free: 70.97 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.653e-05/1.542, allocations: 8 kB / 0.8243 GB, free: 70.96 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.543, allocations: 1.134 MB / 0.8255 GB, free: 69.84 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/1.549, allocations: 0.8829 MB / 0.8263 GB, free: 68.96 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02253/1.571, allocations: 15.45 MB / 0.8414 GB, free: 52.93 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007761/1.579, allocations: 5.238 MB / 0.8465 GB, free: 47.66 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005778/1.585, allocations: 2.542 MB / 0.849 GB, free: 45.11 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.586, allocations: 351.4 kB / 0.8493 GB, free: 44.77 MB / 0.5607 GB Notification: Performance of SimCode: time 1.843e-06/1.586, allocations: 0 / 0.8493 GB, free: 44.77 MB / 0.5607 GB Notification: Performance of Templates: time 0.07476/1.661, allocations: 39.39 MB / 0.8878 GB, free: 5.711 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/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