Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 209.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.84 kB / 378.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2492, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3996/0.6488, allocations: 155 MB / 0.5732 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.6501, allocations: 1.615 MB / 0.5747 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.6502, allocations: 0 / 0.5747 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.6505, allocations: 68.92 kB / 0.5748 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.6508, allocations: 164.7 kB / 0.575 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.6531, allocations: 1.063 MB / 0.576 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.6535, allocations: 353.8 kB / 0.5763 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.6535, allocations: 11.11 kB / 0.5763 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.6537, allocations: 167.5 kB / 0.5765 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.6539, allocations: 142.5 kB / 0.5766 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.6539, allocations: 13.03 kB / 0.5767 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.656, allocations: 1.687 MB / 0.5783 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.6561, allocations: 72.17 kB / 0.5784 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.6562, allocations: 104.4 kB / 0.5785 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.6574, allocations: 1.035 MB / 0.5795 GB, free: 12.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.6574, allocations: 2.75 kB / 0.5795 GB, free: 12.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.6574, allocations: 0 / 0.5795 GB, free: 12.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.6574, allocations: 0 / 0.5795 GB, free: 12.42 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.001606/0.659, allocations: 0.6404 MB / 0.5801 GB, free: 12.01 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.659, allocations: 10.06 kB / 0.5801 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.535e-05/0.659, allocations: 6.203 kB / 0.5801 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.6591, allocations: 50.14 kB / 0.5802 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.6592, allocations: 21.59 kB / 0.5802 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.6594, allocations: 161.2 kB / 0.5803 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.6594, allocations: 12.58 kB / 0.5804 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.6595, allocations: 24.67 kB / 0.5804 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.66, allocations: 261.9 kB / 0.5806 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.66, allocations: 2.781 kB / 0.5806 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.66, allocations: 8.062 kB / 0.5806 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.66, allocations: 8.141 kB / 0.5807 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.6606, allocations: 271.5 kB / 0.5809 GB, free: 11.75 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.001287/0.6619, allocations: 0.7584 MB / 0.5817 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.6624, allocations: 215.4 kB / 0.5819 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.6627, allocations: 129.2 kB / 0.582 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.6629, allocations: 54.39 kB / 0.582 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.6629, allocations: 40.22 kB / 0.5821 GB, free: 11.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.343e-06/0.6629, allocations: 0 / 0.5821 GB, free: 11.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002217/0.6651, allocations: 0.6805 MB / 0.5827 GB, free: 11.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.6652, allocations: 83.92 kB / 0.5828 GB, free: 10.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.6653, allocations: 147.4 kB / 0.583 GB, free: 10.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.6653, allocations: 31.67 kB / 0.583 GB, free: 10.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.6654, allocations: 116.6 kB / 0.5831 GB, free: 10.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.6655, allocations: 130.5 kB / 0.5832 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6656, allocations: 75.31 kB / 0.5833 GB, free: 10.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6658, allocations: 328.2 kB / 0.5836 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.6661, allocations: 137.4 kB / 0.5837 GB, free: 10.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.6665, allocations: 210.4 kB / 0.5839 GB, free: 10.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.6673, allocations: 356 kB / 0.5843 GB, free: 9.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6673, allocations: 1.094 kB / 0.5843 GB, free: 9.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008645/0.6681, allocations: 415.8 kB / 0.5847 GB, free: 9.855 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.6681, allocations: 6.875 kB / 0.5847 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6681, allocations: 4.922 kB / 0.5847 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6681, allocations: 3 kB / 0.5847 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.6686, allocations: 86.91 kB / 0.5848 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.6686, allocations: 13.28 kB / 0.5848 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.6689, allocations: 28.91 kB / 0.5848 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.6689, allocations: 19.52 kB / 0.5848 GB, free: 9.809 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.0001549/0.6691, allocations: 137.2 kB / 0.585 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.6692, allocations: 19.55 kB / 0.585 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.6695, allocations: 185.4 kB / 0.5852 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6695, allocations: 5.125 kB / 0.5852 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6695, allocations: 0 / 0.5852 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.6695, allocations: 11.92 kB / 0.5852 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.6711, allocations: 0.7419 MB / 0.5859 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6711, allocations: 2.531 kB / 0.5859 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.6715, allocations: 75.27 kB / 0.586 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6715, allocations: 2.562 kB / 0.586 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.6715, allocations: 12.92 kB / 0.586 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6715, allocations: 6.406 kB / 0.586 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6715, allocations: 6.188 kB / 0.586 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6728, allocations: 0.7298 MB / 0.5867 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.6729, allocations: 43.19 kB / 0.5868 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.673, allocations: 12.72 kB / 0.5868 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.6733, allocations: 22.08 kB / 0.5868 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.6733, allocations: 28.52 kB / 0.5868 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.6734, allocations: 14.3 kB / 0.5868 GB, free: 8.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.115e-05/0.6735, allocations: 107.5 kB / 0.5869 GB, free: 8.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6735, allocations: 0 / 0.5869 GB, free: 8.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000554/0.674, allocations: 161.5 kB / 0.5871 GB, free: 8.598 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.001951/0.676, allocations: 1.385 MB / 0.5884 GB, free: 7.672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.6768, allocations: 322.9 kB / 0.5887 GB, free: 7.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6768, allocations: 4.141 kB / 0.5887 GB, free: 7.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.6771, allocations: 169.9 kB / 0.5889 GB, free: 7.566 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/0.6778, allocations: 105.7 kB / 0.589 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.6823, allocations: 2.922 MB / 0.5919 GB, free: 5.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.6827, allocations: 0.7397 MB / 0.5926 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.683, allocations: 76.92 kB / 0.5927 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.6832, allocations: 74.38 kB / 0.5927 GB, free: 4.801 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6832, allocations: 0 / 0.5927 GB, free: 4.801 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.7147, allocations: 9.033 MB / 0.6016 GB, free: 212 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.65, allocations: 10.8 kB / 0.6016 GB, free: 204 kB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/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_trunk_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.120161330967676]