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.001235/0.001235, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.00125/0.00125, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2115/0.2115, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3429, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1824/0.5253, allocations: 151.5 MB / 0.6664 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.527, allocations: 1.191 MB / 0.6675 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.5271, allocations: 4 kB / 0.6675 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.5272, allocations: 35.8 kB / 0.6676 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.5273, allocations: 27.72 kB / 0.6676 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.5286, allocations: 441.8 kB / 0.668 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.5287, allocations: 63.61 kB / 0.6681 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.5288, allocations: 11.97 kB / 0.6681 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.5289, allocations: 27.88 kB / 0.6681 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/0.5289, allocations: 23.91 kB / 0.6681 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.5289, allocations: 4 kB / 0.6681 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.53, allocations: 0.4947 MB / 0.6686 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.5301, allocations: 11.91 kB / 0.6686 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.5301, allocations: 27.88 kB / 0.6687 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.5306, allocations: 303.1 kB / 0.6689 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5307, allocations: 3.938 kB / 0.6689 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.939e-06/0.5307, allocations: 0 / 0.6689 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.5307, allocations: 7.938 kB / 0.669 GB, free: 1.387 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.0005852/0.5313, allocations: 406.8 kB / 0.6693 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5313, allocations: 12.03 kB / 0.6694 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.5314, allocations: 38.73 kB / 0.6694 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.5314, allocations: 12.64 kB / 0.6694 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.5315, allocations: 163.1 kB / 0.6696 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5316, allocations: 4 kB / 0.6696 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.5316, allocations: 4 kB / 0.6696 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.5317, allocations: 69.66 kB / 0.6696 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5318, allocations: 7.891 kB / 0.6696 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5318, allocations: 11.94 kB / 0.6697 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5318, allocations: 4 kB / 0.6697 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.5319, allocations: 47.91 kB / 0.6697 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.5323, allocations: 381.9 kB / 0.6701 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.5325, allocations: 66.47 kB / 0.6701 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.5325, allocations: 24.94 kB / 0.6702 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/0.5344, allocations: 1.236 MB / 0.6714 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.5345, allocations: 34.56 kB / 0.6714 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.5345, allocations: 4 kB / 0.6714 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006771/0.5413, allocations: 0.6649 MB / 0.672 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.5413, allocations: 55.39 kB / 0.6721 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/0.5414, allocations: 101.9 kB / 0.6722 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.5415, allocations: 25.7 kB / 0.6722 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.5415, allocations: 92.36 kB / 0.6723 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.5416, allocations: 55.52 kB / 0.6724 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.5417, allocations: 45.67 kB / 0.6724 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5419, allocations: 322.8 kB / 0.6727 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.5421, allocations: 79.94 kB / 0.6728 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.5423, allocations: 102.5 kB / 0.6729 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.5428, allocations: 206.3 kB / 0.6731 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5428, allocations: 0 / 0.6731 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005804/0.5434, allocations: 253.6 kB / 0.6733 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5434, allocations: 4 kB / 0.6733 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5434, allocations: 0 / 0.6733 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5434, allocations: 4 kB / 0.6733 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.5441, allocations: 43.95 kB / 0.6734 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5441, allocations: 8.625 kB / 0.6734 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.5446, allocations: 19.98 kB / 0.6734 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.5447, allocations: 11.92 kB / 0.6734 GB, free: 12.31 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.0001377/0.5448, allocations: 117.8 kB / 0.6735 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.5449, allocations: 7.953 kB / 0.6735 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/0.5457, allocations: 349.3 kB / 0.6739 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5457, allocations: 7.938 kB / 0.6739 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5457, allocations: 0 / 0.6739 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5458, allocations: 0 / 0.6739 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.5469, allocations: 0.7501 MB / 0.6746 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5469, allocations: 7.938 kB / 0.6746 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.5476, allocations: 47.97 kB / 0.6747 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5476, allocations: 3.938 kB / 0.6747 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.5476, allocations: 11.98 kB / 0.6747 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.5476, allocations: 3.938 kB / 0.6747 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.5476, allocations: 256 / 0.6747 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.5482, allocations: 343.3 kB / 0.675 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.5484, allocations: 105 kB / 0.6751 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.5484, allocations: 15.94 kB / 0.6751 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.549, allocations: 15.92 kB / 0.6751 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.549, allocations: 11.98 kB / 0.6752 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.5491, allocations: 11.98 kB / 0.6752 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.5491, allocations: 87.27 kB / 0.6752 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5491, allocations: 0 / 0.6752 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004338/0.5496, allocations: 99.75 kB / 0.6753 GB, free: 10.2 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.001224/0.5508, allocations: 1.003 MB / 0.6763 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005346/0.5513, allocations: 207.8 kB / 0.6765 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5514, allocations: 4 kB / 0.6765 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.5516, allocations: 115.9 kB / 0.6766 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.552, allocations: 31.91 kB / 0.6767 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.5529, allocations: 333.6 kB / 0.677 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5532, allocations: 0.7039 MB / 0.6777 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003244/0.5535, allocations: 60.77 kB / 0.6777 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.5538, allocations: 47.38 kB / 0.6778 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.5538, allocations: 0 / 0.6778 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.5845, allocations: 7.564 MB / 0.6852 GB, free: 112 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.613, allocations: 7.688 kB / 0.6852 GB, free: 108 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