Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 109 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3333/0.3333, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 71.88 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3542, allocations: 62 MB / 0.5151 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02803/0.3823, allocations: 37.72 MB / 0.552 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.3996, allocations: 7.625 MB / 0.5594 GB, free: 5.848 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008711/0.4084, allocations: 153.6 kB / 0.5596 GB, free: 5.828 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004574/0.413, allocations: 2.008 MB / 0.5615 GB, free: 4.895 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.4165, allocations: 1.071 MB / 0.5626 GB, free: 4.457 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.4176, allocations: 265.2 kB / 0.5628 GB, free: 4.344 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005822/0.4234, allocations: 3.484 MB / 0.5662 GB, free: 3.305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004371/0.4278, allocations: 2.305 MB / 0.5685 GB, free: 2.047 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.4299, allocations: 0.7988 MB / 0.5693 GB, free: 1.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.4324, allocations: 1.255 MB / 0.5705 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007805/0.4332, allocations: 148 kB / 0.5706 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.435, allocations: 0.6903 MB / 0.5713 GB, free: 15.9 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.4369, allocations: 1.11 MB / 0.5724 GB, free: 14.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002544/0.4395, allocations: 1.316 MB / 0.5737 GB, free: 13.46 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.445, allocations: 4.248 MB / 0.5778 GB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.445, allocations: 0 / 0.5778 GB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.445, allocations: 0 / 0.5778 GB, free: 9.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001892/0.4452, allocations: 0 / 0.5778 GB, free: 9.199 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.007234/0.4525, allocations: 2.939 MB / 0.5807 GB, free: 6.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4525, allocations: 19.97 kB / 0.5807 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/0.4578, allocations: 1.576 MB / 0.5823 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.4607, allocations: 1.344 MB / 0.5836 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.4609, allocations: 152.1 kB / 0.5837 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004953/0.4614, allocations: 199.8 kB / 0.5839 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.4726, allocations: 6.436 MB / 0.5902 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/0.4727, allocations: 11.88 kB / 0.5902 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004488/0.4732, allocations: 91.89 kB / 0.5903 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00328/0.4765, allocations: 1.403 MB / 0.5917 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.4905, allocations: 5.488 MB / 0.597 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04186/0.5324, allocations: 20.56 MB / 0.6171 GB, free: 8 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/0.5379, allocations: 2.082 MB / 0.6191 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008495/0.5387, allocations: 0.6914 MB / 0.6198 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006173/0.5449, allocations: 3.507 MB / 0.6232 GB, free: 9.453 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.545, allocations: 35 kB / 0.6233 GB, free: 9.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 2.975e-06/0.545, allocations: 0 / 0.6233 GB, free: 9.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.004856/0.5499, allocations: 1.981 MB / 0.6252 GB, free: 7.418 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.5499, allocations: 63.84 kB / 0.6253 GB, free: 7.344 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.5523, allocations: 1.962 MB / 0.6272 GB, free: 5.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.5524, allocations: 33.7 kB / 0.6272 GB, free: 5.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.5534, allocations: 1.879 MB / 0.629 GB, free: 3.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.5536, allocations: 316 kB / 0.6293 GB, free: 3.117 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006693/0.5543, allocations: 0.6269 MB / 0.63 GB, free: 2.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5544, allocations: 353.9 kB / 0.6303 GB, free: 2.129 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.5556, allocations: 0.8881 MB / 0.6312 GB, free: 1.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/0.5579, allocations: 2.785 MB / 0.6339 GB, free: 13.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/0.5617, allocations: 3.997 MB / 0.6378 GB, free: 8.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.798e-05/0.5618, allocations: 23.94 kB / 0.6378 GB, free: 8.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.0047/0.5665, allocations: 3.538 MB / 0.6413 GB, free: 5.004 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.5665, allocations: 40.03 kB / 0.6413 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.643e-05/0.5666, allocations: 64 kB / 0.6414 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.04e-05/0.5667, allocations: 95.92 kB / 0.6415 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.5684, allocations: 0.6628 MB / 0.6421 GB, free: 4.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-05/0.5685, allocations: 131.5 kB / 0.6422 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.5702, allocations: 427.4 kB / 0.6426 GB, free: 3.594 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.5704, allocations: 192 kB / 0.6428 GB, free: 3.406 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001818/0.5722, allocations: 1.373 MB / 0.6442 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.5725, allocations: 153.9 kB / 0.6443 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.5728, allocations: 197.2 kB / 0.6445 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.5729, allocations: 8 kB / 0.6445 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5729, allocations: 0 / 0.6445 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5729, allocations: 3.984 kB / 0.6445 GB, free: 1.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006553/0.5795, allocations: 4.145 MB / 0.6486 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5795, allocations: 4 kB / 0.6486 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.58, allocations: 99.88 kB / 0.6487 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.58, allocations: 8 kB / 0.6487 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.5801, allocations: 20.64 kB / 0.6487 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.406e-05/0.5801, allocations: 15.92 kB / 0.6487 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.5801, allocations: 15.94 kB / 0.6487 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.5828, allocations: 2.545 MB / 0.6512 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.5832, allocations: 250.7 kB / 0.6514 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.5833, allocations: 19.98 kB / 0.6515 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.5839, allocations: 31.89 kB / 0.6515 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.584, allocations: 51.77 kB / 0.6515 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.687e-05/0.5841, allocations: 31.98 kB / 0.6516 GB, free: 10.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.5857, allocations: 1.287 MB / 0.6528 GB, free: 8.863 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5857, allocations: 0 / 0.6528 GB, free: 8.863 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002812/0.5885, allocations: 0.7076 MB / 0.6535 GB, free: 8.152 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 (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.0004005/0.589, allocations: 143 kB / 0.6536 GB, free: 8.004 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.5922, allocations: 2.036 MB / 0.6556 GB, free: 5.984 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5922, allocations: 0 / 0.6556 GB, free: 5.984 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.5927, allocations: 453.5 kB / 0.6561 GB, free: 5.543 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.5939, allocations: 259.6 kB / 0.6563 GB, free: 5.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.6041, allocations: 7.02 MB / 0.6632 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/0.6069, allocations: 2.339 MB / 0.6655 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002408/0.6093, allocations: 0.9638 MB / 0.6664 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.6097, allocations: 123.4 kB / 0.6665 GB, free: 10.7 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6097, allocations: 4 kB / 0.6665 GB, free: 10.7 MB / 490.7 MB Notification: Performance of Templates: time 0.2401/0.8498, allocations: 14.39 MB / 0.6806 GB, free: 128.1 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches