Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0008896/0.0008896, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001012/0.001012, allocations: 165.9 kB / 24.91 MB, free: 8.773 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.9338/0.9338, allocations: 177 MB / 205.2 MB, free: 5.074 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.2383/0.2383, allocations: 34.85 MB / 296.6 MB, free: 460 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.419e-05, allocations: 6.266 kB / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.006556/0.006571, allocations: 9.001 MB / 334.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004691/0.01126, allocations: 2.967 MB / 337.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008255/0.01209, allocations: 59.75 kB / 337.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.01418, allocations: 2.13 MB / 340.1 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.01596, allocations: 1.175 MB / 341.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.01646, allocations: 327.1 kB / 341.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.01846, allocations: 2.207 MB / 343.8 MB, free: 5.258 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.01993, allocations: 1.852 MB / 345.6 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.02099, allocations: 1.298 MB / 346.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.0221, allocations: 1.118 MB / 348 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.02232, allocations: 192 kB / 348.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006802/0.023, allocations: 0.6395 MB / 348.9 MB, free: 96 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006632/0.02366, allocations: 1.196 MB / 350.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.02418, allocations: 0.7164 MB / 350.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.02624, allocations: 2.724 MB / 353.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.02624, allocations: 0 / 353.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.02624, allocations: 0 / 353.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.008e-05/0.02629, allocations: 0 / 353.5 MB, free: 11.44 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.002467/0.02876, allocations: 2.674 MB / 356.2 MB, free: 8.727 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.02879, allocations: 12.02 kB / 356.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.03048, allocations: 0.7538 MB / 356.9 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.03155, allocations: 1.053 MB / 358 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.03162, allocations: 148 kB / 358.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.03183, allocations: 184.3 kB / 358.3 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.03459, allocations: 2.844 MB / 361.2 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.03463, allocations: 11.88 kB / 361.2 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.03477, allocations: 87.91 kB / 361.3 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009921/0.03577, allocations: 1.192 MB / 362.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.03799, allocations: 1.518 MB / 364 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.04844, allocations: 15.3 MB / 379.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.05002, allocations: 0.877 MB / 380.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.05022, allocations: 160.8 kB / 380.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/0.05285, allocations: 2.236 MB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.05287, allocations: 39.06 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 1.693e-06/0.05288, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002188/0.05506, allocations: 1.101 MB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.05509, allocations: 59.91 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.05598, allocations: 1.424 MB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.05601, allocations: 33.7 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000683/0.0567, allocations: 1.842 MB / 387 MB, free: 8.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.05684, allocations: 317.5 kB / 387.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.05726, allocations: 0.584 MB / 387.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.05734, allocations: 349.8 kB / 388.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.05767, allocations: 310.2 kB / 388.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.05873, allocations: 2.087 MB / 390.7 MB, free: 4.266 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.06052, allocations: 2.751 MB / 393.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/0.06054, allocations: 23.94 kB / 393.4 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001833/0.06237, allocations: 1.959 MB / 395.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.0624, allocations: 32 kB / 395.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/0.06244, allocations: 64 kB / 395.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-05/0.06249, allocations: 88 kB / 395.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/0.06345, allocations: 0.6394 MB / 396.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.686e-05/0.06352, allocations: 132.1 kB / 396.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008302/0.06435, allocations: 405 kB / 396.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.06448, allocations: 164 kB / 396.9 MB, free: 13.09 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.0004141/0.06489, allocations: 377.5 kB / 397.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.06499, allocations: 91.91 kB / 397.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.06512, allocations: 152 kB / 397.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.06513, allocations: 15.98 kB / 397.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.06513, allocations: 0 / 397.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.06514, allocations: 4 kB / 397.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.06719, allocations: 2.264 MB / 399.8 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.0672, allocations: 8 kB / 399.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.06738, allocations: 95.83 kB / 399.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.06739, allocations: 8 kB / 399.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.06741, allocations: 20.69 kB / 399.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.06742, allocations: 11.94 kB / 399.9 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.06743, allocations: 15.94 kB / 399.9 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.06788, allocations: 0.6448 MB / 400.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.06799, allocations: 154.7 kB / 400.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.06807, allocations: 23.92 kB / 400.8 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.06827, allocations: 12 kB / 400.8 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.06833, allocations: 63.73 kB / 400.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.06836, allocations: 28 kB / 400.9 MB, free: 8.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004388/0.0688, allocations: 0.5487 MB / 401.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0688, allocations: 3.938 kB / 401.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001241/0.07004, allocations: 0.6968 MB / 402.1 MB, free: 7.629 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.0002028/0.07024, allocations: 120.1 kB / 402.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.07117, allocations: 1.108 MB / 403.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.677e-05/0.07125, allocations: 52.31 kB / 403.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.07141, allocations: 170.9 kB / 403.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.07198, allocations: 186.7 kB / 403.7 MB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.07626, allocations: 4.503 MB / 408.2 MB, free: 1.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.07687, allocations: 0.7463 MB / 409 MB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005017/0.07737, allocations: 256.2 kB / 409.2 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.07767, allocations: 267.3 kB / 409.5 MB, free: 68 kB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.07767, allocations: 0 / 409.5 MB, free: 68 kB / 378.7 MB Notification: Performance of Templates: time 0.01942/0.09709, allocations: 12.42 MB / 421.9 MB, free: 3.832 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.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.2063846406526864]