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.001391/0.001392, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001463/0.001464, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.607/1.607, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2271/0.2271, allocations: 43.52 MB / 314.1 MB, free: 444 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.001365/0.001365, allocations: 73.44 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1361, 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.01224/0.1484, allocations: 10.55 MB / 0.4982 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007278/0.1557, allocations: 3.003 MB / 0.5011 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1569, allocations: 51.94 kB / 0.5012 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.1605, allocations: 2.005 MB / 0.5031 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.1631, allocations: 1.191 MB / 0.5043 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.1637, allocations: 287.4 kB / 0.5046 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002812/0.1666, allocations: 2.454 MB / 0.5069 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.169, allocations: 2.375 MB / 0.5093 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.17, allocations: 0.9461 MB / 0.5102 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.1714, allocations: 1.265 MB / 0.5114 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.1717, allocations: 216 kB / 0.5116 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.1729, allocations: 0.6982 MB / 0.5123 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009265/0.1738, allocations: 1.204 MB / 0.5135 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.175, allocations: 1.441 MB / 0.5149 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.1795, allocations: 4.723 MB / 0.5195 GB, free: 11.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1795, allocations: 0 / 0.5195 GB, free: 11.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1795, allocations: 4 kB / 0.5195 GB, free: 11.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.369e-05/0.1796, allocations: 0 / 0.5195 GB, free: 11.24 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.004693/0.1843, allocations: 3.157 MB / 0.5226 GB, free: 8.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1843, allocations: 15.89 kB / 0.5226 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/0.1896, allocations: 1.621 MB / 0.5242 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.1922, allocations: 1.41 MB / 0.5256 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1924, allocations: 152.3 kB / 0.5257 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.1927, allocations: 211.8 kB / 0.5259 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3553/0.548, allocations: 6.777 MB / 0.5325 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/0.5482, allocations: 20.73 kB / 0.5326 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.5486, allocations: 92.86 kB / 0.5326 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004053/0.5526, allocations: 1.469 MB / 0.5341 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.5712, allocations: 5.817 MB / 0.5398 GB, free: 35.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04449/0.6157, allocations: 21.48 MB / 0.5607 GB, free: 21.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.6203, allocations: 2.262 MB / 0.5629 GB, free: 20.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.6215, allocations: 0.7804 MB / 0.5637 GB, free: 19.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006838/0.6284, allocations: 3.756 MB / 0.5674 GB, free: 17.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.6284, allocations: 39.06 kB / 0.5674 GB, free: 17.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.94e-06/0.6284, allocations: 4 kB / 0.5674 GB, free: 17.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005502/0.634, allocations: 2.199 MB / 0.5696 GB, free: 16.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.634, allocations: 55.97 kB / 0.5696 GB, free: 16.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/0.637, allocations: 2.035 MB / 0.5716 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.6371, allocations: 37.7 kB / 0.5716 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.6384, allocations: 2.038 MB / 0.5736 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.6387, allocations: 381.1 kB / 0.574 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00086/0.6396, allocations: 0.6597 MB / 0.5746 GB, free: 11.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.6397, allocations: 361.9 kB / 0.575 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.641, allocations: 0.9666 MB / 0.5759 GB, free: 9.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.6433, allocations: 2.918 MB / 0.5788 GB, free: 5.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/0.6475, allocations: 4.246 MB / 0.5829 GB, free: 0.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.238e-05/0.6476, allocations: 23.94 kB / 0.583 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.008182/0.6558, allocations: 3.791 MB / 0.5867 GB, free: 12.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.656, allocations: 32 kB / 0.5867 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/0.6561, allocations: 75.94 kB / 0.5868 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.6563, allocations: 91.98 kB / 0.5868 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.6585, allocations: 0.7135 MB / 0.5875 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001267/0.6587, allocations: 135.4 kB / 0.5877 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/0.6617, allocations: 467.2 kB / 0.5881 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/0.6622, allocations: 192 kB / 0.5883 GB, free: 11.12 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.002662/0.6648, allocations: 1.427 MB / 0.5897 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/0.6652, allocations: 178.8 kB / 0.5899 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.6674, allocations: 1.195 MB / 0.591 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/0.6675, allocations: 19.42 kB / 0.591 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6675, allocations: 0 / 0.591 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.6675, allocations: 0 / 0.591 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009151/0.6767, allocations: 4.981 MB / 0.5959 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.6767, allocations: 8 kB / 0.5959 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.6772, allocations: 131.8 kB / 0.596 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/0.6773, allocations: 20.66 kB / 0.5961 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.6773, allocations: 24 kB / 0.5961 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.6773, allocations: 23.41 kB / 0.5961 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.6774, allocations: 15.98 kB / 0.5961 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.6792, allocations: 1.511 MB / 0.5976 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.6797, allocations: 275.5 kB / 0.5979 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.68, allocations: 39.91 kB / 0.5979 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007299/0.6807, allocations: 39.92 kB / 0.5979 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.6808, allocations: 71.69 kB / 0.598 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/0.6809, allocations: 40 kB / 0.598 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.6829, allocations: 1.32 MB / 0.5993 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6829, allocations: 0 / 0.5993 GB, free: 15.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002951/0.6859, allocations: 0.7592 MB / 0.6001 GB, free: 14.68 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.0003643/0.6863, allocations: 154.8 kB / 0.6002 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.6898, allocations: 2.255 MB / 0.6024 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.6898, allocations: 3.938 kB / 0.6024 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007158/0.6906, allocations: 0.5399 MB / 0.603 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.692, allocations: 257.8 kB / 0.6032 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/0.7019, allocations: 5.622 MB / 0.6087 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003268/0.7052, allocations: 2.408 MB / 0.611 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002587/0.7078, allocations: 1.016 MB / 0.612 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.7084, allocations: 135.4 kB / 0.6122 GB, free: 2.117 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7084, allocations: 0 / 0.6122 GB, free: 2.117 MB / 446.1 MB Notification: Performance of Templates: time 0.03617/0.7445, allocations: 16.53 MB / 0.6283 GB, free: 1.598 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