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.001877/0.001877, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.002425/0.002425, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.322/2.322, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.374/0.374, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 63.56 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1492, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.06201/0.2112, allocations: 37.69 MB / 0.495 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02982/0.2411, allocations: 7.568 MB / 0.5024 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01168/0.2529, allocations: 155.7 kB / 0.5025 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3597/0.6127, allocations: 2.001 MB / 0.5045 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.618, allocations: 1.067 MB / 0.5055 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.6195, allocations: 268.6 kB / 0.5058 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008818/0.6284, allocations: 3.398 MB / 0.5091 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006495/0.6349, allocations: 2.319 MB / 0.5114 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.6379, allocations: 0.7996 MB / 0.5121 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003885/0.6418, allocations: 1.245 MB / 0.5134 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.6434, allocations: 154.3 kB / 0.5135 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.6467, allocations: 0.6918 MB / 0.5142 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002921/0.6497, allocations: 1.116 MB / 0.5153 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004042/0.6538, allocations: 1.309 MB / 0.5165 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006767/0.6606, allocations: 3.501 MB / 0.52 GB, free: 9.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.6607, allocations: 0 / 0.52 GB, free: 9.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.6607, allocations: 0 / 0.52 GB, free: 9.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002541/0.6609, allocations: 5.312 kB / 0.52 GB, free: 9.238 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.01305/0.674, allocations: 2.939 MB / 0.5228 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.6741, allocations: 12.91 kB / 0.5228 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00968/0.6838, allocations: 1.587 MB / 0.5244 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004671/0.6885, allocations: 1.344 MB / 0.5257 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.6888, allocations: 146.1 kB / 0.5259 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.6899, allocations: 190 kB / 0.526 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.7082, allocations: 6.437 MB / 0.5323 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-05/0.7083, allocations: 18.05 kB / 0.5323 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004168/0.7088, allocations: 92.95 kB / 0.5324 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003373/0.7121, allocations: 1.398 MB / 0.5338 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.7295, allocations: 5.493 MB / 0.5392 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05052/0.78, allocations: 20.56 MB / 0.5592 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008016/0.7881, allocations: 2.082 MB / 0.5613 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.7901, allocations: 0.6953 MB / 0.5619 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.802, allocations: 3.512 MB / 0.5654 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.8021, allocations: 38.56 kB / 0.5654 GB, free: 3.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.481e-06/0.8021, allocations: 2.719 kB / 0.5654 GB, free: 3.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.01023/0.8123, allocations: 1.976 MB / 0.5673 GB, free: 1.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8125, allocations: 59.78 kB / 0.5674 GB, free: 1.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/0.8187, allocations: 1.966 MB / 0.5693 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.819, allocations: 33.7 kB / 0.5694 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002513/0.8215, allocations: 1.877 MB / 0.5712 GB, free: 13.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007605/0.8223, allocations: 310.6 kB / 0.5715 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.8244, allocations: 0.6311 MB / 0.5721 GB, free: 12.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002764/0.8247, allocations: 353.9 kB / 0.5724 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.8274, allocations: 0.892 MB / 0.5733 GB, free: 11.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/0.8322, allocations: 2.772 MB / 0.576 GB, free: 7.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007977/0.8402, allocations: 4 MB / 0.5799 GB, free: 2.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.425e-05/0.8404, allocations: 20 kB / 0.5799 GB, free: 2.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.01205/0.8524, allocations: 3.549 MB / 0.5834 GB, free: 15.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.8526, allocations: 36 kB / 0.5834 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/0.8528, allocations: 64 kB / 0.5835 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.853, allocations: 88 kB / 0.5836 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003956/0.857, allocations: 0.6693 MB / 0.5842 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002163/0.8573, allocations: 128.7 kB / 0.5844 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004515/0.8618, allocations: 420 kB / 0.5848 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009226/0.8628, allocations: 195.2 kB / 0.5849 GB, free: 14.24 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.005043/0.8679, allocations: 1.366 MB / 0.5863 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006173/0.8685, allocations: 161.6 kB / 0.5864 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.8694, allocations: 201.2 kB / 0.5866 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.597e-05/0.8695, allocations: 11.94 kB / 0.5866 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.8695, allocations: 0 / 0.5866 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.8696, allocations: 7.969 kB / 0.5866 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.8849, allocations: 4.144 MB / 0.5907 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/0.885, allocations: 4 kB / 0.5907 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008774/0.8859, allocations: 97.27 kB / 0.5908 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.021e-05/0.8859, allocations: 11.98 kB / 0.5908 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.8861, allocations: 24 kB / 0.5908 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.231e-05/0.8861, allocations: 10.81 kB / 0.5908 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-05/0.8861, allocations: 10.53 kB / 0.5908 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.8892, allocations: 1.247 MB / 0.5921 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/0.8901, allocations: 246.7 kB / 0.5923 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006386/0.8908, allocations: 16 kB / 0.5923 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.8921, allocations: 35.81 kB / 0.5923 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.8923, allocations: 46.98 kB / 0.5924 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.8924, allocations: 30.66 kB / 0.5924 GB, free: 6.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004401/0.8968, allocations: 1.287 MB / 0.5937 GB, free: 5.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.8969, allocations: 0 / 0.5937 GB, free: 5.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006192/0.9031, allocations: 0.7068 MB / 0.5944 GB, free: 4.473 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.0006869/0.9038, allocations: 143.3 kB / 0.5945 GB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005946/0.9098, allocations: 2.028 MB / 0.5965 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/0.9099, allocations: 0 / 0.5965 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.9111, allocations: 466 kB / 0.5969 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.9142, allocations: 237.7 kB / 0.5972 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.9345, allocations: 6.826 MB / 0.6038 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006356/0.9409, allocations: 2.322 MB / 0.6061 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/0.9419, allocations: 143.4 kB / 0.6062 GB, free: 8.434 MB / 462.1 MB Notification: Performance of SimCode: time 1.964e-06/0.9419, allocations: 0 / 0.6062 GB, free: 8.434 MB / 462.1 MB Notification: Performance of Templates: time 0.07959/1.022, allocations: 30.5 MB / 0.636 GB, free: 10.01 MB / 494.1 MB 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