Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001541/0.001541, allocations: 82.42 kB / 20.68 MB, free: 1.039 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.001538/0.001538, allocations: 168.3 kB / 23.96 MB, free: 4.164 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.419/1.419, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.1964/0.1964, 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.CutTorque3,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.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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.768e-05, allocations: 2.281 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.1825/0.1826, allocations: 8.401 MB / 448.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.1871, allocations: 2.784 MB / 451.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006874/0.1878, allocations: 56.31 kB / 451.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.1913, allocations: 2.049 MB / 453.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.1936, allocations: 1.166 MB / 454.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.1943, allocations: 315.9 kB / 454.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.197, allocations: 2.37 MB / 457.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.1988, allocations: 1.751 MB / 459 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.2003, allocations: 1.286 MB / 460.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.202, allocations: 1.137 MB / 461.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003774/0.2024, allocations: 193.7 kB / 461.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.2038, allocations: 0.6422 MB / 462.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.2051, allocations: 1.18 MB / 463.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008676/0.206, allocations: 0.7137 MB / 464.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003778/0.2098, allocations: 4.282 MB / 468.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2098, allocations: 5.094 kB / 468.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2098, allocations: 3.938 kB / 468.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.155e-05/0.2098, allocations: 0 / 468.4 MB, free: 8.918 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.00414/0.214, allocations: 2.83 MB / 471.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.214, allocations: 9.094 kB / 471.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/0.2188, allocations: 1.59 MB / 472.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.221, allocations: 1.287 MB / 474.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.2211, allocations: 147 kB / 474.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/0.2214, allocations: 185.6 kB / 474.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008465/0.2299, allocations: 6.255 MB / 480.7 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.2299, allocations: 15.81 kB / 480.7 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.2302, allocations: 91.91 kB / 480.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001862/0.232, allocations: 1.34 MB / 482.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.2428, allocations: 5.334 MB / 487.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02642/0.2692, allocations: 18.35 MB / 0.494 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.2734, allocations: 1.574 MB / 0.4955 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009512/0.2743, allocations: 0.6424 MB / 0.4961 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006554/0.2809, allocations: 3.111 MB / 0.4992 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.2809, allocations: 45.31 kB / 0.4992 GB, free: 1.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/0.2809, allocations: 0 / 0.4992 GB, free: 1.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005827/0.2867, allocations: 2.108 MB / 0.5013 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.2868, allocations: 59.89 kB / 0.5013 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.2895, allocations: 1.931 MB / 0.5032 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.2895, allocations: 41.7 kB / 0.5033 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.291, allocations: 1.895 MB / 0.5051 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.2913, allocations: 333.5 kB / 0.5054 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000841/0.2921, allocations: 0.6039 MB / 0.506 GB, free: 10.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.2923, allocations: 349.9 kB / 0.5064 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.2937, allocations: 0.8919 MB / 0.5072 GB, free: 9.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.2967, allocations: 2.751 MB / 0.5099 GB, free: 5.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/0.3016, allocations: 3.965 MB / 0.5138 GB, free: 1.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/0.3016, allocations: 24 kB / 0.5138 GB, free: 1.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00572/0.3073, allocations: 3.519 MB / 0.5172 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/0.3074, allocations: 40.89 kB / 0.5173 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.992e-05/0.3075, allocations: 68 kB / 0.5173 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.3076, allocations: 88 kB / 0.5174 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.3095, allocations: 0.6589 MB / 0.5181 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001216/0.3096, allocations: 123.5 kB / 0.5182 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.3117, allocations: 420.9 kB / 0.5186 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002617/0.312, allocations: 188 kB / 0.5188 GB, free: 11.97 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.002578/0.3145, allocations: 1.346 MB / 0.5201 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.3148, allocations: 154.9 kB / 0.5202 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.3152, allocations: 184 kB / 0.5204 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.3152, allocations: 12 kB / 0.5204 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3152, allocations: 0 / 0.5204 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3152, allocations: 3.984 kB / 0.5204 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/0.3209, allocations: 3.082 MB / 0.5234 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.3209, allocations: 9.969 kB / 0.5234 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.3213, allocations: 103.8 kB / 0.5235 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.3213, allocations: 12 kB / 0.5236 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.3213, allocations: 20 kB / 0.5236 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/0.3213, allocations: 12 kB / 0.5236 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.3214, allocations: 11.88 kB / 0.5236 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.3229, allocations: 1.257 MB / 0.5248 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.3232, allocations: 154.7 kB / 0.525 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.3234, allocations: 27.61 kB / 0.525 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.3238, allocations: 23.98 kB / 0.525 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3239, allocations: 63.73 kB / 0.5251 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.324, allocations: 28 kB / 0.5251 GB, free: 5.234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.3256, allocations: 1.114 MB / 0.5262 GB, free: 4.125 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3256, allocations: 0 / 0.5262 GB, free: 4.125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00246/0.3281, allocations: 0.7044 MB / 0.5269 GB, free: 3.418 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.0003074/0.3284, allocations: 151 kB / 0.527 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.3312, allocations: 1.956 MB / 0.5289 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3312, allocations: 0 / 0.5289 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.3318, allocations: 437.8 kB / 0.5294 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3328, allocations: 195.3 kB / 0.5295 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.3407, 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.002291/0.3429, allocations: 1.713 MB / 0.5362 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001957/0.3449, allocations: 0.9389 MB / 0.5371 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.3452, allocations: 112.5 kB / 0.5372 GB, free: 8.715 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3452, allocations: 4 kB / 0.5372 GB, free: 8.711 MB / 446.1 MB Notification: Performance of Templates: time 0.02736/0.3725, allocations: 11.55 MB / 0.5485 GB, free: 13.35 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.138177387416363]