Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",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.001294/0.001294, allocations: 108 kB / 16.41 MB, free: 6.484 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.00133/0.00133, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.301/1.301, 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.1902/0.1902, allocations: 43.52 MB / 314.1 MB, free: 464 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.001661/0.001661, allocations: 68.38 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1006, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3713/0.4719, allocations: 153.1 MB / 0.6369 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.4759, allocations: 3.637 MB / 0.6405 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.4759, allocations: 0 / 0.6405 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.4761, allocations: 31.81 kB / 0.6405 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.4762, allocations: 27.78 kB / 0.6405 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.4774, allocations: 441.8 kB / 0.641 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.4776, allocations: 75.53 kB / 0.641 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.4776, allocations: 4 kB / 0.641 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.4777, allocations: 31.91 kB / 0.6411 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.4778, allocations: 19.92 kB / 0.6411 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.4778, allocations: 0 / 0.6411 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.479, allocations: 0.4981 MB / 0.6416 GB, free: 13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.479, allocations: 11.92 kB / 0.6416 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.4791, allocations: 23.94 kB / 0.6416 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.4796, allocations: 314.8 kB / 0.6419 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4796, allocations: 3.938 kB / 0.6419 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4796, allocations: 0 / 0.6419 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4796, allocations: 0 / 0.6419 GB, free: 12.66 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006532/0.4803, allocations: 414.8 kB / 0.6423 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4804, allocations: 11.89 kB / 0.6423 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.4804, allocations: 34.75 kB / 0.6423 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.4804, allocations: 8.891 kB / 0.6424 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4806, allocations: 175.4 kB / 0.6425 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4806, allocations: 12 kB / 0.6425 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.4807, allocations: 4 kB / 0.6425 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.4808, allocations: 77.67 kB / 0.6426 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4808, allocations: 0 / 0.6426 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4808, allocations: 0 / 0.6426 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.4809, allocations: 4 kB / 0.6426 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.481, allocations: 43.97 kB / 0.6427 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.4814, allocations: 389.8 kB / 0.643 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.4815, allocations: 62.55 kB / 0.6431 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.4816, allocations: 20.84 kB / 0.6431 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/0.4834, allocations: 1.229 MB / 0.6443 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.4834, allocations: 34.75 kB / 0.6443 GB, free: 9.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.4834, allocations: 0 / 0.6443 GB, free: 9.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006731/0.4902, allocations: 0.6695 MB / 0.645 GB, free: 9.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.4902, allocations: 55.41 kB / 0.645 GB, free: 8.992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.4903, allocations: 113.4 kB / 0.6452 GB, free: 8.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.4904, allocations: 25.7 kB / 0.6452 GB, free: 8.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.4904, allocations: 92.31 kB / 0.6453 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.4905, allocations: 52.14 kB / 0.6453 GB, free: 8.699 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4906, allocations: 41.67 kB / 0.6454 GB, free: 8.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.4907, allocations: 322.8 kB / 0.6457 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.4909, allocations: 75.95 kB / 0.6457 GB, free: 8.254 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.4911, allocations: 119.5 kB / 0.6458 GB, free: 8.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.4915, allocations: 198.7 kB / 0.646 GB, free: 7.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4916, allocations: 3.938 kB / 0.646 GB, free: 7.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005957/0.4922, allocations: 249.6 kB / 0.6463 GB, free: 7.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4922, allocations: 8 kB / 0.6463 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4922, allocations: 0 / 0.6463 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4922, allocations: 0 / 0.6463 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.4929, allocations: 55.88 kB / 0.6463 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4929, allocations: 0 / 0.6463 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.4935, allocations: 16 kB / 0.6464 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.4935, allocations: 15.97 kB / 0.6464 GB, free: 7.578 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0001177/0.4937, allocations: 129.8 kB / 0.6465 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.4937, allocations: 15.83 kB / 0.6465 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007474/0.4945, allocations: 340.8 kB / 0.6468 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4945, allocations: 4 kB / 0.6468 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4945, allocations: 4 kB / 0.6468 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4945, allocations: 3.984 kB / 0.6468 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4956, allocations: 0.7598 MB / 0.6476 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4956, allocations: 0 / 0.6476 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.4962, allocations: 47.89 kB / 0.6476 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4962, allocations: 4 kB / 0.6476 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.4963, allocations: 7.984 kB / 0.6476 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4963, allocations: 4 kB / 0.6477 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4963, allocations: 4 kB / 0.6477 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.4968, allocations: 355.3 kB / 0.648 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.497, allocations: 109 kB / 0.6481 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.497, allocations: 0 / 0.6481 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.4976, allocations: 11.94 kB / 0.6481 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.4976, allocations: 16.84 kB / 0.6481 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.4977, allocations: 19.92 kB / 0.6481 GB, free: 5.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.4977, allocations: 83.28 kB / 0.6482 GB, free: 5.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4977, allocations: 0 / 0.6482 GB, free: 5.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.4981, allocations: 95.8 kB / 0.6483 GB, free: 5.445 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * 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.001102/0.4992, allocations: 1.001 MB / 0.6493 GB, free: 4.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.4998, allocations: 207.8 kB / 0.6495 GB, free: 4.219 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4998, allocations: 4.125 kB / 0.6495 GB, free: 4.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.5, allocations: 115.9 kB / 0.6496 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.5005, allocations: 45.22 kB / 0.6496 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/0.5013, allocations: 333.8 kB / 0.65 GB, free: 3.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.5015, allocations: 0.697 MB / 0.6506 GB, free: 2.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003549/0.5019, allocations: 64.75 kB / 0.6507 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.5021, allocations: 43.39 kB / 0.6507 GB, free: 2.867 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5021, allocations: 0 / 0.6507 GB, free: 2.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.5265, allocations: 7.615 MB / 0.6582 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.927, allocations: 4 kB / 0.6582 GB, free: 11.23 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches