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.001894/0.001894, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001987/0.001987, allocations: 164.8 kB / 24.27 MB, free: 156 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.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.613 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.3432/0.3432, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.673e-06/1.673e-06, allocations: 3.938 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.554e-05, allocations: 4.422 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01282/0.01284, allocations: 9.161 MB / 386.4 MB, free: 9.699 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006581/0.01942, allocations: 2.862 MB / 389.2 MB, free: 6.828 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009985/0.02042, allocations: 55.81 kB / 389.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.0249, allocations: 2.134 MB / 391.4 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.0281, allocations: 1.174 MB / 392.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.02892, allocations: 319.2 kB / 392.9 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003587/0.03251, allocations: 2.367 MB / 395.3 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.03488, allocations: 1.797 MB / 397.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.03672, allocations: 1.298 MB / 398.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.03861, allocations: 1.177 MB / 399.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003531/0.03897, allocations: 196 kB / 399.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.04022, allocations: 0.6357 MB / 400.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.04149, allocations: 1.184 MB / 401.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.04253, allocations: 0.728 MB / 402.3 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005279/0.04781, allocations: 4.291 MB / 406.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.04781, allocations: 0 / 406.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.04782, allocations: 0 / 406.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.483e-05/0.04788, allocations: 0 / 406.6 MB, free: 5.398 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.005835/0.05372, allocations: 3.403 MB / 410 MB, free: 1.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.05376, allocations: 12.03 kB / 410 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005906/0.05966, allocations: 1.875 MB / 411.9 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.06262, allocations: 1.218 MB / 413.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.06276, allocations: 148 kB / 413.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.06312, allocations: 184.3 kB / 413.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00712/0.07024, allocations: 3.582 MB / 417 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/0.07029, allocations: 11.88 kB / 417 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.07053, allocations: 87.91 kB / 417.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002272/0.0728, allocations: 1.344 MB / 418.4 MB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005865/0.07867, allocations: 2.035 MB / 420.5 MB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1903/0.2689, allocations: 24.49 MB / 444.9 MB, free: 82.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.2719, allocations: 0.9069 MB / 445.9 MB, free: 82.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.2723, allocations: 248.9 kB / 446.1 MB, free: 82.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005471/0.2778, allocations: 2.712 MB / 448.8 MB, free: 81.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2778, allocations: 43.77 kB / 448.9 MB, free: 81.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.845e-06/0.2778, allocations: 2.406 kB / 448.9 MB, free: 81.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004429/0.2823, allocations: 1.32 MB / 450.2 MB, free: 81.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2823, allocations: 58.25 kB / 450.2 MB, free: 81.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.2847, allocations: 2.264 MB / 452.5 MB, free: 81.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2847, allocations: 36.89 kB / 452.5 MB, free: 81.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000918/0.2857, allocations: 2.107 MB / 454.6 MB, free: 80.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.2859, allocations: 364.5 kB / 455 MB, free: 80.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008151/0.2867, allocations: 0.7827 MB / 455.8 MB, free: 79.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2868, allocations: 0.5457 MB / 456.3 MB, free: 79.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/0.2875, allocations: 315.5 kB / 456.6 MB, free: 79.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.2899, allocations: 3.178 MB / 459.8 MB, free: 75.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.293, allocations: 3.823 MB / 463.6 MB, free: 71.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-05/0.293, allocations: 18.31 kB / 463.7 MB, free: 71.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003671/0.2967, allocations: 2.55 MB / 466.2 MB, free: 70.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.2968, allocations: 32.06 kB / 466.2 MB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.528e-05/0.2968, allocations: 67.91 kB / 466.3 MB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.954e-05/0.2969, allocations: 83.62 kB / 466.4 MB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.2986, allocations: 0.6576 MB / 467 MB, free: 70.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.499e-05/0.2987, allocations: 132 kB / 467.2 MB, free: 70.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.3006, allocations: 415.6 kB / 467.6 MB, free: 69.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.3009, allocations: 188.5 kB / 467.8 MB, free: 69.92 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.001065/0.3019, allocations: 478.1 kB / 468.2 MB, free: 69.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.3021, allocations: 174.2 kB / 468.4 MB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.3025, allocations: 158.3 kB / 468.5 MB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.3025, allocations: 10.19 kB / 468.6 MB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.3025, allocations: 0 / 468.6 MB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3025, allocations: 7.25 kB / 468.6 MB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/0.3076, allocations: 3.528 MB / 472.1 MB, free: 67.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.3076, allocations: 6.125 kB / 472.1 MB, free: 67.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.308, allocations: 102.7 kB / 472.2 MB, free: 67.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.308, allocations: 9.094 kB / 472.2 MB, free: 67.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.308, allocations: 26.53 kB / 472.2 MB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.308, allocations: 9.875 kB / 472.2 MB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.308, allocations: 12.91 kB / 472.3 MB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.3088, allocations: 0.954 MB / 473.2 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.3091, allocations: 152.5 kB / 473.4 MB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.3092, allocations: 16.88 kB / 473.4 MB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.3096, allocations: 25.27 kB / 473.4 MB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.3097, allocations: 64.3 kB / 473.5 MB, free: 66.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.3097, allocations: 28 kB / 473.5 MB, free: 66.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009748/0.3107, allocations: 0.9243 MB / 474.4 MB, free: 66.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3107, allocations: 4 kB / 474.4 MB, free: 66.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002432/0.3131, allocations: 0.7066 MB / 475.1 MB, free: 66.01 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.0003134/0.3134, allocations: 139.5 kB / 475.3 MB, free: 65.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.3157, allocations: 1.411 MB / 476.7 MB, free: 65.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3157, allocations: 1.094 kB / 476.7 MB, free: 65.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.3161, allocations: 244 kB / 476.9 MB, free: 65.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009434/0.317, allocations: 193.1 kB / 477.1 MB, free: 65.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/0.3232, allocations: 4.462 MB / 481.6 MB, free: 62.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/0.325, allocations: 1.512 MB / 483.1 MB, free: 62.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001748/0.3267, allocations: 0.8053 MB / 483.9 MB, free: 62.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.327, allocations: 117.1 kB / 484 MB, free: 62.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.327, allocations: 0 / 484 MB, free: 62.21 MB / 410.7 MB Notification: Performance of Templates: time 0.02356/0.3505, allocations: 11.49 MB / 495.5 MB, free: 60.88 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","/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.5641130360309035]