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.00118/0.00118, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002734, allocations: 457.8 kB / 10.45 MB, free: 240 kB / 10.45 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.001035/0.001035, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002339, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9556/0.9556, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08419/1.04, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.2472/0.2472, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02383/0.271, allocations: 13.23 MB / 292.8 MB, free: 6.391 MB / 282.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.382e-06/1.382e-06, allocations: 0 / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.34e-05, allocations: 6.188 kB / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01032/0.01033, allocations: 9.132 MB / 303.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00634/0.01667, allocations: 2.981 MB / 306.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007122/0.01738, allocations: 55.81 kB / 306.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.02017, allocations: 2.04 MB / 308.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.02216, allocations: 1.151 MB / 309.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.02298, allocations: 303.2 kB / 309.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.02531, allocations: 2.213 MB / 312 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.02707, allocations: 1.77 MB / 313.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.02844, allocations: 1.356 MB / 315.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.02967, allocations: 1.107 MB / 316.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.02993, allocations: 192 kB / 316.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.03113, allocations: 0.6514 MB / 317 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000808/0.03193, allocations: 1.068 MB / 318.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006286/0.03256, allocations: 0.5958 MB / 318.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.03503, allocations: 2.545 MB / 321.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.03504, allocations: 0 / 321.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03504, allocations: 0 / 321.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.175e-05/0.03508, allocations: 0 / 321.2 MB, free: 9.801 MB / 314.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.003989/0.03907, allocations: 3.261 MB / 324.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.0391, allocations: 12.86 kB / 324.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.04171, allocations: 0.746 MB / 325.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.04317, allocations: 1.046 MB / 326.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.04327, allocations: 144 kB / 326.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.04357, allocations: 192.3 kB / 326.6 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.04749, allocations: 2.84 MB / 329.5 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/0.04753, allocations: 11.88 kB / 329.5 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.04775, allocations: 87.91 kB / 329.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001448/0.0492, allocations: 1.149 MB / 330.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/0.05315, allocations: 1.507 MB / 332.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.07005, allocations: 15.31 MB / 347.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.07262, allocations: 0.869 MB / 348.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.07293, allocations: 158 kB / 348.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004149/0.07708, allocations: 2.193 MB / 350.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.07713, allocations: 39.06 kB / 350.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.986e-06/0.07713, allocations: 0 / 350.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.00242/0.07955, allocations: 1.074 MB / 351.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.07959, allocations: 55.91 kB / 351.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.0805, allocations: 1.424 MB / 353.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.08053, allocations: 37.7 kB / 353.4 MB, free: 8.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007993/0.08133, allocations: 1.849 MB / 355.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.08155, allocations: 313.6 kB / 355.5 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.08195, allocations: 0.588 MB / 356.1 MB, free: 5.828 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.08205, allocations: 349.8 kB / 356.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.08228, allocations: 221.9 kB / 356.7 MB, free: 5.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.08359, allocations: 2.143 MB / 358.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.08602, allocations: 3.03 MB / 361.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/0.08605, allocations: 20 kB / 361.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002044/0.0881, allocations: 1.986 MB / 363.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.08813, allocations: 43.03 kB / 363.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.629e-05/0.0882, allocations: 72 kB / 364 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-05/0.08826, allocations: 92 kB / 364.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.08938, allocations: 0.737 MB / 364.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.479e-05/0.08944, allocations: 135.5 kB / 364.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/0.09043, allocations: 408.9 kB / 365.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.09059, allocations: 164 kB / 365.5 MB, free: 10.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * 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 (372): * Single equations (assignments): 369 * 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 prepare postOptimizeDAE: time 0.000483/0.09108, allocations: 377.5 kB / 365.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.09118, allocations: 91.89 kB / 365.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.09163, allocations: 156 kB / 366.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.09164, allocations: 4 kB / 366.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.09164, allocations: 4 kB / 366.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.09165, allocations: 3.984 kB / 366.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.09404, allocations: 2.261 MB / 368.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.09406, allocations: 16 kB / 368.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.09426, allocations: 103.8 kB / 368.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.09437, allocations: 154.7 kB / 368.6 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.09438, allocations: 8 kB / 368.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.09441, allocations: 19.94 kB / 368.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.09441, allocations: 19.92 kB / 368.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.09442, allocations: 8 kB / 368.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.09491, allocations: 0.641 MB / 369.3 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.09499, allocations: 23.98 kB / 369.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.09518, allocations: 12 kB / 369.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.09526, allocations: 63.67 kB / 369.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.09529, allocations: 24 kB / 369.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004717/0.09576, allocations: 0.5487 MB / 370 MB, free: 5.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09576, allocations: 0 / 370 MB, free: 5.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001679/0.09744, allocations: 0.7045 MB / 370.7 MB, free: 5.055 MB / 362.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.0002421/0.09768, allocations: 132.1 kB / 370.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.09873, allocations: 1.18 MB / 372 MB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.883e-05/0.09882, allocations: 59.92 kB / 372.1 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.09905, allocations: 209.3 kB / 372.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.1003, allocations: 1.073 MB / 373.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/0.1055, allocations: 4.617 MB / 378 MB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.1061, allocations: 0.7464 MB / 378.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.1065, allocations: 234.9 kB / 378.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.1068, allocations: 259.3 kB / 379.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.103e-06/0.1068, allocations: 0 / 379.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of Templates: time 0.01815/0.1249, allocations: 9.816 MB / 389 MB, free: 2.48 MB / 378.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9260780485346913]