Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 78.53 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1217, allocations: 62.43 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008679/0.1304, allocations: 6.785 MB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006051/0.1365, allocations: 2.426 MB / 489.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.1379, allocations: 35.94 kB / 489.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.1408, allocations: 1.055 MB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.1431, allocations: 0.8284 MB / 491.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1442, allocations: 307.2 kB / 491.5 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002579/0.1468, allocations: 1.865 MB / 493.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.1485, allocations: 1.256 MB / 494.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.1496, allocations: 0.716 MB / 495.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.151, allocations: 0.9614 MB / 496.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.1514, allocations: 128 kB / 496.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.1528, allocations: 0.7332 MB / 497.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009134/0.1538, allocations: 0.9153 MB / 498.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.155, allocations: 1.125 MB / 499.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.1588, allocations: 3.532 MB / 0.491 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1588, allocations: 0 / 0.491 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1588, allocations: 4 kB / 0.491 GB, free: 14.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.05e-05/0.1589, allocations: 0 / 0.491 GB, free: 14.39 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.004837/0.1637, allocations: 2.638 MB / 0.4936 GB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1638, allocations: 12.03 kB / 0.4936 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008059/0.1646, allocations: 458.4 kB / 0.494 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/0.17, allocations: 1.569 MB / 0.4955 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.172, allocations: 1.069 MB / 0.4966 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1721, allocations: 119.2 kB / 0.4967 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/0.1726, allocations: 159.7 kB / 0.4969 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008933/0.1815, allocations: 6.186 MB / 0.5029 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.755e-05/0.1816, allocations: 23.81 kB / 0.5029 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002956/0.1819, allocations: 79.89 kB / 0.503 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/0.1844, allocations: 1.445 MB / 0.5044 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1866/0.371, allocations: 5.389 MB / 0.5097 GB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.3921, allocations: 24.87 MB / 0.534 GB, free: 18.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/0.396, allocations: 2.338 MB / 0.5362 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009853/0.397, allocations: 0.9913 MB / 0.5372 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.3973, allocations: 321.7 kB / 0.5375 GB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3973, allocations: 40.56 kB / 0.5376 GB, free: 16.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.046e-06/0.3973, allocations: 0 / 0.5376 GB, free: 16.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01965/0.417, allocations: 8.435 MB / 0.5458 GB, free: 10.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.4171, allocations: 140.5 kB / 0.5459 GB, free: 10.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.4197, allocations: 2.641 MB / 0.5485 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.727e-05/0.4198, allocations: 37.7 kB / 0.5485 GB, free: 7.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/0.4205, allocations: 2.022 MB / 0.5505 GB, free: 5.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.4208, allocations: 437.7 kB / 0.5509 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/0.4215, allocations: 0.8649 MB / 0.5518 GB, free: 4.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.4216, allocations: 305.1 kB / 0.5521 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4229, allocations: 1.332 MB / 0.5534 GB, free: 2.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.4259, allocations: 4.103 MB / 0.5574 GB, free: 12.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006948/0.4328, allocations: 5.938 MB / 0.5632 GB, free: 5.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.406e-05/0.4329, allocations: 32 kB / 0.5632 GB, free: 5.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009256/0.4422, allocations: 5.49 MB / 0.5686 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.4423, allocations: 48.05 kB / 0.5686 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.4424, allocations: 96 kB / 0.5687 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.4435, allocations: 464.6 kB / 0.5691 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/0.4464, allocations: 0.9708 MB / 0.5701 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.4505, allocations: 3.687 MB / 0.5737 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.453, allocations: 235.4 kB / 0.5739 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/0.4535, allocations: 268 kB / 0.5742 GB, free: 10.15 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.001947/0.4555, allocations: 1.363 MB / 0.5755 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/0.4559, allocations: 213.2 kB / 0.5757 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.4582, allocations: 1.33 MB / 0.577 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.4583, allocations: 16 kB / 0.577 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4583, allocations: 0 / 0.577 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.4583, allocations: 11.92 kB / 0.577 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007537/0.4658, allocations: 4.242 MB / 0.5812 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.4659, allocations: 0 / 0.5812 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/0.4665, allocations: 135.8 kB / 0.5813 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008432/0.4674, allocations: 315.6 kB / 0.5816 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.4674, allocations: 20 kB / 0.5816 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.4708, allocations: 3.027 MB / 0.5846 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4709, allocations: 3.938 kB / 0.5846 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.4751, allocations: 3.064 MB / 0.5876 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/0.4756, allocations: 274.2 kB / 0.5878 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/0.4759, allocations: 19.94 kB / 0.5879 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.4768, allocations: 47.94 kB / 0.5879 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.4769, allocations: 48.31 kB / 0.588 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.477, allocations: 38.8 kB / 0.588 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002453/0.4794, allocations: 1.628 MB / 0.5896 GB, free: 10.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4795, allocations: 0 / 0.5896 GB, free: 10.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002912/0.4824, allocations: 0.5872 MB / 0.5902 GB, free: 9.531 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.004382/0.4868, allocations: 3.688 MB / 0.5938 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004951/0.4917, allocations: 3.463 MB / 0.5971 GB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4918, allocations: 0 / 0.5971 GB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.4928, allocations: 0.8638 MB / 0.598 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.4945, allocations: 218.5 kB / 0.5982 GB, free: 1.289 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/0.5344, allocations: 30.26 MB / 0.6277 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/0.5369, allocations: 2.159 MB / 0.6298 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00333/0.5402, allocations: 1.391 MB / 0.6312 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/0.5418, allocations: 1.019 MB / 0.6322 GB, free: 9.637 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5419, allocations: 4 kB / 0.6322 GB, free: 9.633 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06647/0.6083, allocations: 41.03 MB / 0.6723 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.42, allocations: 12.91 kB / 0.6723 GB, free: 0.7461 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches