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.001481/0.001481, allocations: 103.6 kB / 21.18 MB, free: 0.668 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.001791/0.001791, allocations: 209.1 kB / 24.48 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.611/1.611, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2666/0.2666, allocations: 46.96 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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.001962/0.001962, allocations: 63.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3602, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01152/0.3717, allocations: 8.403 MB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.3787, allocations: 2.788 MB / 0.5727 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.38, allocations: 55.81 kB / 0.5728 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.384, allocations: 1.939 MB / 0.5747 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.3872, allocations: 1.144 MB / 0.5758 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.3881, allocations: 279.5 kB / 0.5761 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.3915, allocations: 2.333 MB / 0.5783 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.3938, allocations: 1.742 MB / 0.58 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.395, allocations: 0.8878 MB / 0.5809 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.3969, allocations: 1.25 MB / 0.5821 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.3973, allocations: 196 kB / 0.5823 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.3987, allocations: 0.6162 MB / 0.5829 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.4001, allocations: 1.137 MB / 0.584 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.4021, allocations: 0.9432 MB / 0.585 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006907/0.409, allocations: 4.348 MB / 0.5892 GB, free: 8.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.409, allocations: 0 / 0.5892 GB, free: 8.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.409, allocations: 4 kB / 0.5892 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.995e-05/0.4091, 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.005865/0.415, allocations: 2.859 MB / 0.592 GB, free: 5.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.415, allocations: 12.03 kB / 0.592 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/0.42, allocations: 1.578 MB / 0.5936 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.4235, allocations: 1.286 MB / 0.5948 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.4236, allocations: 152 kB / 0.595 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/0.424, allocations: 187.8 kB / 0.5951 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.4346, allocations: 6.242 MB / 0.6012 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/0.4347, allocations: 11.88 kB / 0.6012 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/0.4349, allocations: 87.91 kB / 0.6013 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002171/0.4371, allocations: 1.34 MB / 0.6026 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.4478, allocations: 5.338 MB / 0.6078 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03093/0.4787, allocations: 18.28 MB / 0.6257 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/0.4829, allocations: 1.487 MB / 0.6271 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009894/0.4839, allocations: 0.6392 MB / 0.6278 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007221/0.4911, allocations: 3.021 MB / 0.6307 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.4911, allocations: 39 kB / 0.6308 GB, free: 12.46 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.456e-06/0.4912, allocations: 4 kB / 0.6308 GB, free: 12.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005505/0.4967, allocations: 1.975 MB / 0.6327 GB, free: 10.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.4967, allocations: 55.84 kB / 0.6327 GB, free: 10.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.4997, allocations: 1.935 MB / 0.6346 GB, free: 8.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.4997, allocations: 45.64 kB / 0.6347 GB, free: 8.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.5013, allocations: 1.915 MB / 0.6365 GB, free: 6.477 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.5016, allocations: 329.5 kB / 0.6369 GB, free: 6.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008476/0.5025, allocations: 0.6234 MB / 0.6375 GB, free: 5.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5027, allocations: 345.9 kB / 0.6378 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.5039, allocations: 0.8881 MB / 0.6387 GB, free: 4.285 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.507, allocations: 2.747 MB / 0.6414 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004901/0.5119, allocations: 3.974 MB / 0.6452 GB, free: 11.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.839e-05/0.5119, allocations: 20 kB / 0.6453 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005593/0.5175, allocations: 3.515 MB / 0.6487 GB, free: 8.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.5176, allocations: 32.94 kB / 0.6487 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-05/0.5177, allocations: 68 kB / 0.6488 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.674e-05/0.5178, allocations: 84 kB / 0.6489 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.5196, allocations: 0.6628 MB / 0.6495 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001279/0.5198, allocations: 131.4 kB / 0.6496 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.5217, allocations: 420.9 kB / 0.65 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.5219, allocations: 184 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.002119/0.524, allocations: 1.346 MB / 0.6515 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.5243, allocations: 158.9 kB / 0.6517 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.5246, allocations: 188 kB / 0.6519 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.5246, allocations: 12 kB / 0.6519 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.5246, allocations: 3.938 kB / 0.6519 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5246, allocations: 3.984 kB / 0.6519 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005598/0.5302, allocations: 3.058 MB / 0.6549 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.5303, allocations: 8.844 kB / 0.6549 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.5307, allocations: 103.8 kB / 0.655 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.5307, allocations: 15.94 kB / 0.655 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.5307, allocations: 23.98 kB / 0.655 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/0.5307, allocations: 11.98 kB / 0.655 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5307, allocations: 11.94 kB / 0.655 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.5323, allocations: 1.249 MB / 0.6562 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.5326, allocations: 146.8 kB / 0.6564 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.5328, allocations: 31.97 kB / 0.6564 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.5332, allocations: 19.94 kB / 0.6564 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5333, allocations: 63.73 kB / 0.6565 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.5334, allocations: 32 kB / 0.6565 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001573/0.535, allocations: 1.118 MB / 0.6576 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.535, allocations: 0 / 0.6576 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002747/0.5377, allocations: 0.7084 MB / 0.6583 GB, free: 14.06 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.0003326/0.538, allocations: 142.9 kB / 0.6584 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003151/0.5412, allocations: 1.963 MB / 0.6604 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5412, allocations: 0 / 0.6604 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.5418, allocations: 433.5 kB / 0.6608 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5428, allocations: 192.3 kB / 0.661 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00964/0.5525, allocations: 5.405 MB / 0.6662 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/0.5548, allocations: 1.716 MB / 0.6679 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.5553, allocations: 131.4 kB / 0.668 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/0.5553, allocations: 8 kB / 0.668 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.05343/0.6087, allocations: 30.06 MB / 0.6974 GB, free: 5.914 MB / 0.5294 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 -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: 10.625571894022869]