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.0011/0.0011, allocations: 190.6 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008055/0.0008054, allocations: 99.52 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2923/0.2923, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 12 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2797, allocations: 62.96 MB / 0.5159 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02287/0.3026, allocations: 34.13 MB / 0.5492 GB, free: 12.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01516/0.3178, allocations: 7.238 MB / 0.5563 GB, free: 7.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006098/0.324, allocations: 153 kB / 0.5564 GB, free: 7.949 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004282/0.3283, allocations: 1.512 MB / 0.5579 GB, free: 7.414 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01234/0.3407, allocations: 4.419 MB / 0.5622 GB, free: 5.605 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.3426, allocations: 281.9 kB / 0.5625 GB, free: 5.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004653/0.3473, allocations: 2.725 MB / 0.5651 GB, free: 4.594 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00482/0.3521, allocations: 3.239 MB / 0.5683 GB, free: 2.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.3537, allocations: 0.6856 MB / 0.569 GB, free: 2.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.3556, allocations: 1.029 MB / 0.57 GB, free: 1.863 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004912/0.3561, allocations: 88 kB / 0.5701 GB, free: 1.793 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.3575, allocations: 0.6239 MB / 0.5707 GB, free: 1.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009768/0.3585, allocations: 0.9856 MB / 0.5716 GB, free: 184 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.3601, allocations: 1.151 MB / 0.5728 GB, free: 15.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.3638, allocations: 3.425 MB / 0.5761 GB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3638, allocations: 0 / 0.5761 GB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3638, allocations: 0 / 0.5761 GB, free: 11.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001395/0.364, allocations: 0 / 0.5761 GB, free: 11.58 MB / 394.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.004434/0.3684, allocations: 2.42 MB / 0.5785 GB, free: 9.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3685, allocations: 8.031 kB / 0.5785 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.3734, allocations: 1.635 MB / 0.5801 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.3759, allocations: 1.344 MB / 0.5814 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.376, allocations: 151.8 kB / 0.5815 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005034/0.3765, allocations: 187.9 kB / 0.5817 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009142/0.3857, allocations: 6.428 MB / 0.588 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.3858, allocations: 11.88 kB / 0.588 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002226/0.386, allocations: 87.91 kB / 0.5881 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.388, allocations: 1.403 MB / 0.5894 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009651/0.3977, allocations: 5.464 MB / 0.5948 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02641/0.4241, allocations: 20.57 MB / 0.6149 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.4283, allocations: 2.085 MB / 0.6169 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009883/0.4293, allocations: 0.6859 MB / 0.6176 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006083/0.4354, allocations: 3.51 MB / 0.621 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4355, allocations: 43 kB / 0.621 GB, free: 12.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.507e-06/0.4355, allocations: 0 / 0.621 GB, free: 12.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.004975/0.4405, allocations: 1.97 MB / 0.623 GB, free: 10.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.4405, allocations: 55.84 kB / 0.623 GB, free: 10.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/0.4435, allocations: 1.954 MB / 0.6249 GB, free: 8.289 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.4436, allocations: 37.7 kB / 0.625 GB, free: 8.246 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.4449, allocations: 1.879 MB / 0.6268 GB, free: 6.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.4453, allocations: 316.1 kB / 0.6271 GB, free: 6.023 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.4454, allocations: 56 kB / 0.6272 GB, free: 5.969 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003196/0.4457, allocations: 497.3 kB / 0.6276 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4471, allocations: 0.8764 MB / 0.6285 GB, free: 4.594 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/0.4496, allocations: 2.774 MB / 0.6312 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/0.4538, allocations: 3.974 MB / 0.6351 GB, free: 11.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-05/0.4539, allocations: 20 kB / 0.6351 GB, free: 11.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005197/0.4591, allocations: 3.526 MB / 0.6385 GB, free: 8.414 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.4591, allocations: 36.94 kB / 0.6386 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-05/0.4592, allocations: 71.94 kB / 0.6386 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.489e-05/0.4593, allocations: 84 kB / 0.6387 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.461, allocations: 0.6706 MB / 0.6394 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.189e-05/0.4611, allocations: 131.5 kB / 0.6395 GB, free: 7.426 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.4628, allocations: 419.5 kB / 0.6399 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.4631, allocations: 188 kB / 0.6401 GB, free: 6.828 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.001993/0.4651, allocations: 1.373 MB / 0.6414 GB, free: 5.445 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.4653, allocations: 157.9 kB / 0.6416 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.4657, allocations: 197.2 kB / 0.6418 GB, free: 5.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.4657, allocations: 11.98 kB / 0.6418 GB, free: 5.078 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4657, allocations: 0 / 0.6418 GB, free: 5.078 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.4657, allocations: 3.984 kB / 0.6418 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/0.4724, allocations: 4.149 MB / 0.6458 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.4725, allocations: 4 kB / 0.6458 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.4729, allocations: 99.88 kB / 0.6459 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.4729, allocations: 8 kB / 0.6459 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.473, allocations: 20 kB / 0.646 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/0.473, allocations: 19.92 kB / 0.646 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.473, allocations: 11.88 kB / 0.646 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.4745, allocations: 1.231 MB / 0.6472 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.4749, allocations: 254.6 kB / 0.6474 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.4751, allocations: 23.89 kB / 0.6475 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.4756, allocations: 27.98 kB / 0.6475 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.4757, allocations: 55.77 kB / 0.6475 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.4758, allocations: 24 kB / 0.6476 GB, free: 14.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001903/0.4777, allocations: 1.271 MB / 0.6488 GB, free: 13.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4777, allocations: 4 kB / 0.6488 GB, free: 13.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002421/0.4801, allocations: 0.7153 MB / 0.6495 GB, free: 12.92 MB / 474.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.0003454/0.4805, allocations: 147 kB / 0.6496 GB, free: 12.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.4839, allocations: 2.017 MB / 0.6516 GB, free: 10.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4839, allocations: 1 kB / 0.6516 GB, free: 10.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.4845, allocations: 464 kB / 0.6521 GB, free: 10.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.487, allocations: 225.8 kB / 0.6523 GB, free: 10.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.4974, allocations: 6.577 MB / 0.6587 GB, free: 3.418 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002896/0.5003, allocations: 2.324 MB / 0.661 GB, free: 1.062 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.5008, allocations: 143.4 kB / 0.6611 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5009, allocations: 0 / 0.6611 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of Templates: time 0.2468/0.7476, allocations: 29.98 MB / 0.6904 GB, free: 125 MB / 490.7 MB 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