Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001281/0.001281, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001345/0.001345, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.412/1.412, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1982/0.1982, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.288e-05, allocations: 2.281 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1923/0.1923, allocations: 8.412 MB / 448.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005163/0.1975, allocations: 2.779 MB / 451.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.1983, allocations: 57.39 kB / 451.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.2017, allocations: 2.049 MB / 453.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.204, allocations: 1.166 MB / 454.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.2047, allocations: 315.8 kB / 454.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002573/0.2073, allocations: 2.366 MB / 457.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.2091, allocations: 1.745 MB / 459 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.2105, allocations: 1.283 MB / 460.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.2121, allocations: 1.144 MB / 461.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.2125, allocations: 193.5 kB / 461.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.2137, allocations: 0.6382 MB / 462.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000901/0.2146, allocations: 1.178 MB / 463.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008263/0.2154, allocations: 0.7155 MB / 464.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003738/0.2192, allocations: 4.286 MB / 468.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2192, allocations: 5.25 kB / 468.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2192, allocations: 0 / 468.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.612e-05/0.2192, allocations: 0 / 468.4 MB, free: 8.914 MB / 366.1 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.004264/0.2235, allocations: 2.83 MB / 471.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2235, allocations: 9.469 kB / 471.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.2284, allocations: 1.597 MB / 472.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.2305, allocations: 1.276 MB / 474.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/0.2306, allocations: 147.7 kB / 474.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/0.2309, allocations: 189.2 kB / 474.4 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007378/0.2383, allocations: 6.252 MB / 480.7 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.2383, allocations: 19.81 kB / 480.7 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/0.2385, allocations: 83.91 kB / 480.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001846/0.2404, allocations: 1.348 MB / 482.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009581/0.2499, allocations: 5.342 MB / 487.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.2747, allocations: 18.35 MB / 0.494 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.2788, allocations: 1.566 MB / 0.4955 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009342/0.2797, allocations: 0.6501 MB / 0.4961 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006137/0.2858, allocations: 3.108 MB / 0.4992 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.2859, allocations: 39.06 kB / 0.4992 GB, free: 1.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.464e-06/0.2859, allocations: 7.938 kB / 0.4992 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.00555/0.2914, allocations: 2.1 MB / 0.5013 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.2915, allocations: 59.91 kB / 0.5013 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.2939, allocations: 1.939 MB / 0.5032 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.294, allocations: 33.7 kB / 0.5033 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.2953, allocations: 1.899 MB / 0.5051 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.2956, allocations: 333.5 kB / 0.5054 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007979/0.2964, allocations: 0.6078 MB / 0.506 GB, free: 10.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2965, allocations: 349.9 kB / 0.5064 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.2978, allocations: 0.8881 MB / 0.5072 GB, free: 9.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.3007, allocations: 2.751 MB / 0.5099 GB, free: 5.977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004719/0.3054, allocations: 3.964 MB / 0.5138 GB, free: 1.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/0.3054, allocations: 20.88 kB / 0.5138 GB, free: 1.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005665/0.3111, allocations: 3.524 MB / 0.5172 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.3111, allocations: 35.94 kB / 0.5173 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.237e-05/0.3112, allocations: 64 kB / 0.5173 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.3113, allocations: 96.02 kB / 0.5174 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.3133, allocations: 0.6511 MB / 0.5181 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/0.3134, allocations: 127.5 kB / 0.5182 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.3152, allocations: 420.9 kB / 0.5186 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.3155, allocations: 193 kB / 0.5188 GB, free: 11.96 MB / 430.1 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.002341/0.3178, allocations: 1.346 MB / 0.5201 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.3181, allocations: 154.9 kB / 0.5202 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.3184, allocations: 188 kB / 0.5204 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.3184, allocations: 8 kB / 0.5204 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3184, allocations: 0 / 0.5204 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3184, allocations: 7.984 kB / 0.5204 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/0.3237, allocations: 3.083 MB / 0.5234 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.3237, allocations: 4 kB / 0.5234 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.3241, allocations: 113.9 kB / 0.5236 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.3242, allocations: 8 kB / 0.5236 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.3242, allocations: 20 kB / 0.5236 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.3242, allocations: 11.94 kB / 0.5236 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.3242, allocations: 15.88 kB / 0.5236 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.3258, allocations: 1.242 MB / 0.5248 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.3261, allocations: 162.7 kB / 0.525 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.3262, allocations: 20 kB / 0.525 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.3267, allocations: 27.97 kB / 0.525 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3268, allocations: 59.75 kB / 0.5251 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.3268, allocations: 27.98 kB / 0.5251 GB, free: 5.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001532/0.3284, allocations: 1.114 MB / 0.5262 GB, free: 4.121 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3284, allocations: 0 / 0.5262 GB, free: 4.121 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002879/0.3313, allocations: 0.7122 MB / 0.5269 GB, free: 3.406 MB / 430.1 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.0002918/0.3315, allocations: 139 kB / 0.527 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.3343, allocations: 1.964 MB / 0.5289 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3343, allocations: 0 / 0.5289 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.3349, allocations: 437.8 kB / 0.5294 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009961/0.3359, allocations: 198.1 kB / 0.5295 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008618/0.3445, allocations: 5.065 MB / 0.5345 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/0.3471, allocations: 1.708 MB / 0.5362 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002117/0.3492, allocations: 0.939 MB / 0.5371 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.3495, allocations: 120.4 kB / 0.5372 GB, free: 8.707 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3495, allocations: 0 / 0.5372 GB, free: 8.707 MB / 446.1 MB Notification: Performance of Templates: time 0.02798/0.3775, allocations: 11.56 MB / 0.5485 GB, free: 13.34 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.104264087975025]