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.001975/0.001975, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002131/0.002131, allocations: 160.8 kB / 24.27 MB, free: 152 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.581/1.581, allocations: 177 MB / 204.4 MB, free: 5.641 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.35/0.35, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.926e-05, allocations: 2.312 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01324/0.01327, allocations: 9.168 MB / 386.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006387/0.01965, allocations: 2.869 MB / 389.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.02041, allocations: 55.81 kB / 389.3 MB, free: 6.781 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.02483, allocations: 2.13 MB / 391.4 MB, free: 4.645 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.02754, allocations: 1.178 MB / 392.6 MB, free: 3.461 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.0283, allocations: 319.2 kB / 392.9 MB, free: 3.148 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003604/0.0319, allocations: 2.368 MB / 395.3 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.03435, allocations: 1.793 MB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.03617, allocations: 1.298 MB / 398.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.03805, allocations: 1.177 MB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.03843, allocations: 192 kB / 399.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.03976, allocations: 0.6357 MB / 400.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.0413, allocations: 1.192 MB / 401.6 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.04232, allocations: 0.7163 MB / 402.3 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005633/0.04795, allocations: 4.298 MB / 406.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.04796, allocations: 0 / 406.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.04796, allocations: 0 / 406.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.692e-05/0.04803, allocations: 0 / 406.6 MB, free: 5.406 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.006755/0.05479, allocations: 3.407 MB / 410 MB, free: 1.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.05483, allocations: 8.031 kB / 410 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006137/0.06097, allocations: 1.871 MB / 411.9 MB, free: 68 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.06421, allocations: 1.218 MB / 413.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.06435, allocations: 144 kB / 413.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.06473, allocations: 184.3 kB / 413.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007681/0.07241, allocations: 3.594 MB / 417 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/0.07246, allocations: 11.88 kB / 417 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.07273, allocations: 87.91 kB / 417.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/0.07514, allocations: 1.344 MB / 418.4 MB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006129/0.08126, allocations: 2.039 MB / 420.5 MB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1898/0.271, allocations: 24.48 MB / 444.9 MB, free: 82.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.2741, allocations: 0.9031 MB / 445.8 MB, free: 82.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.2746, allocations: 256.3 kB / 446.1 MB, free: 82.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005937/0.2805, allocations: 2.712 MB / 448.8 MB, free: 82.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2806, allocations: 40.64 kB / 448.9 MB, free: 81.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.856e-06/0.2806, allocations: 0 / 448.9 MB, free: 81.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004433/0.285, allocations: 1.321 MB / 450.2 MB, free: 81.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.285, allocations: 57.59 kB / 450.2 MB, free: 81.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.2878, allocations: 2.268 MB / 452.5 MB, free: 81.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.2878, allocations: 33.14 kB / 452.5 MB, free: 81.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.2891, allocations: 2.111 MB / 454.6 MB, free: 80.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.2893, allocations: 361 kB / 455 MB, free: 80.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009486/0.2903, allocations: 0.7844 MB / 455.8 MB, free: 79.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2904, allocations: 0.5423 MB / 456.3 MB, free: 79.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.2911, allocations: 318.1 kB / 456.6 MB, free: 79.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.2928, allocations: 3.176 MB / 459.8 MB, free: 75.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.2955, allocations: 3.822 MB / 463.6 MB, free: 71.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.102e-05/0.2956, allocations: 21.69 kB / 463.6 MB, free: 71.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003535/0.2991, allocations: 2.542 MB / 466.2 MB, free: 70.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.2992, allocations: 34.72 kB / 466.2 MB, free: 70.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-05/0.2992, allocations: 63.97 kB / 466.3 MB, free: 70.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.106e-05/0.2993, allocations: 87.72 kB / 466.4 MB, free: 70.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.3009, allocations: 0.6593 MB / 467 MB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.32e-05/0.301, allocations: 125.7 kB / 467.2 MB, free: 70.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.3027, allocations: 416 kB / 467.6 MB, free: 70.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.3028, allocations: 192.8 kB / 467.7 MB, free: 70 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.0008571/0.3037, allocations: 477.4 kB / 468.2 MB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.3039, allocations: 172.6 kB / 468.4 MB, free: 69.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.3042, allocations: 159.9 kB / 468.5 MB, free: 69.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.3042, allocations: 13.66 kB / 468.6 MB, free: 69.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.3042, allocations: 0 / 468.6 MB, free: 69.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3042, allocations: 3.234 kB / 468.6 MB, free: 69.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.3097, allocations: 3.534 MB / 472.1 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3097, allocations: 6 kB / 472.1 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.31, allocations: 98.97 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.31, allocations: 12.94 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.3101, allocations: 20.69 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.3101, allocations: 8.844 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3101, allocations: 14.22 kB / 472.2 MB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000903/0.311, allocations: 0.9523 MB / 473.2 MB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.3112, allocations: 153.3 kB / 473.4 MB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.3114, allocations: 20.41 kB / 473.4 MB, free: 66.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.3118, allocations: 22 kB / 473.4 MB, free: 66.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.3119, allocations: 63.48 kB / 473.5 MB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.312, allocations: 34.84 kB / 473.5 MB, free: 66.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.313, allocations: 0.9258 MB / 474.4 MB, free: 66.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.313, allocations: 0 / 474.4 MB, free: 66.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0022/0.3152, allocations: 0.706 MB / 475.1 MB, free: 66.09 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.0002619/0.3155, allocations: 141.2 kB / 475.3 MB, free: 65.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.3177, allocations: 1.407 MB / 476.7 MB, free: 65.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3177, allocations: 1.469 kB / 476.7 MB, free: 65.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.3181, allocations: 247.4 kB / 476.9 MB, free: 65.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.3191, allocations: 193.6 kB / 477.1 MB, free: 65.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/0.3254, allocations: 4.459 MB / 481.6 MB, free: 62.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.3272, allocations: 1.513 MB / 483.1 MB, free: 62.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001742/0.3289, allocations: 0.8146 MB / 483.9 MB, free: 62.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.3292, allocations: 108.9 kB / 484 MB, free: 62.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.3292, allocations: 0 / 484 MB, free: 62.29 MB / 410.7 MB Notification: Performance of Templates: time 0.02422/0.3534, allocations: 11.5 MB / 495.5 MB, free: 60.96 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.704908765968867]