Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 103.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3331/0.3331, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009646/0.0009647, allocations: 47.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3173, allocations: 60.8 MB / 0.5064 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02997/0.3473, allocations: 37.71 MB / 0.5432 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.364, allocations: 7.561 MB / 0.5506 GB, free: 6.227 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00708/0.3711, allocations: 153.1 kB / 0.5507 GB, free: 6.207 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.3745, allocations: 1.996 MB / 0.5527 GB, free: 5.281 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.3769, allocations: 1.065 MB / 0.5537 GB, free: 4.848 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.3775, allocations: 269.2 kB / 0.554 GB, free: 4.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003633/0.3811, allocations: 3.42 MB / 0.5573 GB, free: 3.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002955/0.3841, allocations: 2.315 MB / 0.5596 GB, free: 2.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.3857, allocations: 0.8093 MB / 0.5604 GB, free: 2.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.3878, allocations: 1.238 MB / 0.5616 GB, free: 2.113 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004285/0.3882, allocations: 154.5 kB / 0.5617 GB, free: 2.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3898, allocations: 0.6919 MB / 0.5624 GB, free: 1.945 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.3913, allocations: 1.11 MB / 0.5635 GB, free: 1.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.3929, allocations: 1.311 MB / 0.5648 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006482/0.3994, allocations: 4.25 MB / 0.5689 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.3994, allocations: 4.5 kB / 0.5689 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3994, allocations: 1.094 kB / 0.5689 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001414/0.3996, allocations: 0 / 0.5689 GB, free: 15.11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006698/0.4063, allocations: 2.946 MB / 0.5718 GB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4064, allocations: 8.031 kB / 0.5718 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005383/0.4117, allocations: 1.584 MB / 0.5734 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/0.4154, allocations: 1.34 MB / 0.5747 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.4155, allocations: 148.1 kB / 0.5748 GB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/0.416, allocations: 195.8 kB / 0.575 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.4263, allocations: 6.432 MB / 0.5813 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.598e-05/0.4264, allocations: 11.88 kB / 0.5813 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.4267, allocations: 87.91 kB / 0.5814 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002103/0.4288, allocations: 1.414 MB / 0.5828 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009641/0.4384, allocations: 5.484 MB / 0.5881 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02772/0.4662, allocations: 20.57 MB / 0.6082 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.4703, allocations: 2.082 MB / 0.6102 GB, free: 4.516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009254/0.4712, allocations: 0.6953 MB / 0.6109 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006381/0.4776, allocations: 3.505 MB / 0.6143 GB, free: 176 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.4777, allocations: 39 kB / 0.6144 GB, free: 128 kB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 3.857e-06/0.4777, allocations: 4 kB / 0.6144 GB, free: 124 kB / 426.7 MB Notification: Performance of matching and sorting (n=78): time 0.005234/0.4829, allocations: 1.989 MB / 0.6163 GB, free: 14.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.483, allocations: 55.84 kB / 0.6164 GB, free: 14.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.4857, allocations: 1.958 MB / 0.6183 GB, free: 12.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.4858, allocations: 33.7 kB / 0.6183 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.487, allocations: 1.883 MB / 0.6201 GB, free: 10.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.4873, allocations: 316 kB / 0.6204 GB, free: 9.828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007852/0.4881, allocations: 0.623 MB / 0.6211 GB, free: 9.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4882, allocations: 353.9 kB / 0.6214 GB, free: 8.844 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.4894, allocations: 0.892 MB / 0.6223 GB, free: 7.949 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.4918, allocations: 2.77 MB / 0.625 GB, free: 4.238 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.4958, allocations: 4.001 MB / 0.6289 GB, free: 15.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.73e-05/0.4958, allocations: 16 kB / 0.6289 GB, free: 15.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005329/0.5012, allocations: 3.55 MB / 0.6324 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.5012, allocations: 37.23 kB / 0.6324 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.816e-05/0.5013, allocations: 72 kB / 0.6325 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001196/0.5014, allocations: 92.72 kB / 0.6326 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.5033, allocations: 0.655 MB / 0.6332 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-05/0.5034, allocations: 135.5 kB / 0.6333 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.5052, allocations: 427.4 kB / 0.6337 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.5054, allocations: 180 kB / 0.6339 GB, free: 10.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.00201/0.5075, allocations: 1.378 MB / 0.6352 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.5077, allocations: 157.9 kB / 0.6354 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.5081, allocations: 205.1 kB / 0.6356 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.5082, allocations: 15.98 kB / 0.6356 GB, free: 8.375 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.5082, allocations: 3.938 kB / 0.6356 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5082, allocations: 0 / 0.6356 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/0.5151, allocations: 4.137 MB / 0.6397 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.5152, allocations: 11.98 kB / 0.6397 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.5156, allocations: 95.83 kB / 0.6398 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.5156, allocations: 8 kB / 0.6398 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.5157, allocations: 19.98 kB / 0.6398 GB, free: 3.965 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.5157, allocations: 11.94 kB / 0.6398 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5157, allocations: 4 kB / 0.6398 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.5182, allocations: 2.559 MB / 0.6423 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.5188, allocations: 250.6 kB / 0.6425 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.519, allocations: 19.98 kB / 0.6426 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.5194, allocations: 31.89 kB / 0.6426 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5196, allocations: 59.7 kB / 0.6426 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.5196, allocations: 31.98 kB / 0.6427 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002058/0.5217, allocations: 1.279 MB / 0.6439 GB, free: 15.58 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5217, allocations: 4 kB / 0.6439 GB, free: 15.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002963/0.5247, allocations: 0.7 MB / 0.6446 GB, free: 14.88 MB / 474.7 MB 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.0003807/0.5251, allocations: 150.8 kB / 0.6448 GB, free: 14.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003448/0.5285, allocations: 2.032 MB / 0.6467 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5286, allocations: 4 kB / 0.6467 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005443/0.5291, allocations: 461.7 kB / 0.6472 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.5305, allocations: 235.2 kB / 0.6474 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.5413, allocations: 7.013 MB / 0.6543 GB, free: 4.891 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/0.5441, allocations: 2.355 MB / 0.6566 GB, free: 2.508 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002504/0.5466, allocations: 0.9599 MB / 0.6575 GB, free: 1.543 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.547, allocations: 119.4 kB / 0.6576 GB, free: 1.426 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/0.547, allocations: 0 / 0.6576 GB, free: 1.426 MB / 474.7 MB Notification: Performance of Templates: time 0.03111/0.5781, allocations: 14.4 MB / 0.6717 GB, free: 3.07 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches