Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001205, allocations: 101.3 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 194.3 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3718/0.3718, allocations: 43.49 MB / 313.6 MB, free: 8.234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 63.91 kB / 382.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 57.79 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3614/0.5258, allocations: 101 MB / 0.5283 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06458/0.5904, allocations: 19.05 MB / 0.5469 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03421/0.6247, allocations: 445.8 kB / 0.5473 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0128/0.6375, allocations: 5.869 MB / 0.5531 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.6501, allocations: 2.87 MB / 0.5559 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005643/0.6558, allocations: 1.508 MB / 0.5573 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01475/0.6705, allocations: 8.228 MB / 0.5654 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01514/0.6857, allocations: 8.027 MB / 0.5732 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007485/0.6933, allocations: 3.306 MB / 0.5764 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009324/0.7026, allocations: 4.658 MB / 0.581 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003586/0.7063, allocations: 0.6406 MB / 0.5816 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006012/0.7123, allocations: 1.483 MB / 0.5831 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009238/0.7216, allocations: 3.897 MB / 0.5869 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01218/0.7338, allocations: 4.323 MB / 0.5911 GB, free: 6.129 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02317/0.7571, allocations: 12.71 MB / 0.6035 GB, free: 9.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7571, allocations: 0 / 0.6035 GB, free: 9.379 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.7571, allocations: 0 / 0.6035 GB, free: 9.379 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006461/0.7578, allocations: 3.938 kB / 0.6035 GB, free: 9.375 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.03045/0.7883, allocations: 9.248 MB / 0.6125 GB, free: 40 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.7884, allocations: 15.89 kB / 0.6126 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.8011, allocations: 2.667 MB / 0.6152 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/0.8154, allocations: 4.95 MB / 0.62 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007146/0.8161, allocations: 463.9 kB / 0.6204 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003862/0.82, allocations: 0.5971 MB / 0.621 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6472/1.467, allocations: 18.73 MB / 0.6393 GB, free: 51.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000271/1.468, allocations: 72.11 kB / 0.6394 GB, free: 51.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009856/1.469, allocations: 282.6 kB / 0.6396 GB, free: 51.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004662/1.473, allocations: 3.455 MB / 0.643 GB, free: 51.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03412/1.507, allocations: 14.6 MB / 0.6573 GB, free: 51.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08869/1.596, allocations: 70.58 MB / 0.7262 GB, free: 7.43 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/1.615, allocations: 6.13 MB / 0.7322 GB, free: 1.172 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003876/1.619, allocations: 2.453 MB / 0.7346 GB, free: 14.71 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02035/1.639, allocations: 10.83 MB / 0.7452 GB, free: 3.52 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/1.639, allocations: 60.5 kB / 0.7452 GB, free: 3.453 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=238): time 5.11e-06/1.639, allocations: 0 / 0.7452 GB, free: 3.453 MB / 0.5138 GB Notification: Performance of matching and sorting (n=262): time 0.04682/1.686, allocations: 15.85 MB / 0.7607 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.686, allocations: 159.9 kB / 0.7609 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/1.697, allocations: 6.638 MB / 0.7673 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006516/1.698, allocations: 73.2 kB / 0.7674 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004673/1.702, allocations: 5.524 MB / 0.7728 GB, free: 7.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.704, allocations: 1.016 MB / 0.7738 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002744/1.707, allocations: 1.836 MB / 0.7756 GB, free: 4.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.707, allocations: 305.1 kB / 0.7759 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004374/1.711, allocations: 2.653 MB / 0.7785 GB, free: 1.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008648/1.72, allocations: 8.369 MB / 0.7866 GB, free: 6.367 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01496/1.735, allocations: 12 MB / 0.7984 GB, free: 8.383 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00017/1.735, allocations: 60 kB / 0.7984 GB, free: 8.324 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02339/1.758, allocations: 10.73 MB / 0.8089 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/1.759, allocations: 93.64 kB / 0.809 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003993/1.759, allocations: 200 kB / 0.8092 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/1.759, allocations: 268 kB / 0.8094 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007238/1.767, allocations: 2.147 MB / 0.8115 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003163/1.767, allocations: 392.8 kB / 0.8119 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007418/1.774, allocations: 457.6 kB / 0.8123 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/1.776, allocations: 0.5572 MB / 0.8129 GB, free: 11 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.006946/1.783, allocations: 3.62 MB / 0.8164 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/1.784, allocations: 0.5668 MB / 0.817 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/1.789, allocations: 2.801 MB / 0.8197 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/1.789, allocations: 30.89 kB / 0.8197 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.789, allocations: 0 / 0.8197 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/1.789, allocations: 15.95 kB / 0.8197 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04/1.829, allocations: 26.56 MB / 0.8457 GB, free: 9.164 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.788e-05/1.83, allocations: 56 kB / 0.8457 GB, free: 9.109 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.831, allocations: 0.5212 MB / 0.8462 GB, free: 8.637 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-05/1.831, allocations: 68 kB / 0.8463 GB, free: 8.57 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/1.832, allocations: 124 kB / 0.8464 GB, free: 8.449 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.857e-05/1.832, allocations: 106.5 kB / 0.8465 GB, free: 8.367 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.394e-05/1.832, allocations: 83.81 kB / 0.8466 GB, free: 8.309 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00726/1.839, allocations: 5.236 MB / 0.8517 GB, free: 2.297 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.841, allocations: 0.6718 MB / 0.8524 GB, free: 1.602 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009158/1.842, allocations: 130.8 kB / 0.8525 GB, free: 1.477 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/1.844, allocations: 135.9 kB / 0.8526 GB, free: 1.344 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/1.845, allocations: 360.4 kB / 0.853 GB, free: 1.035 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/1.845, allocations: 150.9 kB / 0.8531 GB, free: 0.8906 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.2927/2.138, allocations: 4.15 MB / 0.8572 GB, free: 255.1 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.022e-06/2.138, allocations: 2.938 kB / 0.8572 GB, free: 255.1 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01036/2.148, allocations: 1.504 MB / 0.8586 GB, free: 255.1 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.000736/2.149, allocations: 305.5 kB / 0.8589 GB, free: 255 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.009631/2.159, allocations: 6.351 MB / 0.8651 GB, free: 254.5 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-05/2.159, allocations: 9.062 kB / 0.8651 GB, free: 254.5 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/2.161, allocations: 1.499 MB / 0.8666 GB, free: 254 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006289/2.167, allocations: 0.9213 MB / 0.8675 GB, free: 253.7 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03781/2.205, allocations: 21.02 MB / 0.888 GB, free: 241.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01293/2.218, allocations: 5.587 MB / 0.8935 GB, free: 239.5 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.0121/2.23, allocations: 2.782 MB / 0.8962 GB, free: 239.2 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/2.233, allocations: 398.3 kB / 0.8966 GB, free: 239.2 MB / 0.6232 GB Notification: Performance of SimCode: time 1.684e-06/2.233, allocations: 0 / 0.8966 GB, free: 239.2 MB / 0.6232 GB Notification: Performance of Templates: time 0.1115/2.344, allocations: 48.89 MB / 0.9443 GB, free: 215.3 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches