Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008527/0.0008527, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009982/0.0009982, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9527/0.9527, allocations: 177.1 MB / 205 MB, free: 5.633 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.282/0.282, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.44e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.00819/0.008215, allocations: 9.243 MB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.013, allocations: 2.876 MB / 388.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.01354, allocations: 55.81 kB / 388.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.01575, allocations: 2.134 MB / 390.3 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.01729, allocations: 1.178 MB / 391.5 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.01773, allocations: 323.2 kB / 391.8 MB, free: 4.812 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.01942, allocations: 2.359 MB / 394.2 MB, free: 2.449 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.02066, allocations: 1.801 MB / 396 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.02154, allocations: 1.298 MB / 397.3 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.02278, allocations: 1.173 MB / 398.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.02297, allocations: 195.9 kB / 398.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006837/0.02366, allocations: 0.6396 MB / 399.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000621/0.02428, allocations: 1.188 MB / 400.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.02478, allocations: 0.7202 MB / 401.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.02673, allocations: 2.716 MB / 403.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.02673, allocations: 4 kB / 403.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02673, allocations: 0 / 403.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.084e-05/0.02677, allocations: 0 / 403.9 MB, free: 8.652 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.003053/0.02983, allocations: 3.138 MB / 407 MB, free: 5.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.02987, allocations: 8.031 kB / 407 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/0.03273, allocations: 1.875 MB / 408.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.03406, allocations: 1.223 MB / 410.1 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.03414, allocations: 144 kB / 410.3 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.03434, allocations: 188.3 kB / 410.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/0.0382, allocations: 3.313 MB / 413.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.03823, allocations: 15.88 kB / 413.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.03839, allocations: 87.91 kB / 413.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001139/0.03952, allocations: 1.344 MB / 415.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.04254, allocations: 1.79 MB / 417 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.05742, allocations: 20.62 MB / 437.6 MB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.0593, allocations: 0.8919 MB / 438.5 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.05962, allocations: 225.9 kB / 438.7 MB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003599/0.06322, allocations: 2.576 MB / 441.3 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.06325, allocations: 41.89 kB / 441.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.054e-06/0.06325, allocations: 0 / 441.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002567/0.06582, allocations: 1.292 MB / 442.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.06585, allocations: 59.91 kB / 442.7 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1561/0.2219, allocations: 1.796 MB / 444.5 MB, free: 87.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.222, allocations: 38.17 kB / 444.5 MB, free: 87.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/0.2227, allocations: 2.01 MB / 446.6 MB, free: 86.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.2229, allocations: 340.1 kB / 446.9 MB, free: 86.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.2234, allocations: 0.6662 MB / 447.6 MB, free: 86.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.2234, allocations: 0.5237 MB / 448.1 MB, free: 85.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.2239, allocations: 296.2 kB / 448.4 MB, free: 85.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.2251, allocations: 3.048 MB / 451.4 MB, free: 82.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.2272, allocations: 3.685 MB / 455.1 MB, free: 78.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.2273, allocations: 19.78 kB / 455.1 MB, free: 78.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002646/0.2299, allocations: 2.493 MB / 457.6 MB, free: 78.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.23, allocations: 39.84 kB / 457.7 MB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.715e-05/0.23, allocations: 65.94 kB / 457.7 MB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.024e-05/0.2301, allocations: 86.59 kB / 457.8 MB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/0.2311, allocations: 0.6502 MB / 458.5 MB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.935e-05/0.2311, allocations: 136.1 kB / 458.6 MB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.2321, allocations: 419.6 kB / 459 MB, free: 78.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.2323, allocations: 185.9 kB / 459.2 MB, free: 78.17 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.0006907/0.233, allocations: 412.8 kB / 459.6 MB, free: 77.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2331, allocations: 173.1 kB / 459.7 MB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.2332, allocations: 168.7 kB / 459.9 MB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.2332, allocations: 9 kB / 459.9 MB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2332, allocations: 0 / 459.9 MB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2333, allocations: 6.234 kB / 459.9 MB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.2364, allocations: 2.859 MB / 462.8 MB, free: 77.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.2364, allocations: 6.438 kB / 462.8 MB, free: 77.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.2366, allocations: 102.9 kB / 462.9 MB, free: 77.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.2366, allocations: 6.562 kB / 462.9 MB, free: 77.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.2367, allocations: 23.47 kB / 462.9 MB, free: 77.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.2367, allocations: 13.59 kB / 462.9 MB, free: 77.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2367, allocations: 7.406 kB / 462.9 MB, free: 77.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.2373, allocations: 0.9051 MB / 463.8 MB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.2374, allocations: 157.7 kB / 464 MB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/0.2375, allocations: 20.06 kB / 464 MB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.2378, allocations: 25.23 kB / 464 MB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.2379, allocations: 65.22 kB / 464.1 MB, free: 76.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.2379, allocations: 29.69 kB / 464.1 MB, free: 76.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008282/0.2387, allocations: 0.7777 MB / 464.9 MB, free: 76.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2387, allocations: 0 / 464.9 MB, free: 76.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001654/0.2404, allocations: 0.706 MB / 465.6 MB, free: 76.01 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.0002162/0.2406, allocations: 143 kB / 465.8 MB, free: 75.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.2419, allocations: 1.259 MB / 467 MB, free: 75.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2419, allocations: 4.453 kB / 467 MB, free: 75.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.2421, allocations: 205.1 kB / 467.2 MB, free: 75.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.2427, allocations: 198.1 kB / 467.4 MB, free: 75.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.2473, allocations: 4.388 MB / 471.8 MB, free: 72.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.2478, allocations: 0.759 MB / 472.6 MB, free: 72.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001056/0.2489, allocations: 0.8037 MB / 473.4 MB, free: 72.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.2491, allocations: 118.6 kB / 473.5 MB, free: 72.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2491, allocations: 0 / 473.5 MB, free: 72.6 MB / 410.7 MB Notification: Performance of Templates: time 0.02005/0.2691, allocations: 11.51 MB / 485 MB, free: 71.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.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.5577655667439103]