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.0009566/0.0009566, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.0008973/0.0008973, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 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 1.006/1.006, allocations: 177 MB / 204.8 MB, free: 5.164 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.2533/0.2533, allocations: 34.86 MB / 296.3 MB, free: 428 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 2.224e-06/2.224e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.035e-05, allocations: 6.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008325/0.008355, allocations: 9.229 MB / 388 MB, free: 8.785 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005705/0.01406, allocations: 2.873 MB / 390.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.01525, allocations: 55.81 kB / 390.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.01776, allocations: 2.134 MB / 393 MB, free: 3.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.02001, allocations: 1.182 MB / 394.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.02057, allocations: 315.2 kB / 394.5 MB, free: 2.211 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.02326, allocations: 2.363 MB / 396.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.02505, allocations: 1.797 MB / 398.7 MB, free: 14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.02668, allocations: 1.298 MB / 400 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.02813, allocations: 1.169 MB / 401.2 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000455/0.02859, allocations: 195.9 kB / 401.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.02965, allocations: 0.6474 MB / 402 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.03095, allocations: 1.184 MB / 403.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007582/0.03171, allocations: 0.7163 MB / 403.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.03447, allocations: 2.72 MB / 406.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.03448, allocations: 0 / 406.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.03448, allocations: 0 / 406.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.696e-05/0.03456, allocations: 0 / 406.6 MB, free: 6.051 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.003924/0.03848, allocations: 3.142 MB / 409.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/0.03855, allocations: 8.031 kB / 409.8 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/0.04246, allocations: 1.879 MB / 411.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.04442, allocations: 1.247 MB / 412.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.04453, allocations: 155.9 kB / 413.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.04479, allocations: 184.3 kB / 413.2 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005185/0.04997, allocations: 3.313 MB / 416.5 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.05001, allocations: 11.88 kB / 416.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.05017, allocations: 91.89 kB / 416.6 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/0.05165, allocations: 1.348 MB / 418 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003986/0.05564, allocations: 1.798 MB / 419.8 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/0.0737, allocations: 20.62 MB / 440.4 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.07594, allocations: 0.8863 MB / 441.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.07628, allocations: 225.9 kB / 441.5 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1929/0.2692, allocations: 2.576 MB / 444.1 MB, free: 92.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2692, allocations: 44.77 kB / 444.1 MB, free: 92.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.536e-06/0.2692, allocations: 0 / 444.1 MB, free: 92.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003136/0.2724, allocations: 1.288 MB / 445.4 MB, free: 92.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2724, allocations: 57.12 kB / 445.5 MB, free: 92.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.2745, allocations: 1.795 MB / 447.3 MB, free: 92.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.2746, allocations: 33.2 kB / 447.3 MB, free: 92.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.2756, allocations: 2.016 MB / 449.3 MB, free: 91.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.2758, allocations: 336.2 kB / 449.7 MB, free: 91.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/0.2765, allocations: 0.6702 MB / 450.3 MB, free: 91.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2766, allocations: 0.5246 MB / 450.9 MB, free: 90.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.2772, allocations: 291.5 kB / 451.1 MB, free: 90.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.2788, allocations: 3.049 MB / 454.2 MB, free: 87.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.2815, allocations: 3.693 MB / 457.9 MB, free: 83.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.411e-05/0.2816, allocations: 21.19 kB / 457.9 MB, free: 83.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003434/0.285, allocations: 2.494 MB / 460.4 MB, free: 83.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.2851, allocations: 37.34 kB / 460.4 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.451e-05/0.2852, allocations: 70.03 kB / 460.5 MB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.417e-05/0.2853, allocations: 88.53 kB / 460.6 MB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.2864, allocations: 0.6513 MB / 461.2 MB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-05/0.2864, allocations: 129.1 kB / 461.4 MB, free: 82.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.2878, allocations: 416.3 kB / 461.8 MB, free: 82.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.288, allocations: 194.9 kB / 462 MB, free: 82.76 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.0008466/0.2888, allocations: 412.1 kB / 462.4 MB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.289, allocations: 174.5 kB / 462.5 MB, free: 82.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.2892, allocations: 157.6 kB / 462.7 MB, free: 82.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.2892, allocations: 11.97 kB / 462.7 MB, free: 82.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.2892, allocations: 6.609 kB / 462.7 MB, free: 82.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2892, allocations: 0 / 462.7 MB, free: 82.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.2926, allocations: 2.854 MB / 465.6 MB, free: 81.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.2926, allocations: 6.281 kB / 465.6 MB, free: 81.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.2928, allocations: 107.1 kB / 465.7 MB, free: 81.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.2928, allocations: 13.41 kB / 465.7 MB, free: 81.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.2929, allocations: 20.5 kB / 465.7 MB, free: 81.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.2929, allocations: 16.5 kB / 465.7 MB, free: 81.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.2929, allocations: 6.469 kB / 465.7 MB, free: 81.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.2935, allocations: 0.9007 MB / 466.6 MB, free: 80.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.2937, allocations: 162.3 kB / 466.8 MB, free: 80.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.2938, allocations: 21.69 kB / 466.8 MB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.294, allocations: 27.73 kB / 466.8 MB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.2941, allocations: 55.06 kB / 466.9 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.2941, allocations: 34.09 kB / 466.9 MB, free: 80.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00072/0.2949, allocations: 0.7794 MB / 467.7 MB, free: 79.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2949, allocations: 0 / 467.7 MB, free: 79.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002103/0.297, allocations: 0.7068 MB / 468.4 MB, free: 79.66 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.0003045/0.2973, allocations: 149.6 kB / 468.6 MB, free: 79.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.2993, allocations: 1.252 MB / 469.8 MB, free: 79.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.2993, allocations: 2.875 kB / 469.8 MB, free: 79.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.2996, allocations: 204.5 kB / 470 MB, free: 79.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009436/0.3005, allocations: 200.6 kB / 470.2 MB, free: 78.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/0.3066, allocations: 4.39 MB / 474.6 MB, free: 76.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.3073, allocations: 0.7674 MB / 475.4 MB, free: 76.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001201/0.3085, allocations: 0.8078 MB / 476.2 MB, free: 76.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.3087, allocations: 108.3 kB / 476.3 MB, free: 76.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.245e-06/0.3087, allocations: 4 kB / 476.3 MB, free: 76.2 MB / 410.7 MB Notification: Performance of Templates: time 0.02767/0.3364, allocations: 12.03 MB / 488.3 MB, free: 74.86 MB / 410.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.586932382080704]