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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001207/0.001208, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 75.86 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3171, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01021/0.3274, allocations: 9.52 MB / 0.5409 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.3338, allocations: 2.926 MB / 0.5438 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.3355, allocations: 51.97 kB / 0.5438 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.3396, allocations: 2.001 MB / 0.5458 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003228/0.3428, allocations: 1.103 MB / 0.5469 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.3438, allocations: 282.2 kB / 0.5471 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00356/0.3473, allocations: 2.337 MB / 0.5494 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002982/0.3503, allocations: 2.305 MB / 0.5517 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.3518, allocations: 0.8723 MB / 0.5525 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.3537, allocations: 1.156 MB / 0.5537 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006456/0.3544, allocations: 192 kB / 0.5538 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.3561, allocations: 0.6982 MB / 0.5545 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.3574, allocations: 1.118 MB / 0.5556 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.3593, allocations: 1.308 MB / 0.5569 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004968/0.3643, allocations: 4.315 MB / 0.5611 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3643, allocations: 4 kB / 0.5611 GB, free: 3.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3643, allocations: 0 / 0.5611 GB, free: 3.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.3645, allocations: 3.938 kB / 0.5611 GB, free: 3.461 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005851/0.3703, allocations: 2.861 MB / 0.5639 GB, free: 0.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3704, allocations: 16.02 kB / 0.5639 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.3756, allocations: 1.553 MB / 0.5654 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.378, allocations: 1.336 MB / 0.5667 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3781, allocations: 144 kB / 0.5669 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.3787, allocations: 187.8 kB / 0.5671 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009724/0.3884, allocations: 6.246 MB / 0.5732 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.3885, allocations: 11.88 kB / 0.5732 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.3887, allocations: 95.83 kB / 0.5733 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/0.3906, allocations: 1.344 MB / 0.5746 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009196/0.3999, allocations: 5.334 MB / 0.5798 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02333/0.4232, allocations: 20 MB / 0.5993 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/0.4273, allocations: 2.078 MB / 0.6013 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008655/0.4282, allocations: 0.6896 MB / 0.602 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005405/0.4336, allocations: 3.491 MB / 0.6054 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.4337, allocations: 43 kB / 0.6055 GB, free: 4.781 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.4337, allocations: 0 / 0.6055 GB, free: 4.781 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005224/0.4389, allocations: 1.966 MB / 0.6074 GB, free: 2.805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.439, allocations: 55.84 kB / 0.6074 GB, free: 2.738 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.4416, allocations: 1.937 MB / 0.6093 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.4417, allocations: 37.7 kB / 0.6094 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.4429, allocations: 1.832 MB / 0.6112 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.4432, allocations: 316.1 kB / 0.6115 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007187/0.444, allocations: 0.6151 MB / 0.6121 GB, free: 13.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4441, allocations: 361.9 kB / 0.6124 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.4453, allocations: 0.892 MB / 0.6133 GB, free: 12.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.4474, allocations: 2.747 MB / 0.616 GB, free: 9.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0042/0.4517, allocations: 3.966 MB / 0.6198 GB, free: 4.129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-05/0.4517, allocations: 20 kB / 0.6199 GB, free: 4.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005678/0.4574, allocations: 3.529 MB / 0.6233 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.4575, allocations: 32 kB / 0.6233 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.917e-05/0.4576, allocations: 68 kB / 0.6234 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-05/0.4577, allocations: 88 kB / 0.6235 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.4595, allocations: 0.6511 MB / 0.6241 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.136e-05/0.4596, allocations: 135.4 kB / 0.6242 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.4614, allocations: 415.7 kB / 0.6246 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.4617, allocations: 188 kB / 0.6248 GB, free: 15.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.001788/0.4635, allocations: 1.346 MB / 0.6261 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.4637, allocations: 161.8 kB / 0.6263 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.4641, allocations: 192.9 kB / 0.6265 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.4641, allocations: 12 kB / 0.6265 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4641, allocations: 4 kB / 0.6265 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4641, allocations: 3.984 kB / 0.6265 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/0.4698, allocations: 4.065 MB / 0.6305 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.4698, allocations: 8 kB / 0.6305 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.4702, allocations: 95.83 kB / 0.6306 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.4703, allocations: 8.75 kB / 0.6306 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.4703, allocations: 27.91 kB / 0.6306 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.4703, allocations: 15.94 kB / 0.6306 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.4703, allocations: 8 kB / 0.6306 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4717, allocations: 1.23 MB / 0.6318 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.472, allocations: 254.7 kB / 0.6321 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.4722, allocations: 19.94 kB / 0.6321 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.4727, allocations: 23.97 kB / 0.6321 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.4728, allocations: 55.83 kB / 0.6322 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.4728, allocations: 28 kB / 0.6322 GB, free: 7.199 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001553/0.4744, allocations: 1.267 MB / 0.6334 GB, free: 5.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4744, allocations: 0 / 0.6334 GB, free: 5.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002315/0.4767, allocations: 0.6843 MB / 0.6341 GB, free: 5.254 MB / 494.1 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.0002915/0.477, allocations: 143 kB / 0.6342 GB, free: 5.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.4798, allocations: 2.038 MB / 0.6362 GB, free: 3.082 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4798, allocations: 0 / 0.6362 GB, free: 3.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.4804, allocations: 463.9 kB / 0.6367 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.4817, allocations: 251.7 kB / 0.6369 GB, free: 2.387 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008213/0.4899, allocations: 5.309 MB / 0.6421 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.492, allocations: 2.275 MB / 0.6443 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/0.4925, allocations: 139.4 kB / 0.6444 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.4925, allocations: 4 kB / 0.6444 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.04187/0.5344, allocations: 30.13 MB / 0.6739 GB, free: 12.43 MB / 0.5294 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches