Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,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.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,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.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 112.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 185.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.19 MB / 337.4 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.311, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009836/0.3209, allocations: 9.745 MB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00646/0.3274, allocations: 2.915 MB / 0.5319 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.3292, allocations: 53.53 kB / 0.532 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003761/0.3331, allocations: 1.996 MB / 0.5339 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.336, allocations: 1.132 MB / 0.535 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.3368, allocations: 282.3 kB / 0.5353 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003274/0.3401, allocations: 2.333 MB / 0.5376 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.3428, allocations: 2.324 MB / 0.5398 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.3441, allocations: 0.8992 MB / 0.5407 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.3457, allocations: 1.179 MB / 0.5419 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004164/0.3461, allocations: 198.5 kB / 0.5421 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.3474, allocations: 0.7005 MB / 0.5427 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.3485, allocations: 1.165 MB / 0.5439 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.3497, allocations: 1.351 MB / 0.5452 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.3539, allocations: 4.447 MB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3539, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3539, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.763e-05/0.354, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 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.004687/0.3587, allocations: 2.955 MB / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3588, allocations: 12.03 kB / 0.5524 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/0.3634, allocations: 1.576 MB / 0.554 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.3662, allocations: 1.363 MB / 0.5553 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.3663, allocations: 148.1 kB / 0.5555 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/0.3666, allocations: 191.8 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009354/0.376, allocations: 6.428 MB / 0.5619 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.844e-05/0.3761, allocations: 19.88 kB / 0.5619 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004277/0.3765, allocations: 91.89 kB / 0.562 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/0.3786, allocations: 1.41 MB / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009761/0.3884, allocations: 5.48 MB / 0.5687 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02767/0.4161, allocations: 20.42 MB / 0.5887 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.4205, allocations: 2.08 MB / 0.5907 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009817/0.4215, allocations: 0.6836 MB / 0.5914 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006155/0.4277, allocations: 3.507 MB / 0.5948 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4277, allocations: 35 kB / 0.5948 GB, free: 13.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.467e-06/0.4278, allocations: 0 / 0.5948 GB, free: 13.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005059/0.4328, allocations: 1.985 MB / 0.5968 GB, free: 11.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.4329, allocations: 55.84 kB / 0.5968 GB, free: 11.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.436, allocations: 1.97 MB / 0.5988 GB, free: 9.531 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.4361, allocations: 33.7 kB / 0.5988 GB, free: 9.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.4374, allocations: 1.879 MB / 0.6006 GB, free: 7.582 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.4378, allocations: 316.1 kB / 0.6009 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008764/0.4386, allocations: 0.623 MB / 0.6015 GB, free: 6.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4388, allocations: 353.9 kB / 0.6019 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.4401, allocations: 0.8959 MB / 0.6028 GB, free: 5.387 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.4425, allocations: 2.77 MB / 0.6055 GB, free: 1.676 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.4465, allocations: 4.002 MB / 0.6094 GB, free: 12.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.682e-05/0.4465, allocations: 24 kB / 0.6094 GB, free: 12.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005369/0.4519, allocations: 3.542 MB / 0.6128 GB, free: 9.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.452, allocations: 36 kB / 0.6129 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.781e-05/0.4521, allocations: 68.16 kB / 0.6129 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-05/0.4522, allocations: 91.94 kB / 0.613 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.454, allocations: 0.6628 MB / 0.6137 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001023/0.4541, allocations: 131.5 kB / 0.6138 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.456, allocations: 419.5 kB / 0.6142 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/0.4563, allocations: 188 kB / 0.6144 GB, free: 7.582 MB / 478.1 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.001845/0.4582, allocations: 1.377 MB / 0.6157 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.4584, allocations: 161.8 kB / 0.6159 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.4588, allocations: 201.2 kB / 0.6161 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.4588, allocations: 12 kB / 0.6161 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4588, allocations: 3.938 kB / 0.6161 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4588, allocations: 3.984 kB / 0.6161 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006452/0.4653, allocations: 4.129 MB / 0.6201 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.4653, allocations: 8 kB / 0.6201 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.4657, allocations: 99.81 kB / 0.6202 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.4657, allocations: 8 kB / 0.6202 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.4658, allocations: 16 kB / 0.6203 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.4658, allocations: 11.94 kB / 0.6203 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.4658, allocations: 8.469 kB / 0.6203 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4671, allocations: 1.246 MB / 0.6215 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.4676, allocations: 250.7 kB / 0.6217 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.4678, allocations: 23.98 kB / 0.6218 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.4684, allocations: 23.98 kB / 0.6218 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.4685, allocations: 59.81 kB / 0.6218 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.4685, allocations: 31.98 kB / 0.6219 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001779/0.4703, allocations: 1.287 MB / 0.6231 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4703, allocations: 0 / 0.6231 GB, free: 14.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002424/0.4728, allocations: 0.7037 MB / 0.6238 GB, free: 13.67 MB / 494.1 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.0002997/0.4731, allocations: 147 kB / 0.6239 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.4759, allocations: 2.054 MB / 0.626 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.4759, allocations: 4.375 kB / 0.626 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.4765, allocations: 459.9 kB / 0.6264 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.4777, allocations: 249.2 kB / 0.6266 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008601/0.4863, allocations: 5.429 MB / 0.6319 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/0.4889, allocations: 2.319 MB / 0.6342 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.4894, allocations: 147.4 kB / 0.6343 GB, free: 2.754 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4894, allocations: 0 / 0.6343 GB, free: 2.754 MB / 494.1 MB Notification: Performance of Templates: time 0.04393/0.5333, allocations: 30.83 MB / 0.6644 GB, free: 3.984 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches