Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001046/0.001046, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.323/1.323, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2008/0.2008, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 60.88 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007719/0.1105, allocations: 6.799 MB / 476.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00435/0.1149, allocations: 2.391 MB / 478.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/0.1155, allocations: 27.94 kB / 478.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.1175, allocations: 1.035 MB / 479.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.1193, allocations: 0.844 MB / 480.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.12, allocations: 299.3 kB / 480.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.122, allocations: 1.892 MB / 482.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.1233, allocations: 1.268 MB / 483.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008719/0.1242, allocations: 0.716 MB / 484.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1255, allocations: 0.9653 MB / 485.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.1258, allocations: 128 kB / 485.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.1271, allocations: 0.7213 MB / 486.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008361/0.128, allocations: 0.9349 MB / 487.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009504/0.1289, allocations: 1.137 MB / 488.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.1322, allocations: 3.57 MB / 492.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1322, allocations: 0 / 492.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1323, allocations: 0 / 492.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.323e-05/0.1323, allocations: 4 kB / 492.1 MB, free: 7.445 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.003941/0.1363, allocations: 2.665 MB / 494.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1363, allocations: 11.97 kB / 494.7 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005495/0.1369, allocations: 454.4 kB / 495.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/0.1421, allocations: 1.569 MB / 496.8 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.1439, allocations: 1.061 MB / 497.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.144, allocations: 119.3 kB / 497.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.1442, allocations: 159.8 kB / 498.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008855/0.1531, allocations: 6.186 MB / 0.4925 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-05/0.1532, allocations: 23.75 kB / 0.4925 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.1534, allocations: 79.89 kB / 0.4926 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/0.1558, allocations: 1.445 MB / 0.494 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.1658, allocations: 5.397 MB / 0.4992 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2384/0.4043, allocations: 24.85 MB / 0.5235 GB, free: 28.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004685/0.409, allocations: 2.339 MB / 0.5258 GB, free: 26.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.4102, allocations: 0.9831 MB / 0.5268 GB, free: 26.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003112/0.4106, allocations: 321.7 kB / 0.5271 GB, free: 26.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4106, allocations: 51.81 kB / 0.5271 GB, free: 26.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.878e-06/0.4106, allocations: 4 kB / 0.5271 GB, free: 26.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02113/0.4317, allocations: 8.446 MB / 0.5354 GB, free: 22.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.4319, allocations: 141.8 kB / 0.5355 GB, free: 22.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/0.4356, allocations: 2.645 MB / 0.5381 GB, free: 21.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.4358, allocations: 37.52 kB / 0.5381 GB, free: 21.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009587/0.4368, allocations: 2.03 MB / 0.5401 GB, free: 19.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.4372, allocations: 434.9 kB / 0.5405 GB, free: 18.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008308/0.438, allocations: 0.8606 MB / 0.5414 GB, free: 18.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.4381, allocations: 309.1 kB / 0.5416 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.4395, allocations: 1.333 MB / 0.5429 GB, free: 17.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.442, allocations: 4.113 MB / 0.547 GB, free: 12.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/0.4466, allocations: 5.928 MB / 0.5528 GB, free: 5.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.824e-05/0.4467, allocations: 28 kB / 0.5528 GB, free: 5.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007597/0.4543, allocations: 5.495 MB / 0.5581 GB, free: 72 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.4544, allocations: 48 kB / 0.5582 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/0.4545, allocations: 96.05 kB / 0.5583 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4556, allocations: 461.4 kB / 0.5587 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.4583, allocations: 0.9785 MB / 0.5597 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.4624, allocations: 3.677 MB / 0.5633 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.4654, allocations: 223.6 kB / 0.5635 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005448/0.466, allocations: 268 kB / 0.5637 GB, free: 10.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002074/0.468, allocations: 1.368 MB / 0.5651 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/0.4685, allocations: 221.9 kB / 0.5653 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.4708, allocations: 1.322 MB / 0.5666 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.4708, allocations: 20 kB / 0.5666 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4709, allocations: 0 / 0.5666 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4709, allocations: 11.97 kB / 0.5666 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007171/0.4781, allocations: 4.241 MB / 0.5707 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4781, allocations: 0 / 0.5707 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/0.4787, allocations: 135.8 kB / 0.5709 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008509/0.4796, allocations: 318.1 kB / 0.5712 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.4797, allocations: 21.94 kB / 0.5712 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003246/0.4829, allocations: 3.033 MB / 0.5742 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4829, allocations: 0 / 0.5742 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/0.4869, allocations: 3.072 MB / 0.5772 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005611/0.4875, allocations: 274.2 kB / 0.5774 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/0.4879, allocations: 16 kB / 0.5774 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.4887, allocations: 54.98 kB / 0.5775 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4888, allocations: 59.72 kB / 0.5776 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.4889, allocations: 24 kB / 0.5776 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002149/0.491, allocations: 1.633 MB / 0.5792 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.491, allocations: 0 / 0.5792 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002907/0.494, allocations: 0.6002 MB / 0.5798 GB, free: 9.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004277/0.4983, allocations: 3.688 MB / 0.5834 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005063/0.5033, allocations: 3.458 MB / 0.5867 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.5034, allocations: 4 kB / 0.5867 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.5045, allocations: 0.8677 MB / 0.5876 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.506, allocations: 211.8 kB / 0.5878 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0384/0.5444, allocations: 30.31 MB / 0.6174 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/0.5468, allocations: 2.171 MB / 0.6195 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003085/0.5499, allocations: 1.38 MB / 0.6209 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.5513, allocations: 1.026 MB / 0.6219 GB, free: 9.617 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5513, allocations: 0 / 0.6219 GB, free: 9.617 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0713/0.6226, allocations: 41.11 MB / 0.662 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.29, allocations: 14.3 kB / 0.662 GB, free: 0.6992 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches