Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001754/0.001754, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002014/0.002014, allocations: 210.8 kB / 23.73 MB, free: 4.523 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2431/0.2431, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.89 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3368, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01098/0.3477, allocations: 8.396 MB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005898/0.3536, allocations: 2.792 MB / 0.572 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008697/0.3545, allocations: 55.81 kB / 0.5721 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004049/0.3586, allocations: 1.931 MB / 0.5739 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.3615, allocations: 1.144 MB / 0.5751 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.3623, allocations: 287.5 kB / 0.5753 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003221/0.3655, allocations: 2.333 MB / 0.5776 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.3676, allocations: 1.734 MB / 0.5793 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.3688, allocations: 0.8878 MB / 0.5802 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.3706, allocations: 1.258 MB / 0.5814 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.371, allocations: 196 kB / 0.5816 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.3721, allocations: 0.6122 MB / 0.5822 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.3732, allocations: 1.133 MB / 0.5833 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.3742, allocations: 0.9509 MB / 0.5842 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.379, allocations: 4.345 MB / 0.5885 GB, free: 7.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.379, allocations: 0 / 0.5885 GB, free: 7.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.379, allocations: 4 kB / 0.5885 GB, free: 7.977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.396e-05/0.3791, allocations: 0 / 0.5885 GB, free: 7.977 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.005248/0.3844, allocations: 2.866 MB / 0.5913 GB, free: 5.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3844, allocations: 8.031 kB / 0.5913 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.3895, allocations: 1.578 MB / 0.5928 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.3929, allocations: 1.282 MB / 0.5941 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.393, allocations: 144 kB / 0.5942 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/0.3934, allocations: 187.8 kB / 0.5944 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.4035, allocations: 6.25 MB / 0.6005 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.4036, allocations: 11.88 kB / 0.6005 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.4038, allocations: 87.91 kB / 0.6006 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.406, allocations: 1.348 MB / 0.6019 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.4165, allocations: 5.318 MB / 0.6071 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.4462, allocations: 18.26 MB / 0.6249 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/0.4505, allocations: 1.551 MB / 0.6264 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.4515, allocations: 0.6367 MB / 0.6271 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006915/0.4584, allocations: 2.896 MB / 0.6299 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4584, allocations: 39 kB / 0.6299 GB, free: 12.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.895e-06/0.4584, allocations: 0 / 0.6299 GB, free: 12.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005535/0.464, allocations: 1.963 MB / 0.6318 GB, free: 10.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.464, allocations: 63.84 kB / 0.6319 GB, free: 10.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.4666, allocations: 1.931 MB / 0.6338 GB, free: 8.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.4667, allocations: 33.7 kB / 0.6338 GB, free: 8.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.4682, allocations: 1.93 MB / 0.6357 GB, free: 6.551 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.4686, allocations: 325.6 kB / 0.636 GB, free: 6.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008937/0.4695, allocations: 0.6234 MB / 0.6366 GB, free: 5.598 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.4697, allocations: 349.9 kB / 0.637 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.471, allocations: 0.8842 MB / 0.6378 GB, free: 4.363 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/0.4747, allocations: 2.755 MB / 0.6405 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005445/0.4801, allocations: 3.969 MB / 0.6444 GB, free: 11.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-05/0.4802, allocations: 20 kB / 0.6444 GB, free: 11.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005791/0.486, allocations: 3.511 MB / 0.6478 GB, free: 8.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.486, allocations: 34.81 kB / 0.6479 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.521e-05/0.4861, allocations: 68.88 kB / 0.6479 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.4862, allocations: 88 kB / 0.648 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.4882, allocations: 0.6628 MB / 0.6487 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.4883, allocations: 131.5 kB / 0.6488 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.4902, allocations: 420.8 kB / 0.6492 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/0.4905, allocations: 188 kB / 0.6494 GB, free: 6.672 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.002344/0.4929, allocations: 1.342 MB / 0.6507 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.4931, allocations: 158.9 kB / 0.6508 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.4935, allocations: 192 kB / 0.651 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.4935, allocations: 8 kB / 0.651 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4935, allocations: 0 / 0.651 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4935, allocations: 0 / 0.651 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006311/0.4998, allocations: 3.114 MB / 0.6541 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.103e-05/0.4999, allocations: 8.75 kB / 0.6541 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.5003, allocations: 95.83 kB / 0.6542 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.976e-05/0.5003, allocations: 23.91 kB / 0.6542 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.5003, allocations: 20 kB / 0.6542 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.5004, allocations: 8 kB / 0.6542 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.5004, allocations: 11.88 kB / 0.6542 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.5023, allocations: 1.225 MB / 0.6554 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.5027, allocations: 150.7 kB / 0.6556 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.5028, allocations: 27.98 kB / 0.6556 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.5033, allocations: 19.98 kB / 0.6556 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.5034, allocations: 67.72 kB / 0.6557 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.5035, allocations: 27.94 kB / 0.6557 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001788/0.5053, allocations: 1.11 MB / 0.6568 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5053, allocations: 0 / 0.6568 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002676/0.5079, allocations: 0.7045 MB / 0.6575 GB, free: 14.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003487/0.5083, allocations: 146.9 kB / 0.6576 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003332/0.5116, allocations: 1.956 MB / 0.6595 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5116, allocations: 0 / 0.6595 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007786/0.5124, allocations: 429.6 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.00114/0.5135, allocations: 184.5 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.009207/0.5228, allocations: 5.069 MB / 0.6651 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/0.5253, allocations: 1.708 MB / 0.6667 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002156/0.5274, allocations: 0.9272 MB / 0.6676 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.5277, allocations: 107.4 kB / 0.6677 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.5277, allocations: 0 / 0.6677 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of Templates: time 0.03078/0.5585, allocations: 15.49 MB / 0.6829 GB, free: 4.18 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.71423389390111]