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.001315/0.001315, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001164/0.001164, allocations: 165.1 kB / 24.82 MB, free: 9.312 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 1.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.2747/0.2747, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.095e-05, allocations: 5.406 kB / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007228/0.007249, allocations: 9.016 MB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.0115, allocations: 2.838 MB / 388.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/0.01234, allocations: 55.81 kB / 388.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.01452, allocations: 2.114 MB / 390.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.01614, allocations: 1.175 MB / 391.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.01659, allocations: 319.2 kB / 392 MB, free: 4.844 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.01859, allocations: 2.371 MB / 394.3 MB, free: 2.469 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.02008, allocations: 1.797 MB / 396.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.02121, allocations: 1.298 MB / 397.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.02224, allocations: 1.177 MB / 398.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.02247, allocations: 196 kB / 398.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009042/0.02338, allocations: 0.6396 MB / 399.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007124/0.02409, allocations: 1.184 MB / 400.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.02467, allocations: 0.7202 MB / 401.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.02675, allocations: 2.724 MB / 404.1 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.02675, allocations: 0 / 404.1 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02675, allocations: 4 kB / 404.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.454e-05/0.0268, allocations: 0 / 404.1 MB, free: 8.668 MB / 378.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.002884/0.02968, allocations: 3.11 MB / 407.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.02972, allocations: 12.03 kB / 407.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.03172, allocations: 0.9862 MB / 408.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.03292, allocations: 1.134 MB / 409.3 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.033, allocations: 144 kB / 409.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.0332, allocations: 188.3 kB / 409.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.03614, allocations: 3.039 MB / 412.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.03617, allocations: 15.88 kB / 412.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.03632, allocations: 83.91 kB / 412.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/0.03735, allocations: 1.196 MB / 414 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.03971, allocations: 1.448 MB / 415.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/0.0559, allocations: 20.45 MB / 435.9 MB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.05811, allocations: 0.8449 MB / 436.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.05841, allocations: 193.8 kB / 436.9 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003559/0.06197, allocations: 2.478 MB / 439.4 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.062, allocations: 41.89 kB / 439.4 MB, free: 4.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 1.943e-06/0.062, allocations: 0 / 439.4 MB, free: 4.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003233/0.06523, allocations: 1.229 MB / 440.7 MB, free: 2.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.06526, allocations: 59.91 kB / 440.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.06701, allocations: 1.787 MB / 442.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.06705, allocations: 41.69 kB / 442.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1641/0.2311, allocations: 2.018 MB / 444.6 MB, free: 96.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.2314, allocations: 344.5 kB / 444.9 MB, free: 96.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/0.2319, allocations: 0.6829 MB / 445.6 MB, free: 96.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.232, allocations: 0.53 MB / 446.1 MB, free: 95.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2323, allocations: 232.6 kB / 446.3 MB, free: 95.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009488/0.2333, allocations: 3.007 MB / 449.4 MB, free: 92.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.235, allocations: 3.61 MB / 453 MB, free: 88.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/0.235, allocations: 20.34 kB / 453 MB, free: 88.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00196/0.2369, allocations: 2.34 MB / 455.3 MB, free: 88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.237, allocations: 31.31 kB / 455.3 MB, free: 88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/0.237, allocations: 65.97 kB / 455.4 MB, free: 88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.265e-05/0.2371, allocations: 88.81 kB / 455.5 MB, free: 88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009344/0.238, allocations: 0.6368 MB / 456.1 MB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.819e-05/0.2381, allocations: 134.8 kB / 456.3 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009201/0.239, allocations: 407.2 kB / 456.7 MB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.2391, allocations: 165.1 kB / 456.8 MB, free: 87.79 MB / 410.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.0008171/0.2399, allocations: 406.2 kB / 457.2 MB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.2401, allocations: 174.7 kB / 457.4 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.2403, allocations: 159.3 kB / 457.6 MB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.2403, allocations: 17.59 kB / 457.6 MB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2403, allocations: 0 / 457.6 MB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2403, allocations: 6.359 kB / 457.6 MB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.2433, allocations: 2.791 MB / 460.4 MB, free: 86.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2433, allocations: 10.28 kB / 460.4 MB, free: 86.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.2435, allocations: 94.83 kB / 460.5 MB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.2435, allocations: 9.844 kB / 460.5 MB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.2436, allocations: 22.06 kB / 460.5 MB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.2436, allocations: 17.12 kB / 460.5 MB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.2436, allocations: 10.28 kB / 460.5 MB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.2442, allocations: 0.8734 MB / 461.4 MB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.2444, allocations: 155.4 kB / 461.6 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.2444, allocations: 20.25 kB / 461.6 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2446, allocations: 16.38 kB / 461.6 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.2447, allocations: 64.89 kB / 461.7 MB, free: 85.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.2447, allocations: 25.78 kB / 461.7 MB, free: 85.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004802/0.2452, allocations: 0.7269 MB / 462.4 MB, free: 85.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2452, allocations: 0 / 462.4 MB, free: 85.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001414/0.2466, allocations: 0.7095 MB / 463.1 MB, free: 85.71 MB / 410.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.00021/0.2468, allocations: 139.9 kB / 463.2 MB, free: 85.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009492/0.2478, allocations: 1.188 MB / 464.4 MB, free: 85.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2478, allocations: 192 / 464.4 MB, free: 85.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.2479, allocations: 197.6 kB / 464.6 MB, free: 85.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.2485, allocations: 196.7 kB / 464.8 MB, free: 85.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.2524, allocations: 4.376 MB / 469.2 MB, free: 83.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.2529, allocations: 0.7639 MB / 470 MB, free: 82.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000471/0.2534, allocations: 248.3 kB / 470.2 MB, free: 82.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.2536, allocations: 292.6 kB / 470.5 MB, free: 82.6 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.2536, allocations: 0 / 470.5 MB, free: 82.6 MB / 410.7 MB Notification: Performance of Templates: time 0.02056/0.2742, allocations: 12.45 MB / 482.9 MB, free: 81.08 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7232885151170194]