Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001105/0.001105, allocations: 93.61 kB / 18 MB, free: 5.738 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.001279/0.001279, allocations: 175.7 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 243 MB, free: 116 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2058/0.2058, allocations: 44.25 MB / 338.3 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8.5 kB / 411 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 61.92 MB / 472.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3516/0.4713, allocations: 97.07 MB / 0.5566 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04829/0.5197, allocations: 18.87 MB / 0.575 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02064/0.5404, allocations: 442.9 kB / 0.5755 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.5432, allocations: 0.6568 MB / 0.5761 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007911/0.5511, allocations: 2.71 MB / 0.5788 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.5545, allocations: 1.261 MB / 0.58 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01397/0.5685, allocations: 11.22 MB / 0.5909 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01586/0.5844, allocations: 10.44 MB / 0.6011 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004861/0.5893, allocations: 2.257 MB / 0.6033 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005761/0.5951, allocations: 3.554 MB / 0.6068 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.5968, allocations: 256 kB / 0.6071 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.6001, allocations: 1.166 MB / 0.6082 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004454/0.6046, allocations: 3.214 MB / 0.6113 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006198/0.6108, allocations: 3.514 MB / 0.6148 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.6222, allocations: 9.274 MB / 0.6238 GB, free: 9.578 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.6223, allocations: 4 kB / 0.6238 GB, free: 9.574 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.449e-06/0.6223, allocations: 3.938 kB / 0.6238 GB, free: 9.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004686/0.6228, allocations: 0 / 0.6238 GB, free: 9.57 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01597/0.6387, allocations: 7.187 MB / 0.6309 GB, free: 2.297 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6388, allocations: 11.97 kB / 0.6309 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.65, allocations: 2.642 MB / 0.6334 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009713/0.6597, allocations: 4.583 MB / 0.6379 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005181/0.6603, allocations: 443.2 kB / 0.6383 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002204/0.6625, allocations: 0.5504 MB / 0.6389 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0362/0.6987, allocations: 17.49 MB / 0.656 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004265/0.6992, allocations: 67.34 kB / 0.656 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/0.7012, allocations: 279.8 kB / 0.6563 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005418/0.7067, allocations: 3.17 MB / 0.6594 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03099/0.7377, allocations: 13.45 MB / 0.6725 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5847/1.322, allocations: 65.99 MB / 0.737 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/1.339, allocations: 5.51 MB / 0.7423 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/1.342, allocations: 2.122 MB / 0.7444 GB, free: 141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/1.358, allocations: 10 MB / 0.7542 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/1.358, allocations: 62.5 kB / 0.7542 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.36e-06/1.358, allocations: 0 / 0.7542 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03535/1.393, allocations: 14.34 MB / 0.7682 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.393, allocations: 146 kB / 0.7684 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/1.401, allocations: 6.379 MB / 0.7746 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003747/1.402, allocations: 60.42 kB / 0.7747 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002805/1.404, allocations: 5.234 MB / 0.7798 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008716/1.405, allocations: 0.8237 MB / 0.7806 GB, free: 120 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009252/1.406, allocations: 0.7475 MB / 0.7813 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.434e-05/1.406, allocations: 302.8 kB / 0.7816 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/1.41, allocations: 2.348 MB / 0.7839 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/1.415, allocations: 7.768 MB / 0.7915 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009723/1.425, allocations: 10.99 MB / 0.8022 GB, free: 93.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001907/1.425, allocations: 56 kB / 0.8023 GB, free: 93.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01621/1.441, allocations: 9.756 MB / 0.8118 GB, free: 83.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002718/1.441, allocations: 91.94 kB / 0.8119 GB, free: 83.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003569/1.442, allocations: 192.9 kB / 0.8121 GB, free: 83.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/1.442, allocations: 252 kB / 0.8123 GB, free: 83.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006093/1.448, allocations: 1.946 MB / 0.8142 GB, free: 81.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002672/1.449, allocations: 374.5 kB / 0.8146 GB, free: 81.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006033/1.455, allocations: 412.9 kB / 0.815 GB, free: 80.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.456, allocations: 0.521 MB / 0.8155 GB, free: 80.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1055): * Single equations (assignments): 1044 * 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.00543/1.461, allocations: 3.408 MB / 0.8188 GB, free: 76.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009293/1.462, allocations: 0.5359 MB / 0.8193 GB, free: 76.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/1.463, allocations: 0.6287 MB / 0.8199 GB, free: 75.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/1.463, allocations: 27.94 kB / 0.82 GB, free: 75.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.463, allocations: 0 / 0.82 GB, free: 75.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.463, allocations: 11.95 kB / 0.82 GB, free: 75.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/1.487, allocations: 16.7 MB / 0.8363 GB, free: 58.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.866e-05/1.487, allocations: 40 kB / 0.8363 GB, free: 58.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.489, allocations: 380.1 kB / 0.8367 GB, free: 57.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-05/1.489, allocations: 52 kB / 0.8367 GB, free: 57.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/1.489, allocations: 91.98 kB / 0.8368 GB, free: 57.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-05/1.489, allocations: 75.72 kB / 0.8369 GB, free: 57.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.467e-05/1.489, allocations: 63.69 kB / 0.837 GB, free: 57.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004181/1.493, allocations: 3.943 MB / 0.8408 GB, free: 53.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.495, allocations: 0.6227 MB / 0.8414 GB, free: 52.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/1.496, allocations: 88.75 kB / 0.8415 GB, free: 52.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/1.499, allocations: 109.6 kB / 0.8416 GB, free: 52.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/1.499, allocations: 262.8 kB / 0.8419 GB, free: 51.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.499, allocations: 108 kB / 0.842 GB, free: 51.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006907/1.506, allocations: 3.98 MB / 0.8458 GB, free: 47.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/1.506, allocations: 4.125 kB / 0.8458 GB, free: 47.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007712/1.514, allocations: 1.37 MB / 0.8472 GB, free: 46.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0006939/1.515, allocations: 253.6 kB / 0.8474 GB, free: 46.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008324/1.523, allocations: 5.376 MB / 0.8527 GB, free: 40.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.957e-05/1.523, allocations: 8.375 kB / 0.8527 GB, free: 40.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.525, allocations: 1.125 MB / 0.8538 GB, free: 39.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03761/1.562, allocations: 0.8669 MB / 0.8546 GB, free: 38.99 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.588, allocations: 19.73 MB / 0.8739 GB, free: 18.69 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006657/1.594, allocations: 5.231 MB / 0.879 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.596, allocations: 411.4 kB / 0.8794 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/1.596, allocations: 0 / 0.8794 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.3602/1.956, allocations: 85.02 MB / 0.9624 GB, free: 176 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches