Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 76.28 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 160.4 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 64.19 kB / 440.6 MB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3125, allocations: 65.44 MB / 0.4941 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007417/0.32, allocations: 8.408 MB / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004096/0.3241, allocations: 2.789 MB / 0.5051 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.3246, allocations: 55.19 kB / 0.5051 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002773/0.3274, allocations: 1.931 MB / 0.507 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.329, allocations: 1.143 MB / 0.5081 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.3295, allocations: 292.5 kB / 0.5084 GB, free: 22.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.3312, allocations: 2.317 MB / 0.5107 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.3327, allocations: 1.744 MB / 0.5124 GB, free: 21.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009195/0.3336, allocations: 0.8902 MB / 0.5132 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.3354, allocations: 1.17 MB / 0.5144 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00041/0.3358, allocations: 193 kB / 0.5146 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3371, allocations: 0.6093 MB / 0.5152 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.3383, allocations: 1.141 MB / 0.5163 GB, free: 20.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009255/0.3392, allocations: 0.9504 MB / 0.5172 GB, free: 19.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.3443, allocations: 4.34 MB / 0.5214 GB, free: 17.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3443, allocations: 0 / 0.5214 GB, free: 17.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3443, allocations: 0 / 0.5214 GB, free: 17.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000105/0.3444, allocations: 0 / 0.5214 GB, free: 17.8 MB / 446.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.005075/0.3495, allocations: 2.864 MB / 0.5242 GB, free: 16.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3495, allocations: 9.594 kB / 0.5243 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/0.3547, allocations: 1.594 MB / 0.5258 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.3574, allocations: 1.283 MB / 0.5271 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.3575, allocations: 142.9 kB / 0.5272 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003726/0.3579, allocations: 193.9 kB / 0.5274 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009606/0.3675, allocations: 6.253 MB / 0.5335 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.973e-05/0.3675, allocations: 16.97 kB / 0.5335 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.3678, allocations: 87.69 kB / 0.5336 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001969/0.3697, allocations: 1.348 MB / 0.5349 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009395/0.3791, allocations: 5.326 MB / 0.5401 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/0.4027, allocations: 18.41 MB / 0.5581 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004414/0.4072, allocations: 1.566 MB / 0.5596 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.4083, allocations: 0.637 MB / 0.5602 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006853/0.4151, allocations: 3.124 MB / 0.5633 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.4152, allocations: 39.06 kB / 0.5633 GB, free: 1.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.626e-06/0.4152, allocations: 0 / 0.5633 GB, free: 1.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005778/0.4209, allocations: 2.112 MB / 0.5654 GB, free: 15.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.421, allocations: 63.89 kB / 0.5654 GB, free: 15.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.424, allocations: 1.931 MB / 0.5673 GB, free: 13.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.4241, allocations: 37.7 kB / 0.5674 GB, free: 13.13 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.4256, allocations: 1.915 MB / 0.5692 GB, free: 11.19 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.4259, allocations: 329.5 kB / 0.5696 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008739/0.4268, allocations: 0.6234 MB / 0.5702 GB, free: 10.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.427, allocations: 345.9 kB / 0.5705 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.4284, allocations: 0.8842 MB / 0.5714 GB, free: 9.004 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002982/0.4314, allocations: 2.751 MB / 0.574 GB, free: 5.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/0.4363, allocations: 3.977 MB / 0.5779 GB, free: 428 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.733e-05/0.4363, allocations: 20 kB / 0.5779 GB, free: 408 kB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006201/0.4426, allocations: 3.524 MB / 0.5814 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.4426, allocations: 32 kB / 0.5814 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-05/0.4427, allocations: 68 kB / 0.5815 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.4428, allocations: 88 kB / 0.5816 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.4447, allocations: 0.6549 MB / 0.5822 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001274/0.4449, allocations: 135.4 kB / 0.5823 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.447, allocations: 413 kB / 0.5827 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.4473, allocations: 192 kB / 0.5829 GB, free: 11.3 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 (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.002531/0.4499, allocations: 1.339 MB / 0.5842 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4502, allocations: 154.9 kB / 0.5844 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.4505, allocations: 188 kB / 0.5845 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.4505, allocations: 12 kB / 0.5846 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4506, allocations: 3.938 kB / 0.5846 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4506, allocations: 3.984 kB / 0.5846 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/0.4564, allocations: 3.091 MB / 0.5876 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.4565, allocations: 8 kB / 0.5876 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.4569, allocations: 103.8 kB / 0.5877 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.4569, allocations: 11.94 kB / 0.5877 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.457, allocations: 20 kB / 0.5877 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.061e-05/0.457, allocations: 19.92 kB / 0.5877 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.457, allocations: 4 kB / 0.5877 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.4587, allocations: 1.25 MB / 0.589 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.4591, allocations: 150.8 kB / 0.5891 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.4592, allocations: 23.92 kB / 0.5891 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.4597, allocations: 23.98 kB / 0.5892 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4598, allocations: 63.73 kB / 0.5892 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.4599, allocations: 31.94 kB / 0.5892 GB, free: 4.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001763/0.4616, allocations: 1.118 MB / 0.5903 GB, free: 3.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4616, allocations: 0 / 0.5903 GB, free: 3.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002702/0.4643, allocations: 0.7045 MB / 0.591 GB, free: 2.75 MB / 494.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.0003102/0.4646, allocations: 146.9 kB / 0.5912 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003246/0.4679, allocations: 1.951 MB / 0.5931 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4679, allocations: 0 / 0.5931 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005974/0.4685, allocations: 447.2 kB / 0.5935 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.4695, allocations: 189.7 kB / 0.5937 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008984/0.4785, allocations: 5.103 MB / 0.5987 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/0.481, allocations: 1.704 MB / 0.6003 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002288/0.4833, allocations: 0.9429 MB / 0.6012 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.4835, allocations: 116.5 kB / 0.6014 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of SimCode: time 1.322e-06/0.4835, allocations: 0 / 0.6014 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of Templates: time 0.02748/0.511, allocations: 11.59 MB / 0.6127 GB, free: 12.62 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.549254870973527]