Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009473/0.0009473, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004801/0.004801, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8915/0.8915, allocations: 177.2 MB / 205 MB, free: 5.738 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.2318/0.2318, allocations: 34.25 MB / 295.7 MB, free: 0.668 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.CutTorque3,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.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.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.089e-05, allocations: 2.281 kB / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.1682/0.1682, allocations: 8.424 MB / 451.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.1718, allocations: 2.777 MB / 454.6 MB, free: 38.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005339/0.1723, allocations: 57.66 kB / 454.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.174, allocations: 2.034 MB / 456.7 MB, free: 37.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.1751, allocations: 1.168 MB / 457.9 MB, free: 36.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1754, allocations: 317.2 kB / 458.2 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.1767, allocations: 2.357 MB / 460.6 MB, free: 35.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009924/0.1777, allocations: 1.752 MB / 462.3 MB, free: 34.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.1784, allocations: 1.283 MB / 463.6 MB, free: 34.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.1791, allocations: 1.139 MB / 464.7 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.1792, allocations: 197.3 kB / 464.9 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.1797, allocations: 0.6388 MB / 465.6 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.1801, allocations: 1.179 MB / 466.7 MB, free: 33.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.1805, allocations: 0.7157 MB / 467.5 MB, free: 33.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.1824, allocations: 4.289 MB / 471.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1824, allocations: 0 / 471.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1824, allocations: 3.469 kB / 471.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.1825, allocations: 0 / 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.002137/0.1846, allocations: 2.83 MB / 474.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1846, allocations: 9.375 kB / 474.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/0.1869, allocations: 1.596 MB / 476.2 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.1881, allocations: 1.271 MB / 477.5 MB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.1882, allocations: 148.1 kB / 477.6 MB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.1883, allocations: 189.3 kB / 477.8 MB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004758/0.1931, allocations: 6.256 MB / 484 MB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.1931, allocations: 17.78 kB / 484.1 MB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.1933, allocations: 86.16 kB / 484.1 MB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001285/0.1946, allocations: 1.345 MB / 485.5 MB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005917/0.2005, allocations: 5.335 MB / 490.8 MB, free: 24.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.2134, allocations: 18.37 MB / 0.4973 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.2158, allocations: 1.568 MB / 0.4988 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.2163, allocations: 0.6377 MB / 0.4994 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003055/0.2194, allocations: 3.111 MB / 0.5024 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.2194, allocations: 39.06 kB / 0.5025 GB, free: 8.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.185e-06/0.2194, allocations: 0 / 0.5025 GB, free: 8.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002637/0.222, allocations: 2.116 MB / 0.5045 GB, free: 6.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.2221, allocations: 59.84 kB / 0.5046 GB, free: 6.414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2232, allocations: 1.935 MB / 0.5065 GB, free: 4.469 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2232, allocations: 29.7 kB / 0.5065 GB, free: 4.434 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.2236, allocations: 1.911 MB / 0.5084 GB, free: 2.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.2238, allocations: 325.6 kB / 0.5087 GB, free: 2.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.2241, allocations: 0.6117 MB / 0.5093 GB, free: 1.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.2242, allocations: 345.9 kB / 0.5096 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.2248, allocations: 0.8881 MB / 0.5105 GB, free: 332 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.2263, allocations: 2.752 MB / 0.5132 GB, free: 12.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.2289, allocations: 3.967 MB / 0.5171 GB, free: 7.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/0.2289, allocations: 20 kB / 0.5171 GB, free: 7.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002946/0.2318, allocations: 3.528 MB / 0.5205 GB, free: 4.191 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.2319, allocations: 32 kB / 0.5206 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-05/0.2319, allocations: 68 kB / 0.5206 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.597e-05/0.232, allocations: 88 kB / 0.5207 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/0.2329, allocations: 0.6472 MB / 0.5213 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.239e-05/0.233, allocations: 136.9 kB / 0.5215 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/0.2339, allocations: 425.1 kB / 0.5219 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.234, allocations: 183 kB / 0.522 GB, free: 2.633 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.001421/0.2354, allocations: 1.347 MB / 0.5234 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2355, allocations: 154.9 kB / 0.5235 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.2357, allocations: 192 kB / 0.5237 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.2357, allocations: 8 kB / 0.5237 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.2357, allocations: 0 / 0.5237 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2357, allocations: 7.922 kB / 0.5237 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.2389, allocations: 3.087 MB / 0.5267 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.2389, allocations: 8 kB / 0.5267 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.2391, allocations: 103.8 kB / 0.5268 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.2391, allocations: 8 kB / 0.5268 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.2391, allocations: 20 kB / 0.5269 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.2391, allocations: 19.92 kB / 0.5269 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2391, allocations: 11.88 kB / 0.5269 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/0.24, allocations: 1.235 MB / 0.5281 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2401, allocations: 146.8 kB / 0.5282 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.2402, allocations: 23.98 kB / 0.5283 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.2404, allocations: 29.33 kB / 0.5283 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.2405, allocations: 67.67 kB / 0.5283 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.2405, allocations: 24 kB / 0.5284 GB, free: 11.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009342/0.2415, allocations: 1.118 MB / 0.5295 GB, free: 10.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.2415, allocations: 4 kB / 0.5295 GB, free: 10.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001706/0.2432, allocations: 0.7083 MB / 0.5302 GB, free: 10.08 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.0002723/0.2434, allocations: 143 kB / 0.5303 GB, free: 9.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.2451, allocations: 1.956 MB / 0.5322 GB, free: 7.992 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2451, allocations: 4 kB / 0.5322 GB, free: 7.988 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.2454, allocations: 437.4 kB / 0.5326 GB, free: 7.562 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.246, allocations: 184.8 kB / 0.5328 GB, free: 7.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.2508, allocations: 5.39 MB / 0.5381 GB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.2521, allocations: 1.716 MB / 0.5397 GB, free: 124 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.2523, allocations: 136.5 kB / 0.5399 GB, free: 15.98 MB / 458.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2523, allocations: 0 / 0.5399 GB, free: 15.98 MB / 458.7 MB Notification: Performance of Templates: time 0.02446/0.2768, allocations: 30.06 MB / 0.5692 GB, free: 2.012 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 6.242404110729694]