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.001853/0.001853, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002244/0.002244, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2298/0.2298, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.002152/0.002152, allocations: 67.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.34, allocations: 66.03 MB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0114/0.3514, allocations: 8.408 MB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007549/0.359, allocations: 2.791 MB / 0.572 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.3602, allocations: 59.75 kB / 0.5721 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004049/0.3643, allocations: 1.928 MB / 0.5739 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.367, allocations: 1.137 MB / 0.5751 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.3678, allocations: 295.4 kB / 0.5753 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003103/0.3709, allocations: 2.321 MB / 0.5776 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.373, allocations: 1.738 MB / 0.5793 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3741, allocations: 0.8801 MB / 0.5802 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.3758, allocations: 1.183 MB / 0.5813 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.3761, allocations: 192 kB / 0.5815 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.3773, allocations: 0.6085 MB / 0.5821 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.3784, allocations: 1.137 MB / 0.5832 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.3795, allocations: 0.951 MB / 0.5841 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004953/0.3844, allocations: 4.342 MB / 0.5884 GB, free: 8.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.3844, allocations: 4 kB / 0.5884 GB, free: 8.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3844, allocations: 0 / 0.5884 GB, free: 8.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.021e-05/0.3845, allocations: 0 / 0.5884 GB, free: 8.094 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.005157/0.3897, allocations: 2.862 MB / 0.5912 GB, free: 5.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3897, allocations: 8.031 kB / 0.5912 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.3949, allocations: 1.582 MB / 0.5927 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.3978, allocations: 1.275 MB / 0.594 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.3979, allocations: 144 kB / 0.5941 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.3983, allocations: 191.8 kB / 0.5943 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.4083, allocations: 6.25 MB / 0.6004 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/0.4084, allocations: 11.88 kB / 0.6004 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.4086, allocations: 91.91 kB / 0.6005 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002175/0.4108, allocations: 1.34 MB / 0.6018 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.421, allocations: 5.33 MB / 0.607 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/0.4481, allocations: 18.29 MB / 0.6249 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.4521, allocations: 1.483 MB / 0.6263 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009761/0.4531, allocations: 0.6367 MB / 0.6269 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006548/0.4596, allocations: 3.017 MB / 0.6299 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.4597, allocations: 42.94 kB / 0.6299 GB, free: 12.56 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.366e-06/0.4597, allocations: 0 / 0.6299 GB, free: 12.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005637/0.4653, allocations: 1.975 MB / 0.6319 GB, free: 10.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.4654, allocations: 67.78 kB / 0.6319 GB, free: 10.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.4682, allocations: 1.931 MB / 0.6338 GB, free: 8.559 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.4683, allocations: 37.69 kB / 0.6338 GB, free: 8.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.4697, allocations: 1.923 MB / 0.6357 GB, free: 6.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.47, allocations: 329.5 kB / 0.636 GB, free: 6.246 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007977/0.4708, allocations: 0.6195 MB / 0.6366 GB, free: 5.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.471, allocations: 345.9 kB / 0.637 GB, free: 5.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4724, allocations: 0.8842 MB / 0.6378 GB, free: 4.387 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/0.4754, allocations: 2.751 MB / 0.6405 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004784/0.4801, allocations: 3.972 MB / 0.6444 GB, free: 11.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.872e-05/0.4802, allocations: 20 kB / 0.6444 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005896/0.4861, allocations: 3.524 MB / 0.6479 GB, free: 8.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.4861, allocations: 36.22 kB / 0.6479 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.4863, allocations: 68 kB / 0.648 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.4864, allocations: 88 kB / 0.648 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.4883, allocations: 0.6511 MB / 0.6487 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001367/0.4885, allocations: 135.4 kB / 0.6488 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.4904, allocations: 413 kB / 0.6492 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/0.4907, allocations: 184 kB / 0.6494 GB, free: 6.699 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.002224/0.4929, allocations: 1.346 MB / 0.6507 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.4931, allocations: 158.9 kB / 0.6508 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.4935, allocations: 188 kB / 0.651 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.4935, allocations: 8 kB / 0.651 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.4935, allocations: 3.938 kB / 0.651 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4936, allocations: 7.922 kB / 0.651 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006124/0.4997, allocations: 3.062 MB / 0.654 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4997, allocations: 8.031 kB / 0.654 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.5001, allocations: 103.8 kB / 0.6541 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-05/0.5001, allocations: 19.92 kB / 0.6542 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.5002, allocations: 20 kB / 0.6542 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/0.5002, allocations: 15.92 kB / 0.6542 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.5002, allocations: 11.94 kB / 0.6542 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.502, allocations: 1.245 MB / 0.6554 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.5024, allocations: 158.8 kB / 0.6556 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.5026, allocations: 19.92 kB / 0.6556 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.5031, allocations: 27.98 kB / 0.6556 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.5032, allocations: 55.8 kB / 0.6557 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.5033, allocations: 36.05 kB / 0.6557 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001751/0.505, allocations: 1.11 MB / 0.6568 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.505, allocations: 0 / 0.6568 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003152/0.5082, allocations: 0.7045 MB / 0.6575 GB, free: 14.16 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.0003809/0.5085, allocations: 150.9 kB / 0.6576 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003431/0.512, allocations: 1.955 MB / 0.6595 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.512, allocations: 4 kB / 0.6595 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.5126, allocations: 434.7 kB / 0.6599 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5137, allocations: 186.6 kB / 0.6601 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.524, allocations: 5.099 MB / 0.6651 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/0.5266, allocations: 1.712 MB / 0.6668 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00221/0.5288, allocations: 0.9351 MB / 0.6677 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.5291, allocations: 119.4 kB / 0.6678 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of SimCode: time 1.223e-06/0.5291, allocations: 0 / 0.6678 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of Templates: time 0.03011/0.5592, allocations: 14.11 MB / 0.6816 GB, free: 5.496 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/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.6839977372437716]