Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.001385/0.001385, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001023/0.001023, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9555/0.9555, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1508/0.1508, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.644e-05, allocations: 8.219 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01051/0.01053, allocations: 16.83 MB / 365 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02082, allocations: 5.311 MB / 370.3 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.02352, allocations: 151.3 kB / 370.4 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006665/0.03018, allocations: 6.479 MB / 376.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.03579, allocations: 3.398 MB / 380.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.03833, allocations: 1.789 MB / 382.1 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008239/0.04657, allocations: 9.636 MB / 391.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006746/0.05331, allocations: 7.014 MB / 398.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006173/0.05948, allocations: 5.048 MB / 403.8 MB, free: 1.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00513/0.06461, allocations: 5.012 MB / 408.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000966/0.06558, allocations: 0.6797 MB / 409.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.06776, allocations: 1.483 MB / 411 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002303/0.07006, allocations: 4.368 MB / 415.3 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.0719, allocations: 2.629 MB / 417.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006633/0.07853, allocations: 8.795 MB / 426.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.07854, allocations: 0 / 426.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.07854, allocations: 0 / 426.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.629e-05/0.07862, allocations: 0 / 426.7 MB, free: 10.23 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.009504/0.08813, allocations: 9.858 MB / 436.6 MB, free: 276 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.08818, allocations: 12.02 kB / 436.6 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2992/0.3873, allocations: 2.694 MB / 439.3 MB, free: 84.03 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007561/0.3949, allocations: 4.189 MB / 443.5 MB, free: 83.51 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.3953, allocations: 477.6 kB / 444 MB, free: 83.5 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.3963, allocations: 0.608 MB / 444.6 MB, free: 83.49 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.4076, allocations: 10.45 MB / 455 MB, free: 75.8 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001344/0.4077, allocations: 67.39 kB / 455.1 MB, free: 75.73 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/0.4082, allocations: 303.7 kB / 455.4 MB, free: 75.51 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002286/0.4105, allocations: 3.348 MB / 458.7 MB, free: 72.18 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009313/0.4198, allocations: 4.614 MB / 463.3 MB, free: 67.62 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04823/0.468, allocations: 78.95 MB / 0.5296 GB, free: 3.176 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/0.4755, allocations: 3.546 MB / 0.5331 GB, free: 15.57 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.4765, allocations: 0.8087 MB / 0.5338 GB, free: 14.75 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009556/0.486, allocations: 6.583 MB / 0.5403 GB, free: 8.336 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.4861, allocations: 67.38 kB / 0.5403 GB, free: 8.262 MB / 394.8 MB Notification: Performance of pre-optimization done (n=250): time 4.929e-06/0.4861, allocations: 3.984 kB / 0.5403 GB, free: 8.258 MB / 394.8 MB Notification: Performance of matching and sorting (n=274): time 0.02028/0.5063, allocations: 8.871 MB / 0.549 GB, free: 15.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.5064, allocations: 158.5 kB / 0.5492 GB, free: 15.46 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/0.5116, allocations: 5.85 MB / 0.5549 GB, free: 9.59 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.5117, allocations: 65.69 kB / 0.5549 GB, free: 9.52 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003336/0.515, allocations: 6.253 MB / 0.561 GB, free: 3.227 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007053/0.5157, allocations: 1.128 MB / 0.5621 GB, free: 2.09 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001661/0.5174, allocations: 2.081 MB / 0.5642 GB, free: 15.99 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5175, allocations: 484.6 kB / 0.5646 GB, free: 15.52 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.5189, allocations: 0.8501 MB / 0.5655 GB, free: 14.66 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006058/0.525, allocations: 9.602 MB / 0.5748 GB, free: 1.062 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008415/0.5334, allocations: 11.5 MB / 0.5861 GB, free: 1.586 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.5335, allocations: 60 kB / 0.5861 GB, free: 1.527 MB / 442.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.1794/0.7129, allocations: 7.496 MB / 0.5934 GB, free: 131.5 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.713, allocations: 95.06 kB / 0.5935 GB, free: 131.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/0.7133, allocations: 207.6 kB / 0.5937 GB, free: 131.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/0.7136, allocations: 276.1 kB / 0.594 GB, free: 131.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/0.7174, allocations: 2.17 MB / 0.5961 GB, free: 131.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002496/0.7176, allocations: 408.7 kB / 0.5965 GB, free: 131.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.7218, allocations: 412.5 kB / 0.5969 GB, free: 131.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/0.7223, allocations: 0.504 MB / 0.5974 GB, free: 131.2 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1195): * Single equations (assignments): 1184 * Array equations: 11 * 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.002336/0.7246, allocations: 0.9493 MB / 0.5983 GB, free: 130.8 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006981/0.7253, allocations: 0.6329 MB / 0.5989 GB, free: 130.8 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.7271, allocations: 1.574 MB / 0.6005 GB, free: 130.7 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.7271, allocations: 30.66 kB / 0.6005 GB, free: 130.7 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7271, allocations: 3.75 kB / 0.6005 GB, free: 130.7 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.7271, allocations: 11.86 kB / 0.6005 GB, free: 130.7 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.7415, allocations: 13.46 MB / 0.6137 GB, free: 125.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/0.7415, allocations: 60 kB / 0.6137 GB, free: 125.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.7424, allocations: 0.5864 MB / 0.6143 GB, free: 124.6 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.003e-05/0.7425, allocations: 87.31 kB / 0.6144 GB, free: 124.5 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.7426, allocations: 144.4 kB / 0.6145 GB, free: 124.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.287e-05/0.7426, allocations: 121.4 kB / 0.6146 GB, free: 124.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.251e-05/0.7426, allocations: 103.6 kB / 0.6147 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.7456, allocations: 5.471 MB / 0.6201 GB, free: 117.9 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006318/0.7463, allocations: 0.6673 MB / 0.6207 GB, free: 117.4 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.7466, allocations: 148.5 kB / 0.6209 GB, free: 117.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.7479, allocations: 117.8 kB / 0.621 GB, free: 117.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.7481, allocations: 429.7 kB / 0.6214 GB, free: 117 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.7482, allocations: 150.5 kB / 0.6215 GB, free: 116.8 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001765/0.75, allocations: 2.401 MB / 0.6239 GB, free: 115.4 MB / 442.8 MB Notification: Performance of sort global known variables: time 7e-08/0.75, allocations: 0 / 0.6239 GB, free: 115.4 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004982/0.755, allocations: 1.757 MB / 0.6256 GB, free: 113.8 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.0004075/0.7554, allocations: 346.2 kB / 0.6259 GB, free: 113.6 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00448/0.7599, allocations: 4.102 MB / 0.6299 GB, free: 110.3 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.149e-05/0.7599, allocations: 12 kB / 0.6299 GB, free: 110.2 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008181/0.7607, allocations: 0.9661 MB / 0.6309 GB, free: 109.4 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/0.7638, allocations: 0.8905 MB / 0.6317 GB, free: 108.7 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.7816, allocations: 16.51 MB / 0.6479 GB, free: 92.03 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/0.7839, allocations: 2.455 MB / 0.6503 GB, free: 89.55 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002551/0.7864, allocations: 0.8727 MB / 0.6511 GB, free: 88.69 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.7876, allocations: 0.9784 MB / 0.6521 GB, free: 87.71 MB / 442.8 MB Notification: Performance of SimCode: time 2.765e-06/0.7876, allocations: 0 / 0.6521 GB, free: 87.71 MB / 442.8 MB Notification: Performance of Templates: time 0.0665/0.8541, allocations: 44.03 MB / 0.6951 GB, free: 43.79 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","",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.07747895270586]