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.0008692/0.0008693, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.000917/0.0009171, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.267/1.267, allocations: 223.2 MB / 242.3 MB, free: 14.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.1891/0.1891, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 8 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 61.94 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01535/0.1424, allocations: 16.63 MB / 489 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008008/0.1504, allocations: 4.055 MB / 493 MB, free: 8.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.1524, allocations: 71.81 kB / 493.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006328/0.1531, allocations: 266.8 kB / 493.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.1547, allocations: 0.8134 MB / 494.2 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.1553, allocations: 255.6 kB / 494.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.1578, allocations: 2.781 MB / 497.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.1598, allocations: 1.665 MB / 498.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000701/0.1605, allocations: 0.5911 MB / 499.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.1616, allocations: 0.9924 MB / 0.4887 GB, free: 0.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.1617, allocations: 76 kB / 0.4888 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.1628, allocations: 0.7136 MB / 0.4895 GB, free: 172 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007312/0.1636, allocations: 0.8996 MB / 0.4904 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.1644, allocations: 1.111 MB / 0.4915 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.1674, allocations: 3.472 MB / 0.4949 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1674, allocations: 3.938 kB / 0.4949 GB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1674, allocations: 0 / 0.4949 GB, free: 10.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.92e-05/0.1675, allocations: 4 kB / 0.4949 GB, free: 10.65 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.003404/0.1709, allocations: 2.193 MB / 0.497 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1709, allocations: 8.031 kB / 0.497 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005032/0.1715, allocations: 458.4 kB / 0.4974 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005404/0.1769, allocations: 1.608 MB / 0.499 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.1789, allocations: 1.065 MB / 0.5001 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.424e-05/0.1791, allocations: 123.3 kB / 0.5002 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/0.1794, allocations: 155.8 kB / 0.5003 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2016/0.381, allocations: 6.181 MB / 0.5064 GB, free: 45.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.459e-05/0.3812, allocations: 29.41 kB / 0.5064 GB, free: 45.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.3814, allocations: 79.25 kB / 0.5065 GB, free: 45.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002929/0.3844, allocations: 1.444 MB / 0.5079 GB, free: 45.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.3949, allocations: 5.399 MB / 0.5131 GB, free: 44.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02423/0.4191, allocations: 24.88 MB / 0.5374 GB, free: 25.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.4229, allocations: 2.344 MB / 0.5397 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.4239, allocations: 0.9856 MB / 0.5407 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.4242, allocations: 322.9 kB / 0.541 GB, free: 22.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4243, allocations: 54.33 kB / 0.5411 GB, free: 22.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.688e-06/0.4243, allocations: 0 / 0.5411 GB, free: 22.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01865/0.4429, allocations: 8.492 MB / 0.5493 GB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.443, allocations: 140.5 kB / 0.5495 GB, free: 14.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.4454, allocations: 2.64 MB / 0.5521 GB, free: 11.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/0.4455, allocations: 42.8 kB / 0.5521 GB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007333/0.4463, allocations: 2.024 MB / 0.5541 GB, free: 9.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.4465, allocations: 439.4 kB / 0.5545 GB, free: 9.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.4468, allocations: 363.2 kB / 0.5548 GB, free: 8.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.4469, allocations: 301.1 kB / 0.5551 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.4482, allocations: 1.332 MB / 0.5564 GB, free: 7.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.4504, allocations: 4.108 MB / 0.5604 GB, free: 1.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005539/0.456, allocations: 5.943 MB / 0.5662 GB, free: 10.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.504e-05/0.4561, allocations: 28 kB / 0.5663 GB, free: 10.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008931/0.465, allocations: 5.487 MB / 0.5716 GB, free: 4.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.4651, allocations: 48 kB / 0.5717 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.091e-05/0.4652, allocations: 100 kB / 0.5718 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4662, allocations: 467.6 kB / 0.5722 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.4689, allocations: 0.9711 MB / 0.5732 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/0.4727, allocations: 3.401 MB / 0.5765 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.4751, allocations: 223.5 kB / 0.5767 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/0.4755, allocations: 276 kB / 0.577 GB, free: 15.39 MB / 414.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.001744/0.4772, allocations: 1.361 MB / 0.5783 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.4775, allocations: 217.1 kB / 0.5785 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.4797, allocations: 1.33 MB / 0.5798 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.4798, allocations: 16.94 kB / 0.5798 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4798, allocations: 7.922 kB / 0.5798 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4798, allocations: 11.97 kB / 0.5798 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/0.4864, allocations: 4.246 MB / 0.584 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4864, allocations: 0 / 0.584 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.487, allocations: 143.8 kB / 0.5841 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008257/0.4878, allocations: 313.3 kB / 0.5844 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.4879, allocations: 18.34 kB / 0.5844 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.4909, allocations: 2.832 MB / 0.5872 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4909, allocations: 0 / 0.5872 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.4947, allocations: 3.058 MB / 0.5902 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.4952, allocations: 278.1 kB / 0.5905 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.4954, allocations: 25.56 kB / 0.5905 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.4961, allocations: 47.92 kB / 0.5905 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.4963, allocations: 56.44 kB / 0.5906 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.4964, allocations: 33.33 kB / 0.5906 GB, free: 1.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002191/0.4986, allocations: 1.633 MB / 0.5922 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4986, allocations: 0 / 0.5922 GB, free: 15.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002777/0.5014, allocations: 0.595 MB / 0.5928 GB, free: 14.95 MB / 430.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.004068/0.5054, allocations: 3.695 MB / 0.5964 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.5099, allocations: 3.215 MB / 0.5995 GB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5099, allocations: 1.375 kB / 0.5995 GB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.5109, allocations: 0.86 MB / 0.6004 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.5124, allocations: 197.6 kB / 0.6006 GB, free: 6.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/0.5502, allocations: 31.44 MB / 0.6313 GB, free: 2.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/0.5521, allocations: 2.175 MB / 0.6334 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002944/0.5551, allocations: 1.395 MB / 0.6347 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.5562, allocations: 1.023 MB / 0.6357 GB, free: 14.1 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5562, allocations: 0 / 0.6357 GB, free: 14.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05815/0.6144, allocations: 39.88 MB / 0.6747 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.6146, allocations: 218.1 kB / 0.6749 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.331, allocations: 0 / 0.6749 GB, free: 6.207 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches