Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000944/0.000944, allocations: 201 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.5 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007365/0.0007366, allocations: 92.7 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1768/0.1768, allocations: 44.82 MB / 392 MB, free: 9.293 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 4 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09373, allocations: 62.95 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.2037/0.2975, allocations: 34.12 MB / 0.5486 GB, free: 5.625 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.3133, allocations: 7.254 MB / 0.5557 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005561/0.3189, allocations: 152.6 kB / 0.5559 GB, free: 0.668 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003488/0.3224, allocations: 1.499 MB / 0.5573 GB, free: 148 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009729/0.3322, allocations: 4.413 MB / 0.5616 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.3331, allocations: 240.9 kB / 0.5619 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.3362, allocations: 2.7 MB / 0.5645 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/0.3401, allocations: 2.973 MB / 0.5674 GB, free: 8.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3411, allocations: 0.681 MB / 0.5681 GB, free: 7.477 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.3425, allocations: 1.036 MB / 0.5691 GB, free: 6.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.3428, allocations: 84 kB / 0.5692 GB, free: 6.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3439, allocations: 0.5342 MB / 0.5697 GB, free: 5.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009357/0.3448, allocations: 0.9856 MB / 0.5706 GB, free: 4.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005813/0.3454, allocations: 0.5273 MB / 0.5712 GB, free: 4.297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002975/0.3484, allocations: 3.415 MB / 0.5745 GB, free: 0.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3484, allocations: 3.938 kB / 0.5745 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3484, allocations: 0 / 0.5745 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.3485, allocations: 0 / 0.5745 GB, free: 0.8711 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.003913/0.3525, allocations: 2.451 MB / 0.5769 GB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3525, allocations: 12.03 kB / 0.5769 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004562/0.3571, allocations: 1.634 MB / 0.5785 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.359, allocations: 1.323 MB / 0.5798 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.3591, allocations: 147.7 kB / 0.5799 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.3593, allocations: 191.9 kB / 0.5801 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007912/0.3673, allocations: 6.413 MB / 0.5864 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.3673, allocations: 11.88 kB / 0.5864 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.3675, allocations: 87.91 kB / 0.5865 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.3694, allocations: 1.407 MB / 0.5879 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007813/0.3772, allocations: 5.449 MB / 0.5932 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/0.3992, allocations: 20.58 MB / 0.6133 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/0.4031, allocations: 2.081 MB / 0.6153 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008424/0.404, allocations: 0.6836 MB / 0.616 GB, free: 5.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005325/0.4093, allocations: 3.511 MB / 0.6194 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.4094, allocations: 39 kB / 0.6194 GB, free: 1.594 MB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.4094, allocations: 0 / 0.6194 GB, free: 1.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=78): time 0.00483/0.4142, allocations: 1.966 MB / 0.6214 GB, free: 15.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4143, allocations: 63.8 kB / 0.6214 GB, free: 15.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.4168, allocations: 1.958 MB / 0.6233 GB, free: 13.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.4169, allocations: 33.64 kB / 0.6234 GB, free: 13.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.418, allocations: 1.887 MB / 0.6252 GB, free: 11.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.4183, allocations: 312.1 kB / 0.6255 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4184, allocations: 56 kB / 0.6256 GB, free: 11.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.4187, allocations: 493.3 kB / 0.626 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.4199, allocations: 0.8842 MB / 0.6269 GB, free: 9.883 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/0.4223, allocations: 2.758 MB / 0.6296 GB, free: 6.184 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.4243, allocations: 1.57 MB / 0.6311 GB, free: 4.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-05/0.4243, allocations: 20 kB / 0.6311 GB, free: 4.594 MB / 442.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00499/0.4293, allocations: 3.527 MB / 0.6346 GB, free: 1.059 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.4294, allocations: 33.88 kB / 0.6346 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-05/0.4295, allocations: 68 kB / 0.6347 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.243e-05/0.4296, allocations: 96 kB / 0.6348 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.4314, allocations: 0.6628 MB / 0.6354 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.4315, allocations: 135.5 kB / 0.6355 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.4332, allocations: 423.8 kB / 0.6359 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.4334, allocations: 191.9 kB / 0.6361 GB, free: 15.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (365): * Single equations (assignments): 360 * 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.001753/0.4352, allocations: 1.373 MB / 0.6375 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.4354, allocations: 157.9 kB / 0.6376 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.4357, allocations: 205.2 kB / 0.6378 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.4357, allocations: 8 kB / 0.6378 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4357, allocations: 0 / 0.6378 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4357, allocations: 7.766 kB / 0.6378 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00623/0.442, allocations: 4.133 MB / 0.6419 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.442, allocations: 4 kB / 0.6419 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.4424, allocations: 99.81 kB / 0.642 GB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.4424, allocations: 8.75 kB / 0.642 GB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.4425, allocations: 16 kB / 0.642 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.4425, allocations: 19.89 kB / 0.642 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4425, allocations: 8 kB / 0.642 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.4439, allocations: 1.242 MB / 0.6432 GB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.4443, allocations: 262.5 kB / 0.6435 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.4445, allocations: 20 kB / 0.6435 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.445, allocations: 27.97 kB / 0.6435 GB, free: 7.621 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.4451, allocations: 51.8 kB / 0.6436 GB, free: 7.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.4452, allocations: 28 kB / 0.6436 GB, free: 7.543 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001717/0.4469, allocations: 1.275 MB / 0.6448 GB, free: 6.277 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4469, allocations: 0 / 0.6448 GB, free: 6.277 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002416/0.4493, allocations: 0.6999 MB / 0.6455 GB, free: 5.574 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0002773/0.4496, allocations: 154.9 kB / 0.6457 GB, free: 5.414 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.4526, allocations: 2.02 MB / 0.6476 GB, free: 3.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4526, allocations: 4 kB / 0.6477 GB, free: 3.406 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.4532, allocations: 449.5 kB / 0.6481 GB, free: 2.969 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.4547, allocations: 239.2 kB / 0.6483 GB, free: 2.742 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009186/0.4639, allocations: 6.569 MB / 0.6547 GB, free: 12.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.4663, allocations: 2.324 MB / 0.657 GB, free: 9.699 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.4668, allocations: 151.4 kB / 0.6571 GB, free: 9.551 MB / 474.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4668, allocations: 0 / 0.6571 GB, free: 9.551 MB / 474.7 MB Notification: Performance of Templates: time 0.03957/0.5064, allocations: 30.09 MB / 0.6865 GB, free: 11.5 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches