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.001356/0.001356, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001457/0.001457, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.413/1.413, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2178/0.2178, allocations: 46.97 MB / 361.6 MB, free: 4.031 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.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 0.001958/0.001958, allocations: 63.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0112/0.3142, allocations: 8.404 MB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005663/0.3198, allocations: 2.788 MB / 0.5727 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006878/0.3205, allocations: 59.81 kB / 0.5728 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.3242, allocations: 1.928 MB / 0.5747 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.3265, allocations: 1.148 MB / 0.5758 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.3271, allocations: 295.5 kB / 0.5761 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002728/0.3299, allocations: 2.321 MB / 0.5783 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.3319, allocations: 1.738 MB / 0.58 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009817/0.3329, allocations: 0.8878 MB / 0.5809 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.3344, allocations: 1.254 MB / 0.5821 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.3347, allocations: 192 kB / 0.5823 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.3357, allocations: 0.6201 MB / 0.5829 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.3368, allocations: 1.133 MB / 0.584 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009626/0.3377, allocations: 0.9471 MB / 0.585 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004472/0.3422, allocations: 4.348 MB / 0.5892 GB, free: 7.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3422, allocations: 0 / 0.5892 GB, free: 7.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3422, allocations: 0 / 0.5892 GB, free: 7.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.458e-05/0.3422, allocations: 0 / 0.5892 GB, free: 7.984 MB / 430.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.00458/0.3468, allocations: 2.862 MB / 0.592 GB, free: 5.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3469, allocations: 11.97 kB / 0.592 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005041/0.3519, allocations: 1.582 MB / 0.5936 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.355, allocations: 1.286 MB / 0.5948 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.3551, allocations: 140 kB / 0.5949 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004371/0.3556, allocations: 191.8 kB / 0.5951 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.3658, allocations: 6.246 MB / 0.6012 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/0.3658, allocations: 19.86 kB / 0.6012 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/0.3661, allocations: 83.91 kB / 0.6013 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/0.3682, allocations: 1.348 MB / 0.6026 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.3786, allocations: 5.325 MB / 0.6078 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02866/0.4072, allocations: 18.29 MB / 0.6257 GB, free: 1.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/0.4114, allocations: 1.481 MB / 0.6272 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.4125, allocations: 0.6328 MB / 0.6278 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007057/0.4195, allocations: 3.017 MB / 0.6307 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4195, allocations: 35 kB / 0.6307 GB, free: 12.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.106e-06/0.4196, allocations: 0 / 0.6307 GB, free: 12.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005763/0.4253, allocations: 1.978 MB / 0.6327 GB, free: 10.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4254, allocations: 59.84 kB / 0.6327 GB, free: 10.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.4282, allocations: 1.943 MB / 0.6346 GB, free: 8.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/0.4282, allocations: 29.7 kB / 0.6347 GB, free: 8.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.4297, allocations: 1.923 MB / 0.6365 GB, free: 6.457 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.43, allocations: 325.5 kB / 0.6369 GB, free: 6.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.431, allocations: 0.6234 MB / 0.6375 GB, free: 5.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.4313, allocations: 353.9 kB / 0.6378 GB, free: 5.152 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.4327, allocations: 0.8842 MB / 0.6387 GB, free: 4.266 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/0.4356, allocations: 2.751 MB / 0.6413 GB, free: 0.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/0.4407, allocations: 3.973 MB / 0.6452 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.283e-05/0.4408, allocations: 20 kB / 0.6452 GB, free: 11.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006266/0.447, allocations: 3.52 MB / 0.6487 GB, free: 8.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/0.4471, allocations: 32 kB / 0.6487 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.122e-05/0.4472, allocations: 68.16 kB / 0.6488 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.002e-05/0.4473, allocations: 88 kB / 0.6489 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.4493, allocations: 0.6589 MB / 0.6495 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.4494, allocations: 131.5 kB / 0.6496 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.4513, allocations: 413 kB / 0.65 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/0.4516, allocations: 188 kB / 0.6502 GB, free: 6.578 MB / 494.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.002141/0.4537, allocations: 1.35 MB / 0.6515 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.454, allocations: 158.9 kB / 0.6517 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.4543, allocations: 188 kB / 0.6519 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.4543, allocations: 8 kB / 0.6519 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4543, allocations: 3.938 kB / 0.6519 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4543, allocations: 7.984 kB / 0.6519 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.46, allocations: 3.066 MB / 0.6549 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.46, allocations: 8.156 kB / 0.6549 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.4604, allocations: 103.8 kB / 0.655 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.4604, allocations: 11.94 kB / 0.655 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.4605, allocations: 23.97 kB / 0.655 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.4605, allocations: 8 kB / 0.655 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.4605, allocations: 11.94 kB / 0.655 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.4621, allocations: 1.249 MB / 0.6562 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.4624, allocations: 154.8 kB / 0.6564 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.4625, allocations: 23.94 kB / 0.6564 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.463, allocations: 27.92 kB / 0.6564 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.4631, allocations: 47.81 kB / 0.6565 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.4632, allocations: 35.98 kB / 0.6565 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001591/0.4648, allocations: 1.114 MB / 0.6576 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4648, allocations: 0 / 0.6576 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00245/0.4672, allocations: 0.7045 MB / 0.6583 GB, free: 14.05 MB / 0.4981 GB 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.0003312/0.4676, allocations: 146.9 kB / 0.6584 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.4705, allocations: 1.955 MB / 0.6604 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.4705, allocations: 4 kB / 0.6604 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.4711, allocations: 438.3 kB / 0.6608 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4721, allocations: 207.2 kB / 0.661 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.48, allocations: 5.087 MB / 0.6659 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/0.4823, allocations: 1.712 MB / 0.6676 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002005/0.4843, allocations: 0.939 MB / 0.6685 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.4846, allocations: 111.4 kB / 0.6686 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.4846, allocations: 0 / 0.6686 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.0295/0.5141, allocations: 15.43 MB / 0.6837 GB, free: 4.059 MB / 0.5137 GB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/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: 5.276432404003572]