Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_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.001572/0.001572, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.00171/0.00171, allocations: 180.9 kB / 18.71 MB, free: 4.352 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.198/0.198, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3222, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1566/0.4789, allocations: 151.5 MB / 0.6664 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.4805, allocations: 1.195 MB / 0.6675 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.4805, allocations: 0 / 0.6675 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.4807, allocations: 35.8 kB / 0.6676 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.4808, allocations: 27.72 kB / 0.6676 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.4821, allocations: 433.9 kB / 0.668 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.4822, allocations: 71.55 kB / 0.6681 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.4823, allocations: 7.984 kB / 0.6681 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.4824, allocations: 31.86 kB / 0.6681 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.4825, allocations: 31.84 kB / 0.6681 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.4825, allocations: 4 kB / 0.6681 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.4836, allocations: 0.4907 MB / 0.6686 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.4836, allocations: 15.92 kB / 0.6686 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.4836, allocations: 27.86 kB / 0.6687 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.4843, allocations: 303.1 kB / 0.6689 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4843, allocations: 7.938 kB / 0.669 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4843, allocations: 0 / 0.669 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.4843, allocations: 0 / 0.669 GB, free: 1.41 MB / 0.5137 GB 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.0006412/0.4849, allocations: 414.8 kB / 0.6693 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.485, allocations: 8.031 kB / 0.6694 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.485, allocations: 42.73 kB / 0.6694 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.4851, allocations: 12.64 kB / 0.6694 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.4852, allocations: 159.1 kB / 0.6696 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.4852, allocations: 4 kB / 0.6696 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.4853, allocations: 8 kB / 0.6696 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.4855, allocations: 65.67 kB / 0.6696 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4855, allocations: 11.88 kB / 0.6696 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.4855, allocations: 4 kB / 0.6696 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4855, allocations: 8 kB / 0.6697 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.4856, allocations: 47.91 kB / 0.6697 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.4861, allocations: 381.9 kB / 0.6701 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4863, allocations: 62.5 kB / 0.6701 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.4863, allocations: 20.84 kB / 0.6701 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/0.4883, allocations: 1.229 MB / 0.6713 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4883, allocations: 46.55 kB / 0.6714 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.4883, allocations: 0 / 0.6714 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006965/0.4953, allocations: 0.6613 MB / 0.672 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.4954, allocations: 51.69 kB / 0.6721 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.4954, allocations: 105.8 kB / 0.6722 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.4955, allocations: 29.7 kB / 0.6722 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.4955, allocations: 88.31 kB / 0.6723 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.4956, allocations: 59.52 kB / 0.6724 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4957, allocations: 45.67 kB / 0.6724 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.4958, allocations: 322.8 kB / 0.6727 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.496, allocations: 83.94 kB / 0.6728 GB, free: 13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.4962, allocations: 102.5 kB / 0.6729 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.4967, allocations: 206.6 kB / 0.6731 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4967, allocations: 0 / 0.6731 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005439/0.4972, allocations: 253.6 kB / 0.6733 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4973, allocations: 8 kB / 0.6733 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4973, allocations: 0 / 0.6733 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4973, allocations: 0 / 0.6733 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.498, allocations: 51.94 kB / 0.6734 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.498, allocations: 4.062 kB / 0.6734 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.4986, allocations: 15.98 kB / 0.6734 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.4986, allocations: 19.92 kB / 0.6734 GB, free: 12.33 MB / 0.5294 GB 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.000119/0.4988, allocations: 117.8 kB / 0.6735 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.4988, allocations: 7.953 kB / 0.6735 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.4996, allocations: 345.3 kB / 0.6739 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4996, allocations: 7.938 kB / 0.6739 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4996, allocations: 0 / 0.6739 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4996, allocations: 0 / 0.6739 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.5007, allocations: 0.754 MB / 0.6746 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5007, allocations: 3.938 kB / 0.6746 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.5014, allocations: 47.97 kB / 0.6747 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5014, allocations: 4 kB / 0.6747 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.5014, allocations: 3.984 kB / 0.6747 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5014, allocations: 7.875 kB / 0.6747 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5014, allocations: 4 kB / 0.6747 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.502, allocations: 347.3 kB / 0.675 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5021, allocations: 101 kB / 0.6751 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.5022, allocations: 12 kB / 0.6751 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.5028, allocations: 11.92 kB / 0.6751 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.5028, allocations: 15.98 kB / 0.6751 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.5029, allocations: 11.98 kB / 0.6752 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.5029, allocations: 83.28 kB / 0.6752 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5029, allocations: 0 / 0.6752 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004109/0.5033, allocations: 103.7 kB / 0.6753 GB, free: 10.22 MB / 0.5294 GB 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.001132/0.5045, allocations: 1.003 MB / 0.6763 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.505, allocations: 207.8 kB / 0.6765 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.505, allocations: 0 / 0.6765 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.5052, allocations: 123.9 kB / 0.6766 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.5057, allocations: 30.94 kB / 0.6767 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008553/0.5066, allocations: 336.4 kB / 0.677 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.5069, allocations: 0.7 MB / 0.6777 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.5072, allocations: 72.73 kB / 0.6777 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.5074, allocations: 47.38 kB / 0.6778 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.5074, allocations: 0 / 0.6778 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.5319, allocations: 7.553 MB / 0.6852 GB, free: 136 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.136, allocations: 3.531 kB / 0.6852 GB, free: 136 kB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches