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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 94.75 kB / 18 MB, free: 5.602 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.001255/0.001255, allocations: 181.2 kB / 18.91 MB, free: 4.734 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.348/1.348, allocations: 223.3 MB / 243 MB, free: 14.3 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.2049/0.2049, allocations: 44.26 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003147, allocations: 9.156 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03249/0.1448, allocations: 36.63 MB / 0.4976 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.1611, allocations: 7.529 MB / 0.505 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006864/0.168, allocations: 155.6 kB / 0.5051 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.1692, allocations: 294.7 kB / 0.5054 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2405/0.4097, allocations: 1.066 MB / 0.5064 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.4109, allocations: 274.6 kB / 0.5067 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00636/0.4173, allocations: 3.405 MB / 0.51 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005701/0.423, allocations: 3.343 MB / 0.5133 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.4246, allocations: 0.6474 MB / 0.5139 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.4264, allocations: 1.056 MB / 0.5149 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.4268, allocations: 86.31 kB / 0.515 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.4285, allocations: 0.6362 MB / 0.5156 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.4298, allocations: 1.027 MB / 0.5166 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.4312, allocations: 1.219 MB / 0.5178 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004092/0.4353, allocations: 3.424 MB / 0.5212 GB, free: 9.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4353, allocations: 1.25 kB / 0.5212 GB, free: 9.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4353, allocations: 0 / 0.5212 GB, free: 9.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001465/0.4355, allocations: 0 / 0.5212 GB, free: 9.551 MB / 382.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.006246/0.4417, allocations: 2.415 MB / 0.5235 GB, free: 7.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.4418, allocations: 9 kB / 0.5235 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.4474, allocations: 1.631 MB / 0.5251 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.4503, allocations: 1.34 MB / 0.5264 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4504, allocations: 143.1 kB / 0.5266 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.4509, allocations: 203.3 kB / 0.5268 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.4611, allocations: 6.437 MB / 0.5331 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/0.4612, allocations: 13.91 kB / 0.5331 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.4614, allocations: 90.91 kB / 0.5332 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001921/0.4634, allocations: 1.405 MB / 0.5345 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009212/0.4726, allocations: 5.487 MB / 0.5399 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02999/0.5026, allocations: 20.57 MB / 0.56 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004572/0.5072, allocations: 2.088 MB / 0.562 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.5084, allocations: 0.6912 MB / 0.5627 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006531/0.5149, allocations: 3.512 MB / 0.5661 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/0.515, allocations: 39 kB / 0.5662 GB, free: 5.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.877e-06/0.515, allocations: 0 / 0.5662 GB, free: 5.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005688/0.5207, allocations: 1.988 MB / 0.5681 GB, free: 3.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.5208, allocations: 55.84 kB / 0.5682 GB, free: 2.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/0.5244, allocations: 1.97 MB / 0.5701 GB, free: 1.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.5246, allocations: 33.7 kB / 0.5701 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/0.5263, allocations: 1.877 MB / 0.5719 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004876/0.5268, allocations: 317.7 kB / 0.5722 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004476/0.5273, allocations: 280.3 kB / 0.5725 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.5275, allocations: 357.9 kB / 0.5729 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.529, allocations: 0.892 MB / 0.5737 GB, free: 13.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.5322, allocations: 2.768 MB / 0.5764 GB, free: 9.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005413/0.5376, allocations: 4.006 MB / 0.5803 GB, free: 4.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-05/0.5378, allocations: 20 kB / 0.5804 GB, free: 4.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006949/0.5447, allocations: 3.546 MB / 0.5838 GB, free: 1.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.5448, allocations: 36 kB / 0.5839 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.664e-05/0.5449, allocations: 64 kB / 0.5839 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.545, allocations: 92.66 kB / 0.584 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.5473, allocations: 0.6665 MB / 0.5847 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001245/0.5475, allocations: 132.7 kB / 0.5848 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.55, allocations: 419.5 kB / 0.5852 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000408/0.5504, allocations: 192 kB / 0.5854 GB, free: 252 kB / 430.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.002858/0.5533, allocations: 1.369 MB / 0.5867 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.5536, allocations: 165.8 kB / 0.5869 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.5541, allocations: 197.2 kB / 0.587 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.5541, allocations: 11.94 kB / 0.5871 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5542, allocations: 0 / 0.5871 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.5542, allocations: 3.984 kB / 0.5871 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007445/0.5616, allocations: 4.138 MB / 0.5911 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5617, allocations: 4 kB / 0.5911 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.5621, allocations: 102 kB / 0.5912 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.077e-05/0.5621, allocations: 8 kB / 0.5912 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.5622, allocations: 16 kB / 0.5912 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.5622, allocations: 10.34 kB / 0.5912 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.5622, allocations: 6.531 kB / 0.5912 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.5638, allocations: 1.251 MB / 0.5925 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.5644, allocations: 258.7 kB / 0.5927 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.5646, allocations: 18.42 kB / 0.5927 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.5651, allocations: 31.88 kB / 0.5928 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5652, allocations: 57.7 kB / 0.5928 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/0.5652, allocations: 24 kB / 0.5928 GB, free: 8.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002105/0.5674, allocations: 1.283 MB / 0.5941 GB, free: 7.191 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5674, allocations: 0 / 0.5941 GB, free: 7.191 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003006/0.5704, allocations: 0.706 MB / 0.5948 GB, free: 6.484 MB / 446.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.0003612/0.5708, allocations: 145.9 kB / 0.5949 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.5741, allocations: 2.034 MB / 0.5969 GB, free: 4.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.5742, allocations: 0 / 0.5969 GB, free: 4.504 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.5748, allocations: 462.2 kB / 0.5973 GB, free: 4.074 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.5775, allocations: 241.2 kB / 0.5976 GB, free: 3.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.589, allocations: 6.852 MB / 0.6043 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/0.5917, allocations: 2.324 MB / 0.6065 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/0.5922, allocations: 147.4 kB / 0.6067 GB, free: 10.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5922, allocations: 0 / 0.6067 GB, free: 10.39 MB / 462.1 MB Notification: Performance of Templates: time 0.04823/0.6404, allocations: 29.99 MB / 0.636 GB, free: 12.46 MB / 494.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches