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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9984/0.9984, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2992/0.2992, allocations: 34.86 MB / 296.6 MB, free: 0.5664 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 3.938 kB / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.785e-05, allocations: 2.312 kB / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0289/0.02894, allocations: 9.205 MB / 387.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.04421, allocations: 2.865 MB / 390.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.04691, allocations: 55.81 kB / 390.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005583/0.05249, allocations: 2.138 MB / 393 MB, free: 4.117 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.0572, allocations: 1.167 MB / 394.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.05839, allocations: 323.2 kB / 394.5 MB, free: 2.629 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004013/0.06241, allocations: 2.363 MB / 396.8 MB, free: 268 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.0645, allocations: 1.801 MB / 398.6 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.06639, allocations: 1.29 MB / 399.9 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.06811, allocations: 1.177 MB / 401.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005467/0.06866, allocations: 196 kB / 401.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.07004, allocations: 0.6435 MB / 401.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.07116, allocations: 1.184 MB / 403.1 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.07219, allocations: 0.7203 MB / 403.8 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004988/0.07718, allocations: 2.717 MB / 406.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.07719, allocations: 3.984 kB / 406.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.07719, allocations: 3.938 kB / 406.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.07735, allocations: 0 / 406.6 MB, free: 6.465 MB / 378.7 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.005062/0.08241, allocations: 3.134 MB / 409.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.08246, allocations: 8.031 kB / 409.7 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.08598, allocations: 1.883 MB / 411.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.08808, allocations: 1.227 MB / 412.8 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.08818, allocations: 144 kB / 413 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.08839, allocations: 184.3 kB / 413.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005368/0.09376, allocations: 3.317 MB / 416.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.0938, allocations: 11.88 kB / 416.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.09397, allocations: 87.91 kB / 416.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001466/0.09543, allocations: 1.34 MB / 417.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.1002, allocations: 1.796 MB / 419.7 MB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02008/0.1203, allocations: 20.62 MB / 440.3 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.1226, allocations: 0.881 MB / 441.2 MB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.123, allocations: 221.9 kB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.208/0.331, allocations: 2.59 MB / 444 MB, free: 98.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.331, allocations: 40.8 kB / 444 MB, free: 98.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 5.731e-06/0.331, allocations: 0 / 444 MB, free: 98.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00433/0.3354, allocations: 1.289 MB / 445.3 MB, free: 98.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3354, allocations: 57.34 kB / 445.4 MB, free: 98.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/0.3407, allocations: 1.801 MB / 447.2 MB, free: 98.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/0.3408, allocations: 38.75 kB / 447.2 MB, free: 98.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009056/0.3417, allocations: 2.006 MB / 449.2 MB, free: 97.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.3419, allocations: 336.6 kB / 449.6 MB, free: 97.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004966/0.3424, allocations: 0.6699 MB / 450.2 MB, free: 97.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.3425, allocations: 0.5253 MB / 450.8 MB, free: 96.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.3429, allocations: 290.6 kB / 451 MB, free: 96.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.3465, allocations: 3.049 MB / 454.1 MB, free: 93.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/0.3493, allocations: 3.695 MB / 457.8 MB, free: 89.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.509e-05/0.3493, allocations: 19.69 kB / 457.8 MB, free: 89.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003558/0.3529, allocations: 2.497 MB / 460.3 MB, free: 88.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.3529, allocations: 34.28 kB / 460.3 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-05/0.353, allocations: 69.14 kB / 460.4 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.3532, allocations: 87.06 kB / 460.5 MB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.3547, allocations: 0.6494 MB / 461.1 MB, free: 88.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.115e-05/0.3547, allocations: 131.4 kB / 461.3 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.3563, allocations: 419.7 kB / 461.7 MB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/0.3565, allocations: 193.4 kB / 461.9 MB, free: 87.82 MB / 410.7 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.0007059/0.3572, allocations: 411 kB / 462.3 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.3574, allocations: 172.4 kB / 462.4 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3576, allocations: 162 kB / 462.6 MB, free: 87.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.3576, allocations: 9.062 kB / 462.6 MB, free: 87.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.3576, allocations: 0 / 462.6 MB, free: 87.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3576, allocations: 3.234 kB / 462.6 MB, free: 87.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.3616, allocations: 2.859 MB / 465.5 MB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.3616, allocations: 6.344 kB / 465.5 MB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.3619, allocations: 104.3 kB / 465.6 MB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.3619, allocations: 12.5 kB / 465.6 MB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.3619, allocations: 16.62 kB / 465.6 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.3619, allocations: 20.84 kB / 465.6 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3619, allocations: 10.25 kB / 465.6 MB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007444/0.3627, allocations: 0.8966 MB / 466.5 MB, free: 85.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3628, allocations: 156.4 kB / 466.7 MB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.3629, allocations: 17.3 kB / 466.7 MB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.3632, allocations: 32.14 kB / 466.7 MB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.3633, allocations: 61.41 kB / 466.8 MB, free: 84.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.3634, allocations: 29.66 kB / 466.8 MB, free: 84.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008933/0.3643, allocations: 0.7767 MB / 467.6 MB, free: 84.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3643, allocations: 0 / 467.6 MB, free: 84.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002228/0.3665, allocations: 0.7069 MB / 468.3 MB, free: 84.32 MB / 410.7 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.0002856/0.3668, allocations: 145.3 kB / 468.4 MB, free: 84.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.3685, allocations: 1.256 MB / 469.7 MB, free: 83.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3685, allocations: 3 kB / 469.7 MB, free: 83.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.3688, allocations: 209.2 kB / 469.9 MB, free: 83.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/0.3696, allocations: 196.1 kB / 470.1 MB, free: 83.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006298/0.3759, allocations: 4.392 MB / 474.5 MB, free: 81.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/0.3768, allocations: 0.7657 MB / 475.3 MB, free: 80.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001655/0.3784, allocations: 0.8076 MB / 476.1 MB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.3787, allocations: 110.8 kB / 476.2 MB, free: 80.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.365e-06/0.3787, allocations: 0 / 476.2 MB, free: 80.87 MB / 410.7 MB Notification: Performance of Templates: time 0.02775/0.4064, allocations: 11.51 MB / 487.7 MB, free: 79.56 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8582407920621336]