Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 123.8 kB / 20.44 MB, free: 1.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 211 kB / 23.74 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 51.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 53.36 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4141/0.6573, allocations: 155 MB / 0.5724 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.6589, allocations: 1.611 MB / 0.5739 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.659, allocations: 2.594 kB / 0.5739 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.6594, allocations: 63.89 kB / 0.574 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.6598, allocations: 170 kB / 0.5741 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.6625, allocations: 1.059 MB / 0.5752 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.663, allocations: 355.9 kB / 0.5755 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.962e-05/0.6631, allocations: 6.406 kB / 0.5755 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.6633, allocations: 169.5 kB / 0.5757 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.6636, allocations: 140.7 kB / 0.5758 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.6636, allocations: 12.38 kB / 0.5758 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.6664, allocations: 1.684 MB / 0.5775 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.6665, allocations: 73.59 kB / 0.5776 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.6667, allocations: 105.4 kB / 0.5777 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.6689, allocations: 1.036 MB / 0.5787 GB, free: 12.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.6689, allocations: 0 / 0.5787 GB, free: 12.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6689, allocations: 0 / 0.5787 GB, free: 12.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.6689, allocations: 0 / 0.5787 GB, free: 12.44 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001973/0.6709, allocations: 0.6407 MB / 0.5793 GB, free: 12.03 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.671, allocations: 8.031 kB / 0.5793 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.671, allocations: 53.27 kB / 0.5793 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.6712, allocations: 25.66 kB / 0.5794 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.6714, allocations: 162.5 kB / 0.5795 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.6714, allocations: 15.14 kB / 0.5795 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.6715, allocations: 17.89 kB / 0.5796 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.672, allocations: 264.6 kB / 0.5798 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.672, allocations: 2.562 kB / 0.5798 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.6721, allocations: 3.438 kB / 0.5798 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.6721, allocations: 8.969 kB / 0.5798 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.6726, allocations: 268.5 kB / 0.5801 GB, free: 11.77 MB / 462.1 MB 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.001469/0.6741, allocations: 0.7595 MB / 0.5808 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.6747, allocations: 226.5 kB / 0.581 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.675, allocations: 124.3 kB / 0.5812 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.6752, allocations: 51.94 kB / 0.5812 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.6752, allocations: 42.34 kB / 0.5812 GB, free: 11.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/0.6753, allocations: 2.812 kB / 0.5813 GB, free: 11.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002405/0.6777, allocations: 0.6804 MB / 0.5819 GB, free: 11.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.6777, allocations: 84.34 kB / 0.582 GB, free: 10.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.6779, allocations: 151.7 kB / 0.5821 GB, free: 10.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.6779, allocations: 32.67 kB / 0.5822 GB, free: 10.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.678, allocations: 112.1 kB / 0.5823 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.6781, allocations: 135 kB / 0.5824 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.6782, allocations: 71.59 kB / 0.5825 GB, free: 10.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6784, allocations: 330.2 kB / 0.5828 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.6788, allocations: 135.2 kB / 0.5829 GB, free: 10.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.6792, allocations: 202.8 kB / 0.5831 GB, free: 10.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.68, allocations: 366.1 kB / 0.5835 GB, free: 9.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.68, allocations: 1.812 kB / 0.5835 GB, free: 9.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000943/0.6809, allocations: 412.7 kB / 0.5839 GB, free: 9.883 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6809, allocations: 5.312 kB / 0.5839 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6809, allocations: 2.688 kB / 0.5839 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.681, allocations: 2.562 kB / 0.5839 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.6815, allocations: 92.81 kB / 0.584 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.6815, allocations: 6.781 kB / 0.584 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.6818, allocations: 29.25 kB / 0.584 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.6818, allocations: 17.45 kB / 0.584 GB, free: 9.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001769/0.682, allocations: 148.9 kB / 0.5841 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.6821, allocations: 17.66 kB / 0.5842 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.6825, allocations: 167.2 kB / 0.5843 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.6825, allocations: 5.031 kB / 0.5843 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.6825, allocations: 9.734 kB / 0.5843 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.6825, allocations: 3.938 kB / 0.5843 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.6843, allocations: 0.7449 MB / 0.5851 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.6843, allocations: 2.781 kB / 0.5851 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.6847, allocations: 81.25 kB / 0.5852 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.6847, allocations: 6.797 kB / 0.5852 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.6848, allocations: 11.75 kB / 0.5852 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.6848, allocations: 6.438 kB / 0.5852 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6848, allocations: 2.875 kB / 0.5852 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.6862, allocations: 0.7274 MB / 0.5859 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.6863, allocations: 45.66 kB / 0.5859 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.6864, allocations: 7.203 kB / 0.5859 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.6868, allocations: 28.97 kB / 0.586 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.6868, allocations: 21.78 kB / 0.586 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.6868, allocations: 20.52 kB / 0.586 GB, free: 8.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.524e-05/0.6869, allocations: 108.2 kB / 0.5861 GB, free: 8.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6869, allocations: 2.781 kB / 0.5861 GB, free: 8.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006373/0.6876, allocations: 155.4 kB / 0.5863 GB, free: 8.629 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (38): * Single equations (assignments): 38 * 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.002067/0.6896, allocations: 1.392 MB / 0.5876 GB, free: 7.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008741/0.6905, allocations: 328.4 kB / 0.5879 GB, free: 7.633 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6905, allocations: 1.094 kB / 0.5879 GB, free: 7.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.6909, allocations: 167.9 kB / 0.5881 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.6916, allocations: 110.1 kB / 0.5882 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.6964, allocations: 2.92 MB / 0.591 GB, free: 5.609 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.6968, allocations: 0.7385 MB / 0.5918 GB, free: 4.887 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003685/0.6972, allocations: 78.05 kB / 0.5918 GB, free: 4.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.6974, allocations: 70.06 kB / 0.5919 GB, free: 4.832 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6974, allocations: 0 / 0.5919 GB, free: 4.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.739, allocations: 9.004 MB / 0.6007 GB, free: 308 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.4, allocations: 6.438 kB / 0.6007 GB, free: 308 kB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.994991585997923]