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.001554/0.001554, allocations: 104.4 kB / 17.98 MB, free: 5.355 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.001764/0.001764, allocations: 193.3 kB / 18.9 MB, free: 4.434 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.39/1.39, allocations: 222.9 MB / 242.6 MB, free: 13.73 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.2085/0.2085, allocations: 44.17 MB / 336.9 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 62.3 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03588/0.1478, allocations: 37.7 MB / 0.4952 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.1643, allocations: 7.533 MB / 0.5025 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006138/0.1705, allocations: 155.7 kB / 0.5027 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2007/0.3712, allocations: 1.912 MB / 0.5046 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.3742, allocations: 1.058 MB / 0.5056 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.3751, allocations: 272.5 kB / 0.5058 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003645/0.3788, allocations: 2.35 MB / 0.5081 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.3824, allocations: 2.446 MB / 0.5105 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.3842, allocations: 0.9115 MB / 0.5114 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.3864, allocations: 1.291 MB / 0.5127 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008044/0.3872, allocations: 198.6 kB / 0.5129 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.3892, allocations: 0.7079 MB / 0.5136 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.391, allocations: 1.156 MB / 0.5147 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.3931, allocations: 1.362 MB / 0.516 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.3972, allocations: 3.539 MB / 0.5195 GB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3972, allocations: 4 kB / 0.5195 GB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3972, allocations: 1.375 kB / 0.5195 GB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001193/0.3974, allocations: 0 / 0.5195 GB, free: 9.27 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.006177/0.4036, allocations: 2.944 MB / 0.5224 GB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4036, allocations: 9.562 kB / 0.5224 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/0.4085, allocations: 1.587 MB / 0.5239 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.4112, allocations: 1.344 MB / 0.5252 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.4113, allocations: 146.4 kB / 0.5254 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004778/0.4118, allocations: 191.7 kB / 0.5256 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009844/0.4216, allocations: 6.438 MB / 0.5318 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.98e-05/0.4217, allocations: 14.59 kB / 0.5319 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/0.422, allocations: 96.3 kB / 0.5319 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/0.4239, allocations: 1.4 MB / 0.5333 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009557/0.4335, allocations: 5.489 MB / 0.5387 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.4605, allocations: 20.55 MB / 0.5587 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/0.4648, allocations: 2.096 MB / 0.5608 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009264/0.4657, allocations: 0.69 MB / 0.5615 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005858/0.4716, allocations: 3.508 MB / 0.5649 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.4717, allocations: 39 kB / 0.5649 GB, free: 3.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.436e-06/0.4717, allocations: 0 / 0.5649 GB, free: 3.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005313/0.477, allocations: 1.977 MB / 0.5669 GB, free: 1.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.4771, allocations: 59.78 kB / 0.5669 GB, free: 1.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.4798, allocations: 1.97 MB / 0.5688 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.4799, allocations: 33.7 kB / 0.5689 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.4811, allocations: 1.881 MB / 0.5707 GB, free: 14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.4814, allocations: 312.9 kB / 0.571 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007759/0.4822, allocations: 0.6191 MB / 0.5716 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4823, allocations: 353.9 kB / 0.5719 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.4835, allocations: 0.8959 MB / 0.5728 GB, free: 11.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.486, allocations: 2.771 MB / 0.5755 GB, free: 8.141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.4901, allocations: 3.998 MB / 0.5794 GB, free: 3.484 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.88e-05/0.4902, allocations: 20 kB / 0.5795 GB, free: 3.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005744/0.496, allocations: 3.553 MB / 0.5829 GB, free: 320 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.4961, allocations: 32.56 kB / 0.583 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.579e-05/0.4961, allocations: 72.12 kB / 0.583 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-05/0.4962, allocations: 88 kB / 0.5831 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.4982, allocations: 0.6649 MB / 0.5838 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-05/0.4983, allocations: 133.4 kB / 0.5839 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.5003, allocations: 419.5 kB / 0.5843 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/0.5006, allocations: 191.5 kB / 0.5845 GB, free: 14.82 MB / 446.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.002307/0.5029, allocations: 1.373 MB / 0.5858 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.5032, allocations: 157.9 kB / 0.586 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.5036, allocations: 197.2 kB / 0.5861 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.5036, allocations: 15.94 kB / 0.5862 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.5036, allocations: 0 / 0.5862 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.5036, allocations: 3.984 kB / 0.5862 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007233/0.5109, allocations: 4.139 MB / 0.5902 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5109, allocations: 8 kB / 0.5902 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.5113, allocations: 100 kB / 0.5903 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.5113, allocations: 8 kB / 0.5903 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.5114, allocations: 19.05 kB / 0.5903 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.5114, allocations: 10.81 kB / 0.5903 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.5114, allocations: 11.31 kB / 0.5904 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.5129, allocations: 1.238 MB / 0.5916 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/0.5134, allocations: 254.7 kB / 0.5918 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.5136, allocations: 23.98 kB / 0.5918 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.514, allocations: 27.89 kB / 0.5919 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.5141, allocations: 53.42 kB / 0.5919 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.5142, allocations: 31.98 kB / 0.5919 GB, free: 7.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001931/0.5161, allocations: 1.287 MB / 0.5932 GB, free: 5.762 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5162, allocations: 0 / 0.5932 GB, free: 5.762 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002693/0.5189, allocations: 0.702 MB / 0.5939 GB, free: 5.059 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.0003432/0.5192, allocations: 146.3 kB / 0.594 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003352/0.5226, allocations: 2.253 MB / 0.5962 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5226, allocations: 0.5 kB / 0.5962 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.5231, allocations: 462.3 kB / 0.5967 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.5245, allocations: 261.1 kB / 0.5969 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.535, allocations: 6.818 MB / 0.6036 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.5376, allocations: 2.326 MB / 0.6058 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.5381, allocations: 139.4 kB / 0.606 GB, free: 8.781 MB / 462.1 MB Notification: Performance of SimCode: time 2.414e-06/0.5381, allocations: 0 / 0.606 GB, free: 8.781 MB / 462.1 MB Notification: Performance of Templates: time 0.04611/0.5842, allocations: 30.51 MB / 0.6358 GB, free: 10.35 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