Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_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.001258/0.001258, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001205/0.001205, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2432/0.2432, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3559, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2152/0.5712, allocations: 150.1 MB / 0.6651 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006566/0.5778, allocations: 5.143 MB / 0.6701 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.578, allocations: 4 kB / 0.6701 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.5784, allocations: 59.58 kB / 0.6702 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.5823, allocations: 1.197 MB / 0.6713 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.5827, allocations: 143.4 kB / 0.6715 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000616/0.5833, allocations: 394.1 kB / 0.6718 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.5834, allocations: 17.67 kB / 0.6719 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.5837, allocations: 167.4 kB / 0.672 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.584, allocations: 167.5 kB / 0.6722 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.584, allocations: 8 kB / 0.6722 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.5865, allocations: 1.014 MB / 0.6732 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.5866, allocations: 51.8 kB / 0.6732 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.5868, allocations: 107.5 kB / 0.6733 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.5888, allocations: 0.8452 MB / 0.6741 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.5888, allocations: 4 kB / 0.6742 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5888, allocations: 0 / 0.6742 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.5888, allocations: 0 / 0.6742 GB, free: 12.07 MB / 0.5294 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.001582/0.5904, allocations: 0.693 MB / 0.6748 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5905, allocations: 8.031 kB / 0.6748 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.195e-05/0.5905, allocations: 66.73 kB / 0.6749 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007213/0.5978, allocations: 0.5898 MB / 0.6755 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.5984, allocations: 263.2 kB / 0.6757 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.5986, allocations: 127.4 kB / 0.6758 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/0.5987, allocations: 20 kB / 0.6759 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.6, allocations: 0.5595 MB / 0.6764 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.6, allocations: 3.938 kB / 0.6764 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.6001, allocations: 12 kB / 0.6764 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.6001, allocations: 8 kB / 0.6764 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.6017, allocations: 0.6338 MB / 0.6771 GB, free: 8.938 MB / 0.5294 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.002367/0.6041, allocations: 1.717 MB / 0.6787 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.6045, allocations: 150.5 kB / 0.6789 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.6046, allocations: 80.77 kB / 0.679 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007787/0.6054, allocations: 0.7084 MB / 0.6796 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.6055, allocations: 34.56 kB / 0.6797 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.6055, allocations: 0 / 0.6797 GB, free: 5.98 MB / 0.5294 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.001109/0.6066, allocations: 317.4 kB / 0.68 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.6067, allocations: 59.39 kB / 0.68 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.6069, allocations: 191 kB / 0.6802 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.6069, allocations: 29.7 kB / 0.6802 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6071, allocations: 195.8 kB / 0.6804 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.6072, allocations: 63.47 kB / 0.6805 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.6073, allocations: 102 kB / 0.6806 GB, free: 5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6075, allocations: 326.8 kB / 0.6809 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.6076, allocations: 64.7 kB / 0.681 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.608, allocations: 271.8 kB / 0.6812 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.6085, allocations: 358.2 kB / 0.6816 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6085, allocations: 4 kB / 0.6816 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000656/0.6092, allocations: 373.4 kB / 0.6819 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6092, allocations: 11.94 kB / 0.6819 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6093, allocations: 8 kB / 0.6819 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.6093, allocations: 11.98 kB / 0.682 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.6097, allocations: 127.8 kB / 0.6821 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004704/0.6102, allocations: 0.6019 MB / 0.6827 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.6105, allocations: 51.62 kB / 0.6827 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.6105, allocations: 40 kB / 0.6828 GB, free: 2.559 MB / 0.5294 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.0001739/0.6107, allocations: 149.6 kB / 0.6829 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.6108, allocations: 15.91 kB / 0.6829 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000898/0.6117, allocations: 444.4 kB / 0.6833 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6117, allocations: 0 / 0.6833 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6117, allocations: 0 / 0.6833 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.6117, allocations: 4 kB / 0.6833 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.6128, allocations: 0.6267 MB / 0.684 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6128, allocations: 0 / 0.684 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.613, allocations: 59.91 kB / 0.684 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.613, allocations: 4 kB / 0.684 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.6131, allocations: 11.92 kB / 0.684 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004314/0.6135, allocations: 0.5976 MB / 0.6846 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6135, allocations: 4.031 kB / 0.6846 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.6139, allocations: 297.5 kB / 0.6849 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.614, allocations: 109 kB / 0.685 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.6141, allocations: 4 kB / 0.685 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.6143, allocations: 15.97 kB / 0.685 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.6144, allocations: 19.92 kB / 0.685 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.6144, allocations: 16 kB / 0.6851 GB, free: 8 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001671/0.6146, allocations: 148.1 kB / 0.6852 GB, free: 15.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6146, allocations: 4 kB / 0.6852 GB, free: 15.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006476/0.6153, allocations: 147.7 kB / 0.6853 GB, free: 15.71 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.001227/0.6165, allocations: 0.9691 MB / 0.6863 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005623/0.6171, allocations: 220 kB / 0.6865 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6171, allocations: 0 / 0.6865 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.6173, allocations: 81.33 kB / 0.6866 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.6179, allocations: 75.03 kB / 0.6866 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.6217, allocations: 2.854 MB / 0.6894 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.6221, allocations: 0.7246 MB / 0.6901 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007034/0.6228, allocations: 385 kB / 0.6905 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.623, allocations: 95.36 kB / 0.6906 GB, free: 9.969 MB / 0.545 GB Notification: Performance of SimCode: time 5.3e-07/0.623, allocations: 0 / 0.6906 GB, free: 9.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.6567, allocations: 7.397 MB / 0.6978 GB, free: 2.719 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.35, allocations: 11.34 kB / 0.6978 GB, free: 2.715 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches