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.001635/0.001635, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001985/0.001985, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.592/1.592, allocations: 230.6 MB / 258.3 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] 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.2487/0.2487, allocations: 44.9 MB / 359.6 MB, free: 6.344 MB / 286.1 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.3.|cutTorque.torque.2.|cutTorque.torque.1.",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.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 76.12 kB / 0.4943 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3324, allocations: 65.47 MB / 0.5582 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0132/0.3456, allocations: 9.601 MB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.3522, allocations: 2.958 MB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009633/0.3532, allocations: 55.81 kB / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003857/0.357, allocations: 2.029 MB / 0.5725 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.3596, allocations: 1.14 MB / 0.5737 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000687/0.3603, allocations: 287.4 kB / 0.5739 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.3635, allocations: 2.333 MB / 0.5762 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.3659, allocations: 1.738 MB / 0.5779 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.367, allocations: 0.8917 MB / 0.5788 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.3686, allocations: 1.25 MB / 0.58 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004232/0.3691, allocations: 192 kB / 0.5802 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.3704, allocations: 0.7332 MB / 0.5809 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.3714, allocations: 1.137 MB / 0.582 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.3728, allocations: 1.305 MB / 0.5833 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005037/0.3778, allocations: 4.33 MB / 0.5875 GB, free: 9.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3778, allocations: 0 / 0.5875 GB, free: 9.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3778, allocations: 0 / 0.5875 GB, free: 9.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.273e-05/0.3779, allocations: 0 / 0.5875 GB, free: 9.781 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.005084/0.383, allocations: 2.866 MB / 0.5903 GB, free: 6.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.383, allocations: 12.03 kB / 0.5903 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.3881, allocations: 1.582 MB / 0.5919 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.3911, allocations: 1.275 MB / 0.5931 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.3912, allocations: 151.9 kB / 0.5933 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.3916, allocations: 195.8 kB / 0.5934 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.4017, allocations: 6.238 MB / 0.5995 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.432e-05/0.4017, allocations: 15.88 kB / 0.5995 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.402, allocations: 95.88 kB / 0.5996 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002167/0.4041, allocations: 1.336 MB / 0.6009 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.4146, allocations: 5.334 MB / 0.6062 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02901/0.4436, allocations: 19.99 MB / 0.6257 GB, free: 1.754 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/0.4478, allocations: 1.49 MB / 0.6271 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.4489, allocations: 0.6406 MB / 0.6278 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006822/0.4557, allocations: 3.152 MB / 0.6308 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.4558, allocations: 42.94 kB / 0.6309 GB, free: 12.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.4558, allocations: 0 / 0.6309 GB, free: 12.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005517/0.4613, allocations: 1.986 MB / 0.6328 GB, free: 10.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.4613, allocations: 63.78 kB / 0.6329 GB, free: 10.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/0.4643, allocations: 1.942 MB / 0.6348 GB, free: 8.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.4643, allocations: 29.7 kB / 0.6348 GB, free: 8.316 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.4659, allocations: 1.919 MB / 0.6367 GB, free: 6.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.4663, allocations: 325.5 kB / 0.637 GB, free: 6.055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008101/0.4671, allocations: 0.6195 MB / 0.6376 GB, free: 5.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4673, allocations: 353.9 kB / 0.6379 GB, free: 5.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.4687, allocations: 0.8881 MB / 0.6388 GB, free: 4.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.4717, allocations: 2.755 MB / 0.6415 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004993/0.4767, allocations: 3.973 MB / 0.6454 GB, free: 11.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.511e-05/0.4768, allocations: 23.94 kB / 0.6454 GB, free: 11.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00576/0.4825, allocations: 3.524 MB / 0.6488 GB, free: 8.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.4826, allocations: 40.06 kB / 0.6489 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.349e-05/0.4827, allocations: 64 kB / 0.6489 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.4828, allocations: 88 kB / 0.649 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.4847, allocations: 0.6627 MB / 0.6497 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001106/0.4848, allocations: 127.5 kB / 0.6498 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.4866, allocations: 432.8 kB / 0.6502 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.4868, allocations: 184 kB / 0.6504 GB, free: 6.465 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.002035/0.4888, allocations: 1.346 MB / 0.6517 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.4891, allocations: 166.9 kB / 0.6518 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.4894, allocations: 188.9 kB / 0.652 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/0.4895, allocations: 19.92 kB / 0.652 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4895, allocations: 0 / 0.652 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.4895, allocations: 0 / 0.652 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007019/0.4965, allocations: 4.004 MB / 0.656 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4965, allocations: 8 kB / 0.656 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.497, allocations: 103.8 kB / 0.6561 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.497, allocations: 8 kB / 0.6561 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.497, allocations: 20.66 kB / 0.6561 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.4971, allocations: 8 kB / 0.6561 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.4971, allocations: 15.94 kB / 0.6561 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.4987, allocations: 1.271 MB / 0.6573 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.4992, allocations: 178.7 kB / 0.6575 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4993, allocations: 23.94 kB / 0.6575 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.4998, allocations: 31.84 kB / 0.6576 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4999, allocations: 59.8 kB / 0.6576 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.5, allocations: 28 kB / 0.6577 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001953/0.5019, allocations: 1.267 MB / 0.6589 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5019, allocations: 0 / 0.6589 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002553/0.5045, allocations: 0.6852 MB / 0.6596 GB, free: 12.79 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.0003657/0.5048, allocations: 150.9 kB / 0.6597 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003374/0.5082, allocations: 1.951 MB / 0.6616 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5082, allocations: 3.938 kB / 0.6616 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.5088, allocations: 438.9 kB / 0.662 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.5102, allocations: 239.9 kB / 0.6623 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.5212, allocations: 5.444 MB / 0.6676 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/0.5244, allocations: 2.275 MB / 0.6698 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.5248, allocations: 147.4 kB / 0.6699 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.5248, allocations: 0 / 0.6699 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.04869/0.5735, allocations: 30.3 MB / 0.6995 GB, free: 3.766 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.427344284951687]