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.0007848/0.0007848, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003029/0.003029, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 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 0.8164/0.8164, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.235/0.235, allocations: 34.25 MB / 295.7 MB, free: 0.707 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.624e-06/1.624e-06, allocations: 3.938 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.997e-05, allocations: 4.25 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1939/0.194, allocations: 8.412 MB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.1969, allocations: 2.774 MB / 454.6 MB, free: 38.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.1973, allocations: 55.5 kB / 454.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.199, allocations: 2.033 MB / 456.7 MB, free: 37.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.2002, allocations: 1.176 MB / 457.9 MB, free: 36.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.2005, allocations: 317.3 kB / 458.2 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.2017, allocations: 2.357 MB / 460.6 MB, free: 35.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009408/0.2027, allocations: 1.749 MB / 462.3 MB, free: 34.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.2033, allocations: 1.281 MB / 463.6 MB, free: 34.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.204, allocations: 1.134 MB / 464.7 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.2041, allocations: 196.1 kB / 464.9 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005466/0.2047, allocations: 0.6495 MB / 465.6 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.2052, allocations: 1.174 MB / 466.7 MB, free: 33.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.2055, allocations: 0.7172 MB / 467.4 MB, free: 33.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.2076, allocations: 4.287 MB / 471.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2076, allocations: 0 / 471.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2076, allocations: 0 / 471.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.313e-05/0.2077, allocations: 3.25 kB / 471.7 MB, free: 31.55 MB / 410.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.002303/0.21, allocations: 2.837 MB / 474.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.21, allocations: 9.438 kB / 474.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.2123, allocations: 1.591 MB / 476.2 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.2135, allocations: 1.276 MB / 477.5 MB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.2136, allocations: 143.9 kB / 477.6 MB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.2138, allocations: 190.7 kB / 477.8 MB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005167/0.2189, allocations: 6.249 MB / 484 MB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.219, allocations: 20.22 kB / 484 MB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.2191, allocations: 91.72 kB / 484.1 MB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/0.2205, allocations: 1.34 MB / 485.5 MB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006031/0.2265, allocations: 5.337 MB / 490.8 MB, free: 24.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.2403, allocations: 18.37 MB / 0.4972 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.2427, allocations: 1.567 MB / 0.4988 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.2432, allocations: 0.6359 MB / 0.4994 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/0.2464, allocations: 3.121 MB / 0.5024 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.2464, allocations: 39.06 kB / 0.5025 GB, free: 8.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.927e-06/0.2464, allocations: 0 / 0.5025 GB, free: 8.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00268/0.2491, allocations: 2.112 MB / 0.5045 GB, free: 6.508 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2491, allocations: 59.84 kB / 0.5046 GB, free: 6.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.2503, allocations: 1.939 MB / 0.5065 GB, free: 4.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.2504, allocations: 33.7 kB / 0.5065 GB, free: 4.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/0.2508, allocations: 1.903 MB / 0.5084 GB, free: 2.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.62e-05/0.2509, allocations: 325.6 kB / 0.5087 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.2512, allocations: 0.6078 MB / 0.5093 GB, free: 1.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.2512, allocations: 349.9 kB / 0.5096 GB, free: 1.238 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.2519, allocations: 0.8881 MB / 0.5105 GB, free: 356 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.2534, allocations: 2.755 MB / 0.5132 GB, free: 12.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.2564, allocations: 3.966 MB / 0.5171 GB, free: 7.762 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.2564, allocations: 20 kB / 0.5171 GB, free: 7.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003005/0.2594, allocations: 3.524 MB / 0.5205 GB, free: 4.215 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.2595, allocations: 33.69 kB / 0.5206 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-05/0.2595, allocations: 68 kB / 0.5206 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.76e-05/0.2596, allocations: 88 kB / 0.5207 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/0.2605, allocations: 0.655 MB / 0.5213 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.744e-05/0.2606, allocations: 123.5 kB / 0.5215 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009718/0.2616, allocations: 429.1 kB / 0.5219 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.2617, allocations: 184 kB / 0.522 GB, free: 2.652 MB / 426.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.001449/0.2632, allocations: 1.343 MB / 0.5234 GB, free: 1.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2633, allocations: 154.9 kB / 0.5235 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.2636, allocations: 192 kB / 0.5237 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.2636, allocations: 8 kB / 0.5237 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.2636, allocations: 0 / 0.5237 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2636, allocations: 7.922 kB / 0.5237 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.2668, allocations: 3.091 MB / 0.5267 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.2668, allocations: 8 kB / 0.5267 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.267, allocations: 107.3 kB / 0.5268 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.267, allocations: 8 kB / 0.5268 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.267, allocations: 20 kB / 0.5269 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.267, allocations: 19.88 kB / 0.5269 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.267, allocations: 14.92 kB / 0.5269 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.2679, allocations: 1.231 MB / 0.5281 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.2681, allocations: 154.8 kB / 0.5282 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.2681, allocations: 16 kB / 0.5283 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.2683, allocations: 27.97 kB / 0.5283 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.2684, allocations: 67.67 kB / 0.5283 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.2684, allocations: 31.98 kB / 0.5284 GB, free: 11.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008769/0.2693, allocations: 1.11 MB / 0.5295 GB, free: 10.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/0.2693, allocations: 0 / 0.5295 GB, free: 10.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001469/0.2708, allocations: 0.7122 MB / 0.5302 GB, free: 10.11 MB / 442.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.0002398/0.271, allocations: 147 kB / 0.5303 GB, free: 9.949 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.2728, allocations: 1.955 MB / 0.5322 GB, free: 8.012 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2728, allocations: 4 kB / 0.5322 GB, free: 8.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.2731, allocations: 437.4 kB / 0.5326 GB, free: 7.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.2737, allocations: 176.9 kB / 0.5328 GB, free: 7.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.2792, allocations: 5.394 MB / 0.5381 GB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.2806, allocations: 1.704 MB / 0.5397 GB, free: 156 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.2808, allocations: 136.5 kB / 0.5399 GB, free: 20 kB / 442.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2808, allocations: 3.938 kB / 0.5399 GB, free: 16 kB / 442.7 MB Notification: Performance of Templates: time 0.02855/0.3094, allocations: 30.06 MB / 0.5692 GB, free: 2.031 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] 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.985954692587256]