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.001451/0.001451, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001548/0.001548, allocations: 156.9 kB / 24.27 MB, free: 176 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.485/1.485, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3393/0.3393, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 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.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.418e-05, allocations: 3.438 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0118/0.01182, allocations: 8.422 MB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.01796, allocations: 2.788 MB / 388.4 MB, free: 7.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/0.01894, allocations: 55.81 kB / 388.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004465/0.0234, allocations: 2.079 MB / 390.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.02636, allocations: 1.167 MB / 391.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.02718, allocations: 323.1 kB / 392 MB, free: 4.051 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00348/0.03066, allocations: 2.368 MB / 394.4 MB, free: 1.676 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.03333, allocations: 1.793 MB / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.03556, allocations: 1.286 MB / 397.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.03758, allocations: 1.138 MB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.03806, allocations: 196 kB / 398.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.03944, allocations: 0.6435 MB / 399.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.04089, allocations: 1.173 MB / 400.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.04217, allocations: 0.7163 MB / 401.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/0.04793, allocations: 4.291 MB / 405.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.04794, allocations: 0 / 405.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.04794, allocations: 4 kB / 405.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001592/0.0481, allocations: 0 / 405.6 MB, free: 6.371 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.00683/0.05493, allocations: 2.827 MB / 408.5 MB, free: 3.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.05497, allocations: 12.03 kB / 408.5 MB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00581/0.06078, allocations: 1.926 MB / 410.4 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.06358, allocations: 1.297 MB / 411.7 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.06372, allocations: 148 kB / 411.8 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/0.06408, allocations: 184.4 kB / 412 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.07474, allocations: 6.251 MB / 418.3 MB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/0.0748, allocations: 15.88 kB / 418.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000344/0.07515, allocations: 83.91 kB / 418.4 MB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/0.07748, allocations: 1.344 MB / 419.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.08881, allocations: 5.326 MB / 425 MB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1928/0.2817, allocations: 18.42 MB / 443.4 MB, free: 94.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/0.2854, allocations: 1.572 MB / 445 MB, free: 94.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006877/0.2861, allocations: 0.6392 MB / 445.7 MB, free: 94.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005499/0.2916, allocations: 3.111 MB / 448.8 MB, free: 94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2916, allocations: 41.31 kB / 448.8 MB, free: 93.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.2916, allocations: 0 / 448.8 MB, free: 93.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.006747/0.2983, allocations: 2.136 MB / 450.9 MB, free: 93.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2984, allocations: 57.59 kB / 451 MB, free: 93.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/0.3015, allocations: 1.936 MB / 452.9 MB, free: 93.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.3016, allocations: 40.12 kB / 453 MB, free: 92.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.3026, allocations: 1.901 MB / 454.9 MB, free: 91.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.3029, allocations: 323.2 kB / 455.2 MB, free: 91.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009099/0.3038, allocations: 0.6092 MB / 455.8 MB, free: 91.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.3039, allocations: 351.3 kB / 456.1 MB, free: 90.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.3054, allocations: 0.8904 MB / 457 MB, free: 90.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.3078, allocations: 2.749 MB / 459.8 MB, free: 87.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/0.3125, allocations: 3.965 MB / 463.8 MB, free: 84.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.767e-05/0.3126, allocations: 19.62 kB / 463.8 MB, free: 84.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005061/0.3176, allocations: 3.679 MB / 467.4 MB, free: 83.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/0.3177, allocations: 33.09 kB / 467.5 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.3178, allocations: 67 kB / 467.5 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.281e-05/0.3179, allocations: 87.97 kB / 467.6 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.3196, allocations: 0.6588 MB / 468.3 MB, free: 83.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.776e-05/0.3197, allocations: 131.4 kB / 468.4 MB, free: 83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.3215, allocations: 414 kB / 468.8 MB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.3218, allocations: 189.6 kB / 469 MB, free: 82.72 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.001659/0.3235, allocations: 1.343 MB / 470.4 MB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.3237, allocations: 176.4 kB / 470.5 MB, free: 81.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.324, allocations: 188.8 kB / 470.7 MB, free: 81.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.3241, allocations: 12.97 kB / 470.7 MB, free: 81.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3241, allocations: 3.031 kB / 470.7 MB, free: 81.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3241, allocations: 3.375 kB / 470.7 MB, free: 81.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/0.3291, allocations: 3.09 MB / 473.8 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.3291, allocations: 9.406 kB / 473.8 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.3295, allocations: 102.7 kB / 473.9 MB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.3295, allocations: 9.188 kB / 473.9 MB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.3296, allocations: 30.22 kB / 474 MB, free: 80.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.3296, allocations: 13.53 kB / 474 MB, free: 80.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.3296, allocations: 10.91 kB / 474 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.331, allocations: 1.254 MB / 475.2 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.3313, allocations: 152 kB / 475.4 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.3315, allocations: 18.84 kB / 475.4 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.3321, allocations: 28.94 kB / 475.4 MB, free: 79.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3322, allocations: 62.36 kB / 475.5 MB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-05/0.3322, allocations: 29.5 kB / 475.5 MB, free: 79.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001678/0.3339, allocations: 1.114 MB / 476.6 MB, free: 79.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3339, allocations: 0 / 476.6 MB, free: 79.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002886/0.3368, allocations: 0.7098 MB / 477.4 MB, free: 79.08 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.0003811/0.3372, allocations: 148.1 kB / 477.5 MB, free: 78.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003026/0.3402, allocations: 1.958 MB / 479.5 MB, free: 78.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3402, allocations: 1.281 kB / 479.5 MB, free: 78.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.3407, allocations: 436.3 kB / 479.9 MB, free: 78.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3419, allocations: 187.5 kB / 480.1 MB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.3535, allocations: 5.161 MB / 485.2 MB, free: 75.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/0.3561, allocations: 1.71 MB / 486.9 MB, free: 75.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002028/0.3581, allocations: 0.9412 MB / 487.9 MB, free: 75.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.3586, allocations: 113.2 kB / 488 MB, free: 75.05 MB / 410.7 MB Notification: Performance of SimCode: time 3.426e-06/0.3586, allocations: 0 / 488 MB, free: 75.05 MB / 410.7 MB Notification: Performance of Templates: time 0.02642/0.385, allocations: 11.64 MB / 499.6 MB, free: 71.57 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.489711225032806]