Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001545/0.001545, allocations: 106 kB / 16.41 MB, free: 6.449 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.001519/0.00152, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2212/0.2212, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 78.03 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1529, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01365/0.1666, allocations: 10.54 MB / 0.4982 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007363/0.174, allocations: 2.999 MB / 0.5011 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.1761, allocations: 51.94 kB / 0.5011 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004236/0.1804, allocations: 2.009 MB / 0.5031 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.1841, allocations: 1.21 MB / 0.5043 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.185, allocations: 295.3 kB / 0.5046 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004099/0.1891, allocations: 2.458 MB / 0.507 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003676/0.1928, allocations: 2.375 MB / 0.5093 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.1948, allocations: 0.9462 MB / 0.5102 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.1968, allocations: 1.265 MB / 0.5115 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.1972, allocations: 216 kB / 0.5117 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1984, allocations: 0.6982 MB / 0.5123 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.1995, allocations: 1.216 MB / 0.5135 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2009, allocations: 1.441 MB / 0.5149 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.2054, allocations: 4.698 MB / 0.5195 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2055, allocations: 0 / 0.5195 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2055, allocations: 0 / 0.5195 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.59e-05/0.2056, allocations: 4 kB / 0.5195 GB, free: 11.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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.00632/0.2119, allocations: 3.069 MB / 0.5225 GB, free: 8.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.2119, allocations: 15.89 kB / 0.5225 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005367/0.2173, allocations: 1.607 MB / 0.5241 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.2199, allocations: 1.402 MB / 0.5255 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.22, allocations: 156.3 kB / 0.5256 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/0.2204, allocations: 207.8 kB / 0.5258 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3432/0.5635, allocations: 6.776 MB / 0.5324 GB, free: 36.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/0.5637, allocations: 16.14 kB / 0.5325 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/0.5639, allocations: 96.2 kB / 0.5325 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002773/0.5667, allocations: 1.473 MB / 0.534 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.5802, allocations: 5.812 MB / 0.5397 GB, free: 35.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03311/0.6134, allocations: 21.44 MB / 0.5606 GB, free: 21.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005399/0.6188, allocations: 2.257 MB / 0.5628 GB, free: 20.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.62, allocations: 0.7879 MB / 0.5636 GB, free: 19.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006575/0.6266, allocations: 3.735 MB / 0.5672 GB, free: 17.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.6267, allocations: 42.84 kB / 0.5673 GB, free: 17.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 2.845e-06/0.6267, allocations: 0 / 0.5673 GB, free: 17.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005424/0.6321, allocations: 2.19 MB / 0.5694 GB, free: 16.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.6322, allocations: 59.97 kB / 0.5695 GB, free: 16.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/0.6359, allocations: 2.036 MB / 0.5714 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/0.636, allocations: 37.7 kB / 0.5715 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.6373, allocations: 1.952 MB / 0.5734 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/0.6377, allocations: 368.3 kB / 0.5737 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.6388, allocations: 0.653 MB / 0.5744 GB, free: 11.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6389, allocations: 361.9 kB / 0.5747 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.6404, allocations: 0.9666 MB / 0.5757 GB, free: 9.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/0.6427, allocations: 2.918 MB / 0.5785 GB, free: 5.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/0.6465, allocations: 4.246 MB / 0.5827 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.588e-05/0.6466, allocations: 24 kB / 0.5827 GB, free: 0.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.00671/0.6533, allocations: 3.779 MB / 0.5864 GB, free: 12.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.6534, allocations: 39.83 kB / 0.5864 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.6536, allocations: 75.88 kB / 0.5865 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.6537, allocations: 92 kB / 0.5866 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.6559, allocations: 0.7057 MB / 0.5873 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.656, allocations: 140 kB / 0.5874 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.6585, allocations: 449.9 kB / 0.5878 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/0.6588, allocations: 200 kB / 0.588 GB, free: 11.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002726/0.6616, allocations: 1.425 MB / 0.5894 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.6619, allocations: 169.8 kB / 0.5896 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.6642, allocations: 1.197 MB / 0.5907 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.6642, allocations: 12 kB / 0.5907 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.6642, allocations: 0 / 0.5907 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.6643, allocations: 7.969 kB / 0.5908 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00966/0.6739, allocations: 4.976 MB / 0.5956 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.674, allocations: 8 kB / 0.5956 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.6745, allocations: 135.7 kB / 0.5958 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.6746, allocations: 19.97 kB / 0.5958 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.6747, allocations: 24 kB / 0.5958 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-05/0.6747, allocations: 19.92 kB / 0.5958 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/0.6747, allocations: 15.94 kB / 0.5958 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.6767, allocations: 1.502 MB / 0.5973 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.6773, allocations: 270.5 kB / 0.5976 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/0.6776, allocations: 24 kB / 0.5976 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007529/0.6784, allocations: 35.91 kB / 0.5976 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6785, allocations: 75.69 kB / 0.5977 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.6786, allocations: 43.97 kB / 0.5977 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002325/0.681, allocations: 1.32 MB / 0.599 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.681, allocations: 0 / 0.599 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003102/0.6841, allocations: 0.7477 MB / 0.5997 GB, free: 14.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0004056/0.6845, allocations: 153.5 kB / 0.5999 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004178/0.6887, allocations: 2.264 MB / 0.6021 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.6887, allocations: 0.9375 kB / 0.6021 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007771/0.6895, allocations: 0.5407 MB / 0.6026 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.6912, allocations: 260.1 kB / 0.6029 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.7023, allocations: 5.533 MB / 0.6083 GB, free: 5.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00352/0.7058, allocations: 2.409 MB / 0.6106 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002779/0.7086, allocations: 1.014 MB / 0.6116 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/0.7092, allocations: 135.4 kB / 0.6118 GB, free: 2.305 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7092, allocations: 0 / 0.6118 GB, free: 2.305 MB / 446.1 MB Notification: Performance of Templates: time 0.04079/0.75, allocations: 16.54 MB / 0.6279 GB, free: 1.773 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches