Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009644/0.0009643, allocations: 100.1 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009911/0.0009915, allocations: 200.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 45.92 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.000272, allocations: 11.98 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 63.46 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03117/0.1737, allocations: 32.32 MB / 0.5017 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3648/0.5385, allocations: 7.551 MB / 0.509 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007663/0.5463, allocations: 152.5 kB / 0.5092 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007108/0.5534, allocations: 1.653 MB / 0.5108 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01896/0.5724, allocations: 4.722 MB / 0.5154 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.575, allocations: 222.8 kB / 0.5156 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004647/0.5796, allocations: 1.315 MB / 0.5169 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005566/0.5852, allocations: 2.961 MB / 0.5198 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.5865, allocations: 0.5486 MB / 0.5203 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.5877, allocations: 0.6985 MB / 0.521 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.588, allocations: 86.44 kB / 0.5211 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.5892, allocations: 0.5229 MB / 0.5216 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000964/0.5902, allocations: 0.9153 MB / 0.5225 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005708/0.5908, allocations: 0.5249 MB / 0.523 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.5943, allocations: 3.423 MB / 0.5264 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5943, allocations: 1.641 kB / 0.5264 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5943, allocations: 3.688 kB / 0.5264 GB, free: 7.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001272/0.5945, allocations: 0 / 0.5264 GB, free: 7.488 MB / 382.1 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.005481/0.6, allocations: 2.495 MB / 0.5288 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6, allocations: 9.062 kB / 0.5288 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/0.606, allocations: 1.915 MB / 0.5307 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/0.6095, allocations: 1.321 MB / 0.532 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.6097, allocations: 150.1 kB / 0.5321 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.61, allocations: 184.9 kB / 0.5323 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.6208, allocations: 6.462 MB / 0.5386 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.091e-05/0.6209, allocations: 14.66 kB / 0.5386 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.6212, allocations: 90.02 kB / 0.5387 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002033/0.6232, allocations: 1.415 MB / 0.5401 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.635, allocations: 5.504 MB / 0.5455 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.667, allocations: 20.61 MB / 0.5656 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/0.6718, allocations: 2.086 MB / 0.5676 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007128/0.679, allocations: 3.526 MB / 0.5711 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.6791, allocations: 45.11 kB / 0.5711 GB, free: 7.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.447e-06/0.6791, allocations: 0 / 0.5711 GB, free: 7.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005608/0.6847, allocations: 2.232 MB / 0.5733 GB, free: 5.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.6848, allocations: 63.84 kB / 0.5733 GB, free: 5.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.688, allocations: 1.952 MB / 0.5753 GB, free: 3.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/0.6881, allocations: 40.83 kB / 0.5753 GB, free: 3.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.6896, allocations: 1.874 MB / 0.5771 GB, free: 1.492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.69, allocations: 321.4 kB / 0.5774 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6901, allocations: 56 kB / 0.5775 GB, free: 1.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003348/0.6905, allocations: 493.3 kB / 0.578 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.6917, allocations: 0.8725 MB / 0.5788 GB, free: 15.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/0.695, allocations: 2.763 MB / 0.5815 GB, free: 12.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.6974, allocations: 1.553 MB / 0.583 GB, free: 10.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/0.6974, allocations: 20 kB / 0.583 GB, free: 10.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00571/0.7031, allocations: 3.521 MB / 0.5865 GB, free: 6.961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.7032, allocations: 36 kB / 0.5865 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.178e-05/0.7033, allocations: 64 kB / 0.5866 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.7035, allocations: 100 kB / 0.5867 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.7054, allocations: 0.6634 MB / 0.5873 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.529e-05/0.7055, allocations: 131.5 kB / 0.5874 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.7075, allocations: 421.2 kB / 0.5878 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.7077, allocations: 192 kB / 0.588 GB, free: 5.375 MB / 430.1 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.002507/0.7102, allocations: 1.368 MB / 0.5894 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.7105, allocations: 161.8 kB / 0.5895 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.7109, allocations: 199.1 kB / 0.5897 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.7109, allocations: 8 kB / 0.5897 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.7109, allocations: 0 / 0.5897 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.7109, allocations: 11.88 kB / 0.5897 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008561/0.7195, allocations: 4.136 MB / 0.5938 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.7196, allocations: 12.03 kB / 0.5938 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.7203, allocations: 103.8 kB / 0.5939 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-05/0.7203, allocations: 8 kB / 0.5939 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.402e-05/0.7204, allocations: 16 kB / 0.5939 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.188e-05/0.7205, allocations: 11.95 kB / 0.5939 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.7205, allocations: 7.938 kB / 0.5939 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.7229, allocations: 1.646 MB / 0.5955 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.7235, allocations: 262.7 kB / 0.5958 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.7236, allocations: 23.94 kB / 0.5958 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.7241, allocations: 34.47 kB / 0.5958 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.7242, allocations: 51.78 kB / 0.5959 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.7243, allocations: 24 kB / 0.5959 GB, free: 12.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002003/0.7263, allocations: 1.277 MB / 0.5971 GB, free: 11.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7263, allocations: 4 kB / 0.5972 GB, free: 11.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002643/0.729, allocations: 0.7054 MB / 0.5978 GB, free: 10.89 MB / 446.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 (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.0003154/0.7293, allocations: 144.7 kB / 0.598 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.7328, allocations: 2.014 MB / 0.5999 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.7328, allocations: 8.938 kB / 0.6 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007091/0.7336, allocations: 460 kB / 0.6004 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.7347, allocations: 222.8 kB / 0.6006 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.7453, allocations: 6.224 MB / 0.6067 GB, free: 1.754 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/0.7482, allocations: 2.375 MB / 0.609 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002422/0.7506, allocations: 0.9654 MB / 0.6099 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.7509, allocations: 119.4 kB / 0.6101 GB, free: 14.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.751, allocations: 4 kB / 0.6101 GB, free: 14.26 MB / 462.1 MB Notification: Performance of Templates: time 0.03011/0.7811, allocations: 13.63 MB / 0.6234 GB, free: 0.7109 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches