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.001089/0.001089, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001276/0.001276, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9979/0.9979, allocations: 177 MB / 205.2 MB, free: 5.043 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.2835/0.2835, allocations: 34.86 MB / 296.6 MB, free: 392 kB / 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 1.433e-06/1.433e-06, allocations: 0 / 325.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.742e-05, allocations: 5.406 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007057/0.007074, allocations: 9.05 MB / 335 MB, free: 14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.01145, allocations: 2.967 MB / 338 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006147/0.01206, allocations: 55.81 kB / 338 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.01482, allocations: 2.095 MB / 340.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.01689, allocations: 1.167 MB / 341.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.01742, allocations: 331.1 kB / 341.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00223/0.01965, allocations: 2.198 MB / 343.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.02101, allocations: 1.844 MB / 345.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.02211, allocations: 1.294 MB / 346.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.02321, allocations: 1.118 MB / 348.1 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.02341, allocations: 192 kB / 348.2 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.02431, allocations: 0.6668 MB / 348.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007258/0.02504, allocations: 1.184 MB / 350.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.02608, allocations: 0.7164 MB / 350.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.02862, allocations: 2.732 MB / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.02863, allocations: 0 / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.02863, allocations: 0 / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.489e-05/0.02869, allocations: 0 / 353.5 MB, free: 11.34 MB / 330.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.003271/0.03197, allocations: 2.674 MB / 356.2 MB, free: 8.625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.032, allocations: 8.031 kB / 356.2 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.03438, allocations: 0.7578 MB / 357 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.03606, allocations: 1.053 MB / 358 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/0.03616, allocations: 144 kB / 358.2 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.03641, allocations: 188.3 kB / 358.4 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.04009, allocations: 2.836 MB / 361.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.04013, allocations: 11.88 kB / 361.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.04031, allocations: 87.91 kB / 361.3 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001322/0.04164, allocations: 1.2 MB / 362.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/0.04481, allocations: 1.517 MB / 364 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.06083, allocations: 15.3 MB / 379.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.06351, allocations: 0.8925 MB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.0638, allocations: 152.8 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003809/0.06761, allocations: 2.228 MB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.06765, allocations: 39.06 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.06765, allocations: 0 / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.003211/0.07086, allocations: 1.101 MB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.07089, allocations: 59.91 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.07216, allocations: 1.424 MB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.0722, allocations: 41.69 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.07336, allocations: 1.834 MB / 387.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.07356, allocations: 317.5 kB / 387.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005597/0.07412, allocations: 0.5801 MB / 388 MB, free: 7.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.07422, allocations: 357.8 kB / 388.3 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.07468, allocations: 314.1 kB / 388.6 MB, free: 7.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.07604, allocations: 2.091 MB / 390.7 MB, free: 4.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.0786, allocations: 2.74 MB / 393.5 MB, free: 492 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.768e-05/0.07862, allocations: 20 kB / 393.5 MB, free: 472 kB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002579/0.0812, allocations: 1.962 MB / 395.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.08124, allocations: 36 kB / 395.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.18e-05/0.08131, allocations: 64 kB / 395.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.218e-05/0.08139, allocations: 88 kB / 395.6 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.0829, allocations: 0.6706 MB / 396.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.488e-05/0.08299, allocations: 123.5 kB / 396.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.08434, allocations: 405.5 kB / 396.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.08454, allocations: 168 kB / 397 MB, free: 12.95 MB / 378.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.0007389/0.08528, allocations: 365.5 kB / 397.3 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.08542, allocations: 95.89 kB / 397.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.08562, allocations: 156 kB / 397.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.08564, allocations: 12 kB / 397.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.08564, allocations: 4 kB / 397.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.08565, allocations: 3.984 kB / 397.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.08888, allocations: 2.256 MB / 399.9 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.08888, allocations: 8 kB / 399.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.08917, allocations: 95.84 kB / 400 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.08918, allocations: 8 kB / 400 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.08922, allocations: 27.92 kB / 400 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.08923, allocations: 8.562 kB / 400 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.08924, allocations: 15.88 kB / 400 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.08986, allocations: 0.6526 MB / 400.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.09002, allocations: 154.7 kB / 400.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.09013, allocations: 23.98 kB / 400.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.09044, allocations: 16 kB / 400.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.09053, allocations: 51.75 kB / 400.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.09057, allocations: 27.98 kB / 400.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005749/0.09114, allocations: 0.5526 MB / 401.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09114, allocations: 0 / 401.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002101/0.09325, allocations: 0.7006 MB / 402.2 MB, free: 7.504 MB / 378.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.0002666/0.09351, allocations: 128.1 kB / 402.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.09472, allocations: 1.108 MB / 403.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.65e-05/0.0948, allocations: 47.94 kB / 403.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.09496, allocations: 167.1 kB / 403.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.09554, allocations: 196 kB / 403.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/0.1005, allocations: 4.495 MB / 408.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.1011, allocations: 0.7541 MB / 409.1 MB, free: 456 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005896/0.1017, allocations: 240.8 kB / 409.3 MB, free: 212 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.102, allocations: 271.3 kB / 409.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.102, allocations: 0 / 409.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of Templates: time 0.02311/0.1251, allocations: 12.42 MB / 422 MB, free: 3.711 MB / 394.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 -s gbode -gbm=radauIIA3 -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.2369054798036814]