Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 179.3 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008095/0.0008093, allocations: 97.03 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3751/0.3751, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2745/0.3929, allocations: 34.83 MB / 0.5128 GB, free: 25.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02066/0.4136, allocations: 7.267 MB / 0.5199 GB, free: 20.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01302/0.4267, allocations: 153.6 kB / 0.52 GB, free: 20.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006647/0.4334, allocations: 1.518 MB / 0.5215 GB, free: 20.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.4482, allocations: 4.446 MB / 0.5258 GB, free: 18.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.4503, allocations: 250.8 kB / 0.5261 GB, free: 18.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003924/0.4542, allocations: 2.781 MB / 0.5288 GB, free: 17.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004785/0.459, allocations: 3 MB / 0.5317 GB, free: 16.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.4607, allocations: 0.7332 MB / 0.5324 GB, free: 16.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.4625, allocations: 1.114 MB / 0.5335 GB, free: 15.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006602/0.4631, allocations: 97.34 kB / 0.5336 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.4648, allocations: 0.5289 MB / 0.5341 GB, free: 15.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.4662, allocations: 1.051 MB / 0.5352 GB, free: 15.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009622/0.4672, allocations: 0.5442 MB / 0.5357 GB, free: 14.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005037/0.4722, allocations: 3.619 MB / 0.5392 GB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4722, allocations: 0 / 0.5392 GB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4722, allocations: 0 / 0.5392 GB, free: 14.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002306/0.4725, allocations: 0 / 0.5392 GB, free: 14.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.007579/0.4801, allocations: 2.555 MB / 0.5417 GB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.4801, allocations: 9.906 kB / 0.5417 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006317/0.4865, allocations: 1.653 MB / 0.5433 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.4902, allocations: 1.373 MB / 0.5447 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.4904, allocations: 157.1 kB / 0.5448 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.4915, allocations: 196.8 kB / 0.545 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.5058, allocations: 6.761 MB / 0.5516 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.506, allocations: 17.88 kB / 0.5516 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007326/0.5067, allocations: 100.2 kB / 0.5517 GB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002785/0.5095, allocations: 1.472 MB / 0.5532 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.5219, allocations: 5.788 MB / 0.5588 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03478/0.5567, allocations: 21.58 MB / 0.5799 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004971/0.5617, allocations: 2.255 MB / 0.5821 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.563, allocations: 0.7737 MB / 0.5829 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007071/0.5701, allocations: 3.744 MB / 0.5865 GB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5702, allocations: 39.12 kB / 0.5866 GB, free: 6.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=93): time 4.057e-06/0.5702, allocations: 0 / 0.5866 GB, free: 6.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.006116/0.5763, allocations: 2.185 MB / 0.5887 GB, free: 4.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.5764, allocations: 59.97 kB / 0.5887 GB, free: 4.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.58, allocations: 2.016 MB / 0.5907 GB, free: 2.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.5801, allocations: 37.7 kB / 0.5907 GB, free: 2.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.5818, allocations: 1.964 MB / 0.5927 GB, free: 492 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/0.5821, allocations: 363.3 kB / 0.593 GB, free: 124 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.5823, allocations: 60 kB / 0.5931 GB, free: 64 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003828/0.5827, allocations: 0.4979 MB / 0.5936 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.5843, allocations: 0.9587 MB / 0.5945 GB, free: 14.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/0.5874, allocations: 2.91 MB / 0.5973 GB, free: 10.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.5901, allocations: 1.663 MB / 0.599 GB, free: 9.051 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-05/0.5902, allocations: 20 kB / 0.599 GB, free: 9.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007013/0.5972, allocations: 3.761 MB / 0.6027 GB, free: 5.266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.5973, allocations: 34.81 kB / 0.6027 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/0.5974, allocations: 72 kB / 0.6028 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.5976, allocations: 104 kB / 0.6029 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.5998, allocations: 0.7135 MB / 0.6035 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.5999, allocations: 131.5 kB / 0.6037 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.6023, allocations: 447.3 kB / 0.6041 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/0.6027, allocations: 199.9 kB / 0.6043 GB, free: 3.586 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (391): * Single equations (assignments): 386 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002626/0.6053, allocations: 1.427 MB / 0.6057 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.6057, allocations: 169.8 kB / 0.6058 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.6077, allocations: 1.185 MB / 0.607 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.6077, allocations: 15.94 kB / 0.607 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6078, allocations: 0 / 0.607 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6078, allocations: 3.984 kB / 0.607 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009023/0.6168, allocations: 4.974 MB / 0.6119 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.6169, allocations: 8 kB / 0.6119 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.6174, allocations: 135.7 kB / 0.612 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/0.6174, allocations: 16 kB / 0.612 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.6175, allocations: 28.67 kB / 0.6121 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.861e-05/0.6175, allocations: 19.94 kB / 0.6121 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.6175, allocations: 19.88 kB / 0.6121 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.6195, allocations: 1.497 MB / 0.6136 GB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.6201, allocations: 278.4 kB / 0.6138 GB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.6204, allocations: 24 kB / 0.6139 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/0.621, allocations: 47.97 kB / 0.6139 GB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6212, allocations: 75.7 kB / 0.614 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.6212, allocations: 39.98 kB / 0.614 GB, free: 9.254 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002158/0.6234, allocations: 1.312 MB / 0.6153 GB, free: 7.918 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6234, allocations: 0 / 0.6153 GB, free: 7.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003014/0.6264, allocations: 0.7466 MB / 0.616 GB, free: 7.168 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003492/0.6268, allocations: 162.8 kB / 0.6162 GB, free: 6.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003666/0.6305, allocations: 2.207 MB / 0.6183 GB, free: 4.809 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6305, allocations: 1.812 kB / 0.6183 GB, free: 4.809 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.6312, allocations: 0.5361 MB / 0.6189 GB, free: 4.273 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6326, allocations: 240 kB / 0.6191 GB, free: 4.035 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6435, allocations: 7.067 MB / 0.626 GB, free: 12.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/0.6461, allocations: 2.409 MB / 0.6283 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/0.6466, allocations: 159.4 kB / 0.6285 GB, free: 10.23 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6466, allocations: 4 kB / 0.6285 GB, free: 10.22 MB / 458.7 MB Notification: Performance of Templates: time 0.0516/0.6983, allocations: 31.97 MB / 0.6597 GB, free: 10.28 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches