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.0009276/0.0009274, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.272/1.272, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008055/0.0008053, allocations: 76.27 kB / 271.2 MB, free: 8.266 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.3339/0.3339, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004072, allocations: 12 kB / 432 MB, free: 5.621 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 58.85 MB / 490.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2281/0.3403, allocations: 34.85 MB / 0.5133 GB, free: 25.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.3581, allocations: 7.262 MB / 0.5204 GB, free: 20.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007564/0.3657, allocations: 156.7 kB / 0.5206 GB, free: 20.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005016/0.3708, allocations: 1.518 MB / 0.5221 GB, free: 20.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.3835, allocations: 4.466 MB / 0.5264 GB, free: 18.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.3855, allocations: 278.4 kB / 0.5267 GB, free: 18.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003212/0.3887, allocations: 2.825 MB / 0.5295 GB, free: 17.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.3922, allocations: 3.259 MB / 0.5326 GB, free: 15.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3932, allocations: 0.7318 MB / 0.5334 GB, free: 15.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.3945, allocations: 1.113 MB / 0.5344 GB, free: 15.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.3947, allocations: 93.38 kB / 0.5345 GB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009841/0.3957, allocations: 0.629 MB / 0.5351 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007155/0.3965, allocations: 1.048 MB / 0.5362 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008332/0.3973, allocations: 1.214 MB / 0.5374 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.4012, allocations: 3.617 MB / 0.5409 GB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4012, allocations: 0 / 0.5409 GB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4012, allocations: 0 / 0.5409 GB, free: 13.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001617/0.4014, allocations: 0 / 0.5409 GB, free: 13.23 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.005025/0.4064, allocations: 2.53 MB / 0.5434 GB, free: 11.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.4065, allocations: 9.25 kB / 0.5434 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/0.4122, allocations: 1.651 MB / 0.545 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/0.4155, allocations: 1.394 MB / 0.5463 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.4157, allocations: 152.9 kB / 0.5465 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006705/0.4163, allocations: 205.4 kB / 0.5467 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.4269, allocations: 6.761 MB / 0.5533 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.427, allocations: 13.38 kB / 0.5533 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.4273, allocations: 96.64 kB / 0.5534 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.4294, allocations: 1.48 MB / 0.5548 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.4402, allocations: 5.78 MB / 0.5605 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/0.4691, allocations: 21.6 MB / 0.5816 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.4738, allocations: 2.244 MB / 0.5838 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.475, allocations: 0.7856 MB / 0.5845 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006634/0.4816, allocations: 3.743 MB / 0.5882 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.4817, allocations: 39.12 kB / 0.5882 GB, free: 5.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=93): time 4.298e-06/0.4817, allocations: 4 kB / 0.5882 GB, free: 5.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.005444/0.4872, allocations: 2.185 MB / 0.5904 GB, free: 3.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.4873, allocations: 63.97 kB / 0.5904 GB, free: 2.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.49, allocations: 2.016 MB / 0.5924 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.4901, allocations: 37.7 kB / 0.5924 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.4913, allocations: 1.962 MB / 0.5943 GB, free: 14.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.4916, allocations: 359.3 kB / 0.5947 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.4918, allocations: 68 kB / 0.5947 GB, free: 14.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.492, allocations: 0.49 MB / 0.5952 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4934, allocations: 0.951 MB / 0.5962 GB, free: 13.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.4959, allocations: 2.91 MB / 0.599 GB, free: 9.125 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/0.5004, allocations: 4.233 MB / 0.6031 GB, free: 3.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.945e-05/0.5004, allocations: 24 kB / 0.6032 GB, free: 3.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005861/0.5063, allocations: 3.753 MB / 0.6068 GB, free: 152 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.5064, allocations: 36 kB / 0.6069 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.017e-05/0.5065, allocations: 68 kB / 0.6069 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.5066, allocations: 95.98 kB / 0.607 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.5085, allocations: 0.7095 MB / 0.6077 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001028/0.5086, allocations: 136 kB / 0.6078 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.5106, allocations: 451.2 kB / 0.6083 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.5108, allocations: 204 kB / 0.6085 GB, free: 14.46 MB / 442.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.002362/0.5132, allocations: 1.42 MB / 0.6098 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.5135, allocations: 169.8 kB / 0.61 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.5154, allocations: 1.185 MB / 0.6112 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.5154, allocations: 12 kB / 0.6112 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5154, allocations: 0 / 0.6112 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5154, allocations: 7.922 kB / 0.6112 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/0.523, allocations: 4.979 MB / 0.616 GB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.523, allocations: 8 kB / 0.6161 GB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.5235, allocations: 139.9 kB / 0.6162 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/0.5236, allocations: 19.88 kB / 0.6162 GB, free: 6.316 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.5236, allocations: 27.98 kB / 0.6162 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.5236, allocations: 15.94 kB / 0.6162 GB, free: 6.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.5237, allocations: 15.94 kB / 0.6163 GB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.5254, allocations: 1.497 MB / 0.6177 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.5258, allocations: 274.5 kB / 0.618 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.526, allocations: 27.92 kB / 0.618 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.5265, allocations: 39.95 kB / 0.618 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5266, allocations: 75.69 kB / 0.6181 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/0.5267, allocations: 32 kB / 0.6182 GB, free: 4.156 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001825/0.5285, allocations: 1.316 MB / 0.6194 GB, free: 2.816 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5286, allocations: 0 / 0.6194 GB, free: 2.816 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002579/0.5311, allocations: 0.7504 MB / 0.6202 GB, free: 2.062 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.000352/0.5315, allocations: 154.9 kB / 0.6203 GB, free: 1.902 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003496/0.535, allocations: 2.217 MB / 0.6225 GB, free: 15.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.535, allocations: 320 / 0.6225 GB, free: 15.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.5357, allocations: 0.5328 MB / 0.623 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.5389, allocations: 244.3 kB / 0.6232 GB, free: 14.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.5495, allocations: 7.078 MB / 0.6301 GB, free: 7.691 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/0.552, allocations: 2.407 MB / 0.6325 GB, free: 5.262 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/0.5525, allocations: 159.4 kB / 0.6327 GB, free: 5.105 MB / 458.7 MB Notification: Performance of SimCode: time 2.014e-06/0.5525, allocations: 0 / 0.6327 GB, free: 5.105 MB / 458.7 MB Notification: Performance of Templates: time 0.04966/0.6022, allocations: 31.86 MB / 0.6638 GB, free: 5.273 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