Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 258.1 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.94 MB / 361.5 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 75.88 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3454, allocations: 66.08 MB / 0.5619 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01186/0.3572, allocations: 8.4 MB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.3641, allocations: 2.791 MB / 0.5728 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.3656, allocations: 55.81 kB / 0.5729 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004215/0.3698, allocations: 1.935 MB / 0.5748 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.373, allocations: 1.14 MB / 0.5759 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.3738, allocations: 291.4 kB / 0.5762 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003654/0.3775, allocations: 2.318 MB / 0.5784 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.3798, allocations: 1.738 MB / 0.5801 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.3812, allocations: 0.884 MB / 0.581 GB, free: 312 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.383, allocations: 1.176 MB / 0.5821 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.3834, allocations: 196 kB / 0.5823 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3846, allocations: 0.6084 MB / 0.5829 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.3858, allocations: 1.133 MB / 0.584 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.387, allocations: 0.947 MB / 0.585 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005263/0.3923, allocations: 4.346 MB / 0.5892 GB, free: 7.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3923, allocations: 0 / 0.5892 GB, free: 7.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3923, allocations: 0 / 0.5892 GB, free: 7.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.76e-05/0.3924, allocations: 0 / 0.5892 GB, free: 7.871 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.00589/0.3983, allocations: 2.87 MB / 0.592 GB, free: 4.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3983, allocations: 12.03 kB / 0.592 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/0.4035, allocations: 1.574 MB / 0.5936 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.4064, allocations: 1.279 MB / 0.5948 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.4066, allocations: 152 kB / 0.5949 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.407, allocations: 187.8 kB / 0.5951 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.4176, allocations: 6.254 MB / 0.6012 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.4176, allocations: 11.88 kB / 0.6012 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.4179, allocations: 87.91 kB / 0.6013 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002194/0.4201, allocations: 1.344 MB / 0.6026 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.431, allocations: 5.315 MB / 0.6078 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02824/0.4593, allocations: 18.29 MB / 0.6257 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.4635, allocations: 1.488 MB / 0.6271 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.4645, allocations: 0.6424 MB / 0.6278 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006941/0.4715, allocations: 3.021 MB / 0.6307 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.4715, allocations: 39 kB / 0.6308 GB, free: 12.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.517e-06/0.4715, allocations: 0 / 0.6308 GB, free: 12.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005581/0.4771, allocations: 1.982 MB / 0.6327 GB, free: 10.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.4772, allocations: 55.84 kB / 0.6327 GB, free: 10.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.48, allocations: 1.935 MB / 0.6346 GB, free: 8.324 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.4801, allocations: 29.7 kB / 0.6347 GB, free: 8.289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.4817, allocations: 1.926 MB / 0.6365 GB, free: 6.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.482, allocations: 329.5 kB / 0.6369 GB, free: 6.016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000835/0.4829, allocations: 0.6195 MB / 0.6375 GB, free: 5.387 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4831, allocations: 345.9 kB / 0.6378 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.4845, allocations: 0.8881 MB / 0.6387 GB, free: 4.152 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/0.4877, allocations: 2.751 MB / 0.6414 GB, free: 480 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/0.493, allocations: 3.972 MB / 0.6452 GB, free: 11.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.686e-05/0.4931, allocations: 20 kB / 0.6452 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006401/0.4995, allocations: 3.52 MB / 0.6487 GB, free: 8.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/0.4995, allocations: 32 kB / 0.6487 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-05/0.4996, allocations: 68 kB / 0.6488 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.4997, allocations: 84 kB / 0.6489 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.5017, allocations: 0.655 MB / 0.6495 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001267/0.5018, allocations: 127.5 kB / 0.6496 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.5041, allocations: 428.9 kB / 0.65 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/0.5044, allocations: 192 kB / 0.6502 GB, free: 6.457 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.002193/0.5066, allocations: 1.334 MB / 0.6515 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.5068, allocations: 158.9 kB / 0.6517 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.5072, allocations: 188 kB / 0.6518 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/0.5072, allocations: 12 kB / 0.6519 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.5072, allocations: 3.938 kB / 0.6519 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5072, allocations: 3.984 kB / 0.6519 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/0.5129, allocations: 3.07 MB / 0.6549 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.513, allocations: 8 kB / 0.6549 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.5134, allocations: 103.8 kB / 0.655 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.572e-05/0.5134, allocations: 11.94 kB / 0.655 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.5134, allocations: 20 kB / 0.655 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/0.5135, allocations: 15.94 kB / 0.655 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.5135, allocations: 8 kB / 0.655 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.5151, allocations: 1.253 MB / 0.6562 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.5155, allocations: 154.8 kB / 0.6564 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.5157, allocations: 19.94 kB / 0.6564 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.5161, allocations: 31.95 kB / 0.6564 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.5162, allocations: 59.75 kB / 0.6565 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.5163, allocations: 31.98 kB / 0.6565 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001703/0.518, allocations: 1.11 MB / 0.6576 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.518, allocations: 0 / 0.6576 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002817/0.5208, allocations: 0.7045 MB / 0.6583 GB, free: 13.93 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.0003775/0.5212, allocations: 150.9 kB / 0.6585 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003401/0.5246, allocations: 1.955 MB / 0.6604 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5246, allocations: 2 kB / 0.6604 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.5252, allocations: 441 kB / 0.6608 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.5265, allocations: 197.2 kB / 0.661 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009702/0.5362, allocations: 5.405 MB / 0.6662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.5387, allocations: 1.708 MB / 0.6679 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/0.5392, allocations: 135.4 kB / 0.668 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of SimCode: time 1.924e-06/0.5392, allocations: 0 / 0.668 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of Templates: time 0.05044/0.5897, allocations: 30.07 MB / 0.6974 GB, free: 5.773 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.909879402257502]