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.001669/0.001669, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002063/0.002063, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.444/1.444, allocations: 230.6 MB / 258.3 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.2245/0.2245, allocations: 46.97 MB / 361.6 MB, free: 4.039 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.002083/0.002083, allocations: 71.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3146, allocations: 66.03 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01095/0.3256, allocations: 8.407 MB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005721/0.3313, allocations: 2.783 MB / 0.5727 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.332, allocations: 55.81 kB / 0.5728 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.3357, allocations: 1.935 MB / 0.5747 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.3381, allocations: 1.136 MB / 0.5758 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.3388, allocations: 299.4 kB / 0.5761 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002761/0.3415, allocations: 2.325 MB / 0.5784 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002772/0.3443, allocations: 1.742 MB / 0.5801 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.3457, allocations: 0.8917 MB / 0.5809 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.3479, allocations: 1.258 MB / 0.5822 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004618/0.3483, allocations: 192 kB / 0.5823 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3494, allocations: 0.6201 MB / 0.5829 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.3505, allocations: 1.13 MB / 0.584 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009586/0.3514, allocations: 0.9471 MB / 0.585 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.3562, allocations: 4.346 MB / 0.5892 GB, free: 8.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3562, allocations: 4 kB / 0.5892 GB, free: 8.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3562, allocations: 0 / 0.5892 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.89e-05/0.3563, allocations: 0 / 0.5892 GB, free: 8.004 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.005351/0.3616, allocations: 2.862 MB / 0.592 GB, free: 5.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.3617, allocations: 8.031 kB / 0.592 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005129/0.3668, allocations: 1.574 MB / 0.5936 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/0.3701, allocations: 1.29 MB / 0.5948 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.3702, allocations: 144 kB / 0.595 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004281/0.3706, allocations: 187.8 kB / 0.5951 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.3813, allocations: 6.25 MB / 0.6012 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/0.3814, allocations: 11.88 kB / 0.6012 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.3817, allocations: 91.84 kB / 0.6013 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002068/0.3837, allocations: 1.34 MB / 0.6026 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.3939, allocations: 5.326 MB / 0.6078 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02661/0.4205, allocations: 18.29 MB / 0.6257 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/0.4246, allocations: 1.487 MB / 0.6272 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000966/0.4256, allocations: 0.6368 MB / 0.6278 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006675/0.4322, allocations: 3.013 MB / 0.6307 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4323, allocations: 39 kB / 0.6308 GB, free: 12.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/0.4323, allocations: 0 / 0.6308 GB, free: 12.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005466/0.4377, allocations: 1.975 MB / 0.6327 GB, free: 10.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.4378, allocations: 59.84 kB / 0.6327 GB, free: 10.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.4404, allocations: 1.943 MB / 0.6346 GB, free: 8.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.4405, allocations: 37.69 kB / 0.6347 GB, free: 8.422 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.4419, allocations: 1.919 MB / 0.6366 GB, free: 6.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.4422, allocations: 329.5 kB / 0.6369 GB, free: 6.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007995/0.443, allocations: 0.6195 MB / 0.6375 GB, free: 5.527 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4432, allocations: 353.9 kB / 0.6378 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.4445, allocations: 0.8842 MB / 0.6387 GB, free: 4.289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/0.4474, allocations: 2.747 MB / 0.6414 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/0.4519, allocations: 3.966 MB / 0.6452 GB, free: 11.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-05/0.452, allocations: 20 kB / 0.6452 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005502/0.4575, allocations: 3.527 MB / 0.6487 GB, free: 8.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.4575, allocations: 36 kB / 0.6487 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-05/0.4576, allocations: 64 kB / 0.6488 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.406e-05/0.4577, allocations: 91.94 kB / 0.6489 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.4595, allocations: 0.6511 MB / 0.6495 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/0.4596, allocations: 132.1 kB / 0.6496 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.4614, allocations: 420.8 kB / 0.65 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.4616, allocations: 188 kB / 0.6502 GB, free: 6.598 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.001931/0.4635, allocations: 1.342 MB / 0.6515 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.4637, allocations: 154.9 kB / 0.6517 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.4641, allocations: 192 kB / 0.6519 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4641, allocations: 0 / 0.6519 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.4641, allocations: 4 kB / 0.6519 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.4643, allocations: 146.7 kB / 0.652 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4645, allocations: 12 kB / 0.652 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.4649, allocations: 23.97 kB / 0.652 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.4649, allocations: 36.34 kB / 0.6521 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001408/0.4664, allocations: 0.937 MB / 0.653 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001352/0.4677, allocations: 1.136 MB / 0.6541 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005024/0.4682, allocations: 371.5 kB / 0.6545 GB, free: 2.219 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.4697, allocations: 1.11 MB / 0.6555 GB, free: 1.113 MB / 494.1 MB Notification: Performance of Backend: time 7.02e-07/0.4697, allocations: 0 / 0.6555 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003282/0.473, allocations: 1.732 MB / 0.6572 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of SimCode: time 0.007936/0.4809, allocations: 5.334 MB / 0.6624 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of Templates: time 0.0382/0.5191, allocations: 21.19 MB / 0.6831 GB, free: 4.988 MB / 0.5137 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: 5.583649856002012]