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.001956/0.001956, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.002124/0.002124, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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.58/1.58, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.2953/0.2953, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 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 0.001906/0.001906, allocations: 59.91 kB / 0.4921 GB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.142, allocations: 65.99 MB / 0.5565 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01179/0.1538, allocations: 9.562 MB / 0.5658 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006469/0.1602, allocations: 2.94 MB / 0.5687 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1615, allocations: 55.81 kB / 0.5688 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.1654, allocations: 2.021 MB / 0.5707 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1682, allocations: 1.129 MB / 0.5718 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.169, allocations: 287.5 kB / 0.5721 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003241/0.1722, allocations: 2.333 MB / 0.5744 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.1745, allocations: 1.914 MB / 0.5763 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.1757, allocations: 0.8917 MB / 0.5771 GB, free: 120 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.1773, allocations: 1.25 MB / 0.5784 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.1776, allocations: 196 kB / 0.5785 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1789, allocations: 0.7255 MB / 0.5793 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.18, allocations: 1.137 MB / 0.5804 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.1813, allocations: 1.308 MB / 0.5816 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004933/0.1863, allocations: 4.334 MB / 0.5859 GB, free: 7.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1863, allocations: 3.938 kB / 0.5859 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1863, allocations: 0 / 0.5859 GB, free: 7.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.025e-05/0.1863, allocations: 0 / 0.5859 GB, free: 7.133 MB / 446.1 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.005319/0.1917, allocations: 2.938 MB / 0.5887 GB, free: 4.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1917, allocations: 8.031 kB / 0.5888 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005353/0.1971, allocations: 1.586 MB / 0.5903 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.1996, allocations: 1.336 MB / 0.5916 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.1998, allocations: 148 kB / 0.5918 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/0.2001, allocations: 191.8 kB / 0.5919 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2856/0.4857, allocations: 6.24 MB / 0.598 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.158e-05/0.4858, allocations: 13.41 kB / 0.598 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.486, allocations: 89.42 kB / 0.5981 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002817/0.4889, allocations: 1.343 MB / 0.5994 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.5052, allocations: 5.327 MB / 0.6046 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04222/0.5474, allocations: 20.07 MB / 0.6242 GB, free: 17.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005967/0.5534, allocations: 1.944 MB / 0.6261 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.5547, allocations: 0.6415 MB / 0.6268 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00862/0.5633, allocations: 3.622 MB / 0.6303 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.5633, allocations: 42.94 kB / 0.6303 GB, free: 13.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 4.859e-06/0.5633, allocations: 0 / 0.6303 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.00746/0.5708, allocations: 1.99 MB / 0.6323 GB, free: 11.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.5708, allocations: 63.84 kB / 0.6324 GB, free: 10.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.5744, allocations: 1.94 MB / 0.6342 GB, free: 9.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.5744, allocations: 35.66 kB / 0.6343 GB, free: 9.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.5755, allocations: 1.914 MB / 0.6361 GB, free: 7.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.5757, allocations: 328.4 kB / 0.6365 GB, free: 6.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006914/0.5764, allocations: 0.6182 MB / 0.6371 GB, free: 6.312 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.5765, allocations: 353.9 kB / 0.6374 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.5776, allocations: 0.8959 MB / 0.6383 GB, free: 5.062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.5795, allocations: 2.747 MB / 0.641 GB, free: 1.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004637/0.5842, allocations: 3.969 MB / 0.6448 GB, free: 12.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.898e-05/0.5842, allocations: 20 kB / 0.6449 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00634/0.5906, allocations: 3.522 MB / 0.6483 GB, free: 8.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.5906, allocations: 36 kB / 0.6483 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.5907, allocations: 64 kB / 0.6484 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.5908, allocations: 95.88 kB / 0.6485 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.5928, allocations: 0.655 MB / 0.6491 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001576/0.593, allocations: 128.1 kB / 0.6492 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.5951, allocations: 435.9 kB / 0.6497 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/0.5954, allocations: 194.8 kB / 0.6498 GB, free: 7.359 MB / 462.1 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.002234/0.5977, allocations: 1.344 MB / 0.6512 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.598, allocations: 162.9 kB / 0.6513 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.5985, allocations: 196.9 kB / 0.6515 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.5985, allocations: 15.94 kB / 0.6515 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5985, allocations: 0 / 0.6515 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5985, allocations: 0 / 0.6515 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008644/0.6072, allocations: 4.037 MB / 0.6555 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.6072, allocations: 12.16 kB / 0.6555 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.6077, allocations: 95.83 kB / 0.6556 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.6077, allocations: 8 kB / 0.6556 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.6078, allocations: 23.98 kB / 0.6556 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.617e-05/0.6078, allocations: 15.94 kB / 0.6556 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6078, allocations: 4 kB / 0.6556 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.6098, allocations: 1.275 MB / 0.6569 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.6102, allocations: 251.7 kB / 0.6571 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.6104, allocations: 23.98 kB / 0.6571 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.6109, allocations: 27.94 kB / 0.6571 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6111, allocations: 59.8 kB / 0.6572 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/0.6111, allocations: 28 kB / 0.6572 GB, free: 15.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.6129, allocations: 1.275 MB / 0.6585 GB, free: 14.24 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6129, allocations: 0 / 0.6585 GB, free: 14.24 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002532/0.6154, allocations: 0.689 MB / 0.6591 GB, free: 13.55 MB / 478.1 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.0003388/0.6158, allocations: 151.7 kB / 0.6593 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003184/0.6189, allocations: 1.953 MB / 0.6612 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.619, allocations: 0 / 0.6612 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005832/0.6195, allocations: 432.9 kB / 0.6616 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6208, allocations: 242.6 kB / 0.6618 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.6313, allocations: 5.44 MB / 0.6672 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/0.6346, allocations: 2.276 MB / 0.6694 GB, free: 2.926 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.6351, allocations: 151.4 kB / 0.6695 GB, free: 2.777 MB / 478.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6351, allocations: 0 / 0.6695 GB, free: 2.777 MB / 478.1 MB Notification: Performance of Templates: time 0.05266/0.6878, allocations: 30.3 MB / 0.6991 GB, free: 4.559 MB / 0.4981 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/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: 10.815687035996234]