Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002587/0.002587, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3427/0.3427, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.894e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01446/0.01449, allocations: 9.16 MB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.02281, allocations: 2.869 MB / 389.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.02436, allocations: 55.81 kB / 389.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004781/0.02914, allocations: 2.134 MB / 391.5 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.03274, allocations: 1.174 MB / 392.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009563/0.03369, allocations: 323.2 kB / 393 MB, free: 3.219 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004049/0.03774, allocations: 2.36 MB / 395.3 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.04046, allocations: 1.801 MB / 397.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.04243, allocations: 1.29 MB / 398.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.04443, allocations: 1.169 MB / 399.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004196/0.04484, allocations: 200 kB / 399.8 MB, free: 12.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.04622, allocations: 0.6435 MB / 400.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.04758, allocations: 1.188 MB / 401.6 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.04864, allocations: 0.7163 MB / 402.3 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006132/0.05478, allocations: 4.295 MB / 406.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.05478, allocations: 4 kB / 406.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.05478, allocations: 0 / 406.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001218/0.0549, allocations: 0 / 406.6 MB, free: 5.48 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.007008/0.06191, allocations: 3.399 MB / 410 MB, free: 2.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.06196, allocations: 12.02 kB / 410.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/0.06828, allocations: 1.875 MB / 411.9 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/0.07214, allocations: 1.214 MB / 413.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.07231, allocations: 144 kB / 413.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006081/0.07292, allocations: 188.3 kB / 413.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008329/0.08125, allocations: 3.586 MB / 417.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/0.08131, allocations: 15.88 kB / 417.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.08156, allocations: 87.91 kB / 417.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002418/0.08398, allocations: 1.34 MB / 418.5 MB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007067/0.09105, allocations: 2.039 MB / 420.5 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1983/0.2893, allocations: 24.48 MB / 445 MB, free: 82.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.2925, allocations: 0.9063 MB / 445.9 MB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.293, allocations: 249.1 kB / 446.2 MB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006095/0.2991, allocations: 2.712 MB / 448.9 MB, free: 81.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2991, allocations: 44.56 kB / 448.9 MB, free: 81.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.587e-06/0.2991, allocations: 0 / 448.9 MB, free: 81.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004362/0.3035, allocations: 1.317 MB / 450.2 MB, free: 81.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.3035, allocations: 57.62 kB / 450.3 MB, free: 81.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.306, allocations: 2.267 MB / 452.6 MB, free: 81.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.3061, allocations: 34.58 kB / 452.6 MB, free: 81.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.3071, allocations: 2.11 MB / 454.7 MB, free: 80.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.3074, allocations: 363 kB / 455.1 MB, free: 80.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008179/0.3082, allocations: 0.7789 MB / 455.8 MB, free: 79.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3083, allocations: 0.5453 MB / 456.4 MB, free: 79.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.3089, allocations: 319.3 kB / 456.7 MB, free: 79.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.3104, allocations: 3.181 MB / 459.9 MB, free: 75.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.3131, allocations: 3.818 MB / 463.7 MB, free: 71.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-05/0.3131, allocations: 22.61 kB / 463.7 MB, free: 71.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003631/0.3168, allocations: 2.547 MB / 466.3 MB, free: 70.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.3168, allocations: 33.53 kB / 466.3 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.107e-05/0.3169, allocations: 65.19 kB / 466.4 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.114e-05/0.3169, allocations: 88 kB / 466.5 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.3185, allocations: 0.6572 MB / 467.1 MB, free: 70.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.438e-05/0.3186, allocations: 128.8 kB / 467.2 MB, free: 70.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.3202, allocations: 413.2 kB / 467.6 MB, free: 70 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.3204, allocations: 186.6 kB / 467.8 MB, free: 69.98 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.0008585/0.3213, allocations: 477.3 kB / 468.3 MB, free: 69.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.3214, allocations: 178.4 kB / 468.5 MB, free: 69.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.3217, allocations: 156.1 kB / 468.6 MB, free: 69.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.3217, allocations: 12.12 kB / 468.6 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.3217, allocations: 6.656 kB / 468.6 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3218, allocations: 3.375 kB / 468.6 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/0.3272, allocations: 3.53 MB / 472.2 MB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.3272, allocations: 5.375 kB / 472.2 MB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.3276, allocations: 103.6 kB / 472.3 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.3276, allocations: 9.031 kB / 472.3 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.3276, allocations: 20 kB / 472.3 MB, free: 67.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-05/0.3276, allocations: 14.52 kB / 472.3 MB, free: 67.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.3276, allocations: 13.94 kB / 472.3 MB, free: 67.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.3286, allocations: 0.9481 MB / 473.3 MB, free: 66.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.3288, allocations: 153.5 kB / 473.4 MB, free: 66.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.329, allocations: 19.69 kB / 473.4 MB, free: 66.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.3294, allocations: 26.34 kB / 473.5 MB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.3295, allocations: 59.73 kB / 473.5 MB, free: 66.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.3295, allocations: 31.14 kB / 473.6 MB, free: 66.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.3306, allocations: 0.9294 MB / 474.5 MB, free: 66.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3306, allocations: 0 / 474.5 MB, free: 66.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002409/0.333, allocations: 0.7076 MB / 475.2 MB, free: 66.07 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.0003128/0.3333, allocations: 138.7 kB / 475.3 MB, free: 65.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.3356, allocations: 1.408 MB / 476.7 MB, free: 65.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3356, allocations: 1.25 kB / 476.7 MB, free: 65.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.336, allocations: 246.6 kB / 477 MB, free: 65.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.337, allocations: 188.2 kB / 477.2 MB, free: 65.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/0.3438, allocations: 4.467 MB / 481.6 MB, free: 62.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/0.3457, allocations: 1.506 MB / 483.1 MB, free: 62.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001965/0.3477, allocations: 0.8154 MB / 484 MB, free: 62.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.348, allocations: 111.7 kB / 484.1 MB, free: 62.26 MB / 410.7 MB Notification: Performance of SimCode: time 2.414e-06/0.348, allocations: 0 / 484.1 MB, free: 62.26 MB / 410.7 MB Notification: Performance of Templates: time 0.02619/0.3742, allocations: 11.5 MB / 495.6 MB, free: 60.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.650210032006726]