Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.9 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.212/0.212, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3538, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1752/0.5291, allocations: 153 MB / 0.68 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006433/0.5356, allocations: 5.151 MB / 0.685 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.5358, allocations: 0 / 0.685 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.5362, allocations: 55.59 kB / 0.6851 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.5398, allocations: 1.201 MB / 0.6862 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.5402, allocations: 145.8 kB / 0.6864 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006189/0.5408, allocations: 398.1 kB / 0.6867 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.5409, allocations: 13.69 kB / 0.6868 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.5412, allocations: 171.4 kB / 0.6869 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.5416, allocations: 171.4 kB / 0.6871 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.5416, allocations: 8 kB / 0.6871 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.5436, allocations: 1.029 MB / 0.6881 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.806e-05/0.5437, allocations: 39.89 kB / 0.6881 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.5439, allocations: 111.5 kB / 0.6882 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.5457, allocations: 0.8529 MB / 0.6891 GB, free: 14.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.5457, allocations: 0 / 0.6891 GB, free: 14.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.278e-06/0.5457, allocations: 0 / 0.6891 GB, free: 14.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5458, allocations: 7.875 kB / 0.6891 GB, free: 14.83 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002085/0.5479, allocations: 0.6969 MB / 0.6898 GB, free: 14.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5479, allocations: 12.03 kB / 0.6898 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.281e-05/0.548, allocations: 62.73 kB / 0.6898 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008026/0.556, allocations: 0.6054 MB / 0.6904 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.5567, allocations: 275.2 kB / 0.6907 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.5569, allocations: 115.4 kB / 0.6908 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.557, allocations: 24 kB / 0.6908 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.5583, allocations: 0.5595 MB / 0.6914 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5583, allocations: 3.938 kB / 0.6914 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.5584, allocations: 12 kB / 0.6914 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.5585, allocations: 11.98 kB / 0.6914 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.5599, allocations: 0.6299 MB / 0.692 GB, free: 11.68 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.5624, allocations: 1.722 MB / 0.6937 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.5628, allocations: 150.5 kB / 0.6938 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.563, allocations: 76.88 kB / 0.6939 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/0.5637, allocations: 0.7043 MB / 0.6946 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5638, allocations: 30.56 kB / 0.6946 GB, free: 8.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.5638, allocations: 0 / 0.6946 GB, free: 8.727 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001082/0.5649, allocations: 336.2 kB / 0.6949 GB, free: 8.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.5649, allocations: 55.41 kB / 0.695 GB, free: 8.328 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.5651, allocations: 191.9 kB / 0.6952 GB, free: 8.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.5652, allocations: 29.7 kB / 0.6952 GB, free: 8.098 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.5653, allocations: 199.7 kB / 0.6954 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.5654, allocations: 67.47 kB / 0.6955 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.5655, allocations: 94.02 kB / 0.6956 GB, free: 7.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5657, allocations: 330.8 kB / 0.6959 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.5658, allocations: 60.72 kB / 0.6959 GB, free: 7.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.5661, allocations: 264 kB / 0.6962 GB, free: 6.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.5666, allocations: 358.2 kB / 0.6965 GB, free: 6.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.5666, allocations: 11.94 kB / 0.6965 GB, free: 6.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006874/0.5673, allocations: 375.7 kB / 0.6969 GB, free: 6.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5673, allocations: 18.22 kB / 0.6969 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5674, allocations: 8 kB / 0.6969 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.5674, allocations: 8 kB / 0.6969 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.5678, allocations: 123.8 kB / 0.697 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003796/0.5682, allocations: 0.606 MB / 0.6976 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.5684, allocations: 43.73 kB / 0.6977 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.5685, allocations: 39.98 kB / 0.6977 GB, free: 5.301 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.5687, allocations: 157.5 kB / 0.6979 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.5687, allocations: 19.84 kB / 0.6979 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008186/0.5696, allocations: 429.2 kB / 0.6983 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5696, allocations: 0 / 0.6983 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5696, allocations: 0 / 0.6983 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5696, allocations: 0 / 0.6983 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009116/0.5705, allocations: 0.6383 MB / 0.6989 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5705, allocations: 0 / 0.6989 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.5708, allocations: 63.95 kB / 0.699 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5708, allocations: 4 kB / 0.699 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.5708, allocations: 7.938 kB / 0.699 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003501/0.5712, allocations: 0.5977 MB / 0.6996 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5712, allocations: 4.281 kB / 0.6996 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.5716, allocations: 297.2 kB / 0.6999 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.5717, allocations: 112.9 kB / 0.7 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.5718, allocations: 7.953 kB / 0.7 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.572, allocations: 11.98 kB / 0.7 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.5721, allocations: 19.86 kB / 0.7 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.5721, allocations: 23.98 kB / 0.7 GB, free: 2.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001321/0.5723, allocations: 136.2 kB / 0.7002 GB, free: 2.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5723, allocations: 8 kB / 0.7002 GB, free: 2.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006298/0.5729, allocations: 151.7 kB / 0.7003 GB, free: 2.438 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.5741, allocations: 0.9611 MB / 0.7012 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005396/0.5746, allocations: 231.9 kB / 0.7015 GB, free: 1.211 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5746, allocations: 4 kB / 0.7015 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.5749, allocations: 85.39 kB / 0.7016 GB, free: 1.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.5754, allocations: 68.48 kB / 0.7016 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.5795, allocations: 2.865 MB / 0.7044 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.5799, allocations: 0.7246 MB / 0.7051 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006705/0.5806, allocations: 385 kB / 0.7055 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.5808, allocations: 91.36 kB / 0.7056 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5808, allocations: 0 / 0.7056 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.6073, allocations: 7.436 MB / 0.7128 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.8, allocations: 3.438 kB / 0.7128 GB, free: 5.383 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches