Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 115 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.5 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 46.13 MB / 343.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003318/0.003318, allocations: 78.86 kB / 417.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1392, allocations: 62.45 MB / 479.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03428/0.1736, allocations: 30.31 MB / 0.4979 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.19, allocations: 6.278 MB / 0.5041 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006403/0.1965, allocations: 123.8 kB / 0.5042 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2594/0.4559, allocations: 1.923 MB / 0.5061 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.4593, allocations: 1.032 MB / 0.5071 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.4602, allocations: 275.5 kB / 0.5073 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004361/0.4645, allocations: 2.341 MB / 0.5096 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.4683, allocations: 2.423 MB / 0.512 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.4701, allocations: 0.8884 MB / 0.5129 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.4722, allocations: 1.26 MB / 0.5141 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004765/0.4727, allocations: 197.1 kB / 0.5143 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.4744, allocations: 0.705 MB / 0.515 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.4758, allocations: 1.119 MB / 0.5161 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.4773, allocations: 1.319 MB / 0.5173 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005928/0.4833, allocations: 4.177 MB / 0.5214 GB, free: 8.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4833, allocations: 5.156 kB / 0.5214 GB, free: 8.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4833, allocations: 3.75 kB / 0.5214 GB, free: 8.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.4835, allocations: 3.938 kB / 0.5214 GB, free: 8.723 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.007121/0.4906, allocations: 2.863 MB / 0.5242 GB, free: 7.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4907, allocations: 9.031 kB / 0.5242 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005085/0.4958, allocations: 1.554 MB / 0.5258 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.499, allocations: 1.321 MB / 0.527 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.4991, allocations: 145 kB / 0.5272 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.4995, allocations: 189.9 kB / 0.5274 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009406/0.5089, allocations: 6.248 MB / 0.5335 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/0.509, allocations: 15.03 kB / 0.5335 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/0.5093, allocations: 85.48 kB / 0.5336 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001827/0.5111, allocations: 1.346 MB / 0.5349 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009511/0.5206, allocations: 5.332 MB / 0.5401 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03012/0.5508, allocations: 20.17 MB / 0.5598 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.5552, allocations: 2.01 MB / 0.5617 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.5563, allocations: 0.6937 MB / 0.5624 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00675/0.5631, allocations: 3.609 MB / 0.5659 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.5631, allocations: 35 kB / 0.566 GB, free: 3.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.875e-06/0.5631, allocations: 4 kB / 0.566 GB, free: 3.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005645/0.5688, allocations: 1.987 MB / 0.5679 GB, free: 1.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.5689, allocations: 55.84 kB / 0.568 GB, free: 0.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.5722, allocations: 1.933 MB / 0.5699 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.5723, allocations: 37.7 kB / 0.5699 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.5738, allocations: 1.841 MB / 0.5717 GB, free: 13.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.5741, allocations: 309.5 kB / 0.572 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008439/0.5749, allocations: 0.6144 MB / 0.5726 GB, free: 12.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5751, allocations: 355.8 kB / 0.5729 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.5765, allocations: 0.8946 MB / 0.5738 GB, free: 10.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.5797, allocations: 2.749 MB / 0.5765 GB, free: 7.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005669/0.5853, allocations: 3.979 MB / 0.5804 GB, free: 2.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.466e-05/0.5854, allocations: 23.98 kB / 0.5804 GB, free: 2.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006696/0.5921, allocations: 3.512 MB / 0.5838 GB, free: 15.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.5923, allocations: 42.53 kB / 0.5839 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.157e-05/0.5923, allocations: 68 kB / 0.5839 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.854e-05/0.5924, allocations: 84 kB / 0.584 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.5944, allocations: 0.6558 MB / 0.5847 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001133/0.5945, allocations: 132 kB / 0.5848 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.5967, allocations: 415.5 kB / 0.5852 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/0.5969, allocations: 196 kB / 0.5854 GB, free: 14.05 MB / 446.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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.002737/0.5997, allocations: 1.341 MB / 0.5867 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.6, allocations: 153.9 kB / 0.5868 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.6004, allocations: 196.9 kB / 0.587 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.6005, allocations: 8 kB / 0.587 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.6005, allocations: 3.938 kB / 0.587 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.6005, allocations: 7.984 kB / 0.587 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00709/0.6076, allocations: 4.018 MB / 0.5909 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.6076, allocations: 11.98 kB / 0.591 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.6081, allocations: 103.8 kB / 0.5911 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.6081, allocations: 8.75 kB / 0.5911 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.6082, allocations: 26.8 kB / 0.5911 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.6082, allocations: 12 kB / 0.5911 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.6082, allocations: 15.88 kB / 0.5911 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.6099, allocations: 1.259 MB / 0.5923 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/0.6104, allocations: 250.7 kB / 0.5926 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.6106, allocations: 19.98 kB / 0.5926 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.6111, allocations: 27.89 kB / 0.5926 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.6112, allocations: 55.83 kB / 0.5927 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.6113, allocations: 34.88 kB / 0.5927 GB, free: 6.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00206/0.6133, allocations: 1.267 MB / 0.594 GB, free: 5.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6133, allocations: 0 / 0.594 GB, free: 5.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002945/0.6163, allocations: 0.6727 MB / 0.5946 GB, free: 4.363 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0004697/0.6168, allocations: 145.6 kB / 0.5948 GB, free: 4.215 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003835/0.6206, allocations: 2.248 MB / 0.5969 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6206, allocations: 4 kB / 0.597 GB, free: 1.977 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.6213, allocations: 463 kB / 0.5974 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.6227, allocations: 251.6 kB / 0.5976 GB, free: 1.293 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6337, allocations: 6.388 MB / 0.6039 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/0.6365, allocations: 2.275 MB / 0.6061 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002505/0.639, allocations: 0.9636 MB / 0.607 GB, free: 7.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.6393, allocations: 123.4 kB / 0.6072 GB, free: 7.391 MB / 462.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6393, allocations: 0 / 0.6072 GB, free: 7.391 MB / 462.1 MB Notification: Performance of Templates: time 0.037/0.6763, allocations: 14.09 MB / 0.6209 GB, free: 9.391 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches