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.001051/0.001051, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001199/0.001199, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.953/0.953, allocations: 177 MB / 204.8 MB, free: 5.57 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.2948/0.2948, allocations: 34.87 MB / 296.3 MB, free: 476 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.904e-06/1.904e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.845e-05, allocations: 2.312 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.009024/0.009052, allocations: 9.226 MB / 388 MB, free: 8.785 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005833/0.01489, allocations: 2.873 MB / 390.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.01652, allocations: 55.81 kB / 390.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.01982, allocations: 2.138 MB / 393.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.0227, allocations: 1.182 MB / 394.2 MB, free: 2.516 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.02343, allocations: 315.2 kB / 394.5 MB, free: 2.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.02683, allocations: 2.366 MB / 396.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.02901, allocations: 1.801 MB / 398.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.03168, allocations: 1.294 MB / 400 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.03371, allocations: 1.169 MB / 401.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006015/0.03431, allocations: 192 kB / 401.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.03553, allocations: 0.6435 MB / 402 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.03656, allocations: 1.192 MB / 403.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.03763, allocations: 0.7203 MB / 403.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.04113, allocations: 2.716 MB / 406.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.04114, allocations: 0 / 406.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.04114, allocations: 0 / 406.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001773/0.04132, allocations: 0 / 406.6 MB, free: 6.047 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.004342/0.04566, allocations: 3.146 MB / 409.8 MB, free: 2.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.0457, allocations: 8.031 kB / 409.8 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.04904, allocations: 1.879 MB / 411.7 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.05108, allocations: 1.255 MB / 412.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/0.05117, allocations: 144 kB / 413.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.05142, allocations: 184.3 kB / 413.2 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005338/0.05676, allocations: 3.321 MB / 416.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/0.0568, allocations: 15.88 kB / 416.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.05696, allocations: 83.91 kB / 416.7 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.05819, allocations: 1.344 MB / 418 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004243/0.06243, allocations: 1.804 MB / 419.8 MB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/0.08415, allocations: 20.61 MB / 440.4 MB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.08685, allocations: 0.8849 MB / 441.3 MB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.08727, allocations: 228.2 kB / 441.5 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1664/0.2537, allocations: 2.578 MB / 444.1 MB, free: 93.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.2538, allocations: 42.64 kB / 444.1 MB, free: 93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 5.31e-06/0.2538, allocations: 0 / 444.1 MB, free: 93 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002937/0.2567, allocations: 1.296 MB / 445.4 MB, free: 92.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2567, allocations: 57.22 kB / 445.5 MB, free: 92.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.2585, allocations: 1.792 MB / 447.3 MB, free: 92.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.2586, allocations: 32.48 kB / 447.3 MB, free: 92.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009/0.2595, allocations: 2.017 MB / 449.3 MB, free: 91.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.2597, allocations: 337.5 kB / 449.7 MB, free: 91.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/0.2603, allocations: 0.6674 MB / 450.3 MB, free: 91.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2604, allocations: 0.5282 MB / 450.9 MB, free: 90.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.2609, allocations: 292 kB / 451.1 MB, free: 90.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.2622, allocations: 3.046 MB / 454.2 MB, free: 87.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.2644, allocations: 3.691 MB / 457.9 MB, free: 83.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.093e-05/0.2644, allocations: 19.56 kB / 457.9 MB, free: 83.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002961/0.2674, allocations: 2.496 MB / 460.4 MB, free: 83.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.2674, allocations: 33.75 kB / 460.4 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.43e-05/0.2675, allocations: 65.53 kB / 460.5 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-05/0.2676, allocations: 85.84 kB / 460.6 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.2687, allocations: 0.6572 MB / 461.2 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.596e-05/0.2688, allocations: 132.4 kB / 461.4 MB, free: 83.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2701, allocations: 416.8 kB / 461.8 MB, free: 82.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.2703, allocations: 191.5 kB / 462 MB, free: 82.9 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.0007838/0.271, allocations: 415.1 kB / 462.4 MB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.2712, allocations: 169.8 kB / 462.5 MB, free: 82.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.2713, allocations: 159 kB / 462.7 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.2714, allocations: 9.031 kB / 462.7 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.2714, allocations: 3.562 kB / 462.7 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2714, allocations: 3.234 kB / 462.7 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.2746, allocations: 2.863 MB / 465.6 MB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.2746, allocations: 5.906 kB / 465.6 MB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.2749, allocations: 112.7 kB / 465.7 MB, free: 81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.2749, allocations: 9.344 kB / 465.7 MB, free: 81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.2749, allocations: 17 kB / 465.7 MB, free: 81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.2749, allocations: 9.406 kB / 465.7 MB, free: 81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.2749, allocations: 9.875 kB / 465.7 MB, free: 81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.2756, allocations: 0.905 MB / 466.6 MB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.2758, allocations: 155.5 kB / 466.8 MB, free: 80.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.2759, allocations: 23.89 kB / 466.8 MB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.2761, allocations: 27.8 kB / 466.8 MB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.2762, allocations: 57.91 kB / 466.9 MB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.2762, allocations: 30.47 kB / 466.9 MB, free: 80.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006983/0.2769, allocations: 0.7738 MB / 467.7 MB, free: 79.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2769, allocations: 0 / 467.7 MB, free: 79.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001948/0.2789, allocations: 0.7027 MB / 468.4 MB, free: 79.6 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.0002957/0.2792, allocations: 147.9 kB / 468.5 MB, free: 79.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.2809, allocations: 1.263 MB / 469.8 MB, free: 79.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2809, allocations: 5.031 kB / 469.8 MB, free: 79.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.2812, allocations: 208.8 kB / 470 MB, free: 79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.2819, allocations: 198.2 kB / 470.2 MB, free: 78.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/0.2877, allocations: 4.389 MB / 474.6 MB, free: 76.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/0.2883, allocations: 0.7681 MB / 475.4 MB, free: 76.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001178/0.2895, allocations: 0.7984 MB / 476.2 MB, free: 76.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.2897, allocations: 117.4 kB / 476.3 MB, free: 76.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2897, allocations: 0 / 476.3 MB, free: 76.14 MB / 410.7 MB Notification: Performance of Templates: time 0.02514/0.3148, allocations: 12.03 MB / 488.3 MB, free: 74.81 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.6150319753214717]