Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001734/0.001734, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002346/0.002346, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 8.043 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-beta.om/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: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 60.78 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2232, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3926/0.6158, allocations: 155 MB / 0.5736 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.6174, allocations: 1.616 MB / 0.5752 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.6175, allocations: 0 / 0.5752 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.6179, allocations: 70.16 kB / 0.5752 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.6183, allocations: 171.9 kB / 0.5754 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.6208, allocations: 1.056 MB / 0.5764 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.6213, allocations: 358.7 kB / 0.5768 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.6213, allocations: 6.312 kB / 0.5768 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.6216, allocations: 171.6 kB / 0.5769 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.6218, allocations: 138.3 kB / 0.5771 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.6218, allocations: 12.44 kB / 0.5771 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.6246, allocations: 1.683 MB / 0.5787 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.6247, allocations: 76.2 kB / 0.5788 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.6248, allocations: 100.3 kB / 0.5789 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.6262, allocations: 1.041 MB / 0.5799 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6262, allocations: 1.203 kB / 0.5799 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6262, allocations: 0 / 0.5799 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.6262, allocations: 2.312 kB / 0.5799 GB, free: 12.39 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.001818/0.628, allocations: 0.6316 MB / 0.5805 GB, free: 11.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6281, allocations: 10.22 kB / 0.5805 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.6282, allocations: 23.92 kB / 0.5806 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.6285, allocations: 165.2 kB / 0.5807 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.6286, allocations: 15.92 kB / 0.5807 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.6286, allocations: 19.39 kB / 0.5808 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.6291, allocations: 261.2 kB / 0.581 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.6291, allocations: 0 / 0.581 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.6292, allocations: 6.125 kB / 0.581 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.6292, allocations: 7.625 kB / 0.581 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.6298, allocations: 275.6 kB / 0.5813 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.001511/0.6313, allocations: 0.763 MB / 0.582 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.6319, allocations: 211.2 kB / 0.5822 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.6322, allocations: 133.5 kB / 0.5824 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.6323, allocations: 53.55 kB / 0.5824 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.6324, allocations: 38.98 kB / 0.5824 GB, free: 11.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.6324, allocations: 1.094 kB / 0.5824 GB, free: 11.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002255/0.6346, allocations: 0.6806 MB / 0.5831 GB, free: 11.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.6347, allocations: 85.83 kB / 0.5832 GB, free: 10.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.6348, allocations: 145.2 kB / 0.5833 GB, free: 10.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.6349, allocations: 31.8 kB / 0.5834 GB, free: 10.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.6349, allocations: 114.7 kB / 0.5835 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.635, allocations: 129.8 kB / 0.5836 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.6352, allocations: 79.19 kB / 0.5837 GB, free: 10.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6353, allocations: 328.6 kB / 0.584 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.6357, allocations: 130.8 kB / 0.5841 GB, free: 10.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.636, allocations: 205.2 kB / 0.5843 GB, free: 10.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.6368, allocations: 366.1 kB / 0.5846 GB, free: 10 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6368, allocations: 0 / 0.5846 GB, free: 10 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008594/0.6376, allocations: 415.3 kB / 0.585 GB, free: 9.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6376, allocations: 11.28 kB / 0.5851 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6376, allocations: 0 / 0.5851 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6377, allocations: 6.266 kB / 0.5851 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.6381, allocations: 90.34 kB / 0.5851 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6382, allocations: 9.672 kB / 0.5852 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.6385, allocations: 21.78 kB / 0.5852 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.6385, allocations: 21.83 kB / 0.5852 GB, free: 9.848 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.0001486/0.6387, allocations: 146.8 kB / 0.5853 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.6388, allocations: 18.09 kB / 0.5854 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.6391, allocations: 177.9 kB / 0.5855 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6391, allocations: 4.875 kB / 0.5855 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6391, allocations: 0 / 0.5855 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6391, allocations: 7.922 kB / 0.5855 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.6408, allocations: 0.7446 MB / 0.5863 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6408, allocations: 7.922 kB / 0.5863 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.6413, allocations: 78.08 kB / 0.5863 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.6413, allocations: 6.781 kB / 0.5864 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.6413, allocations: 16.81 kB / 0.5864 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6413, allocations: 2.656 kB / 0.5864 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6413, allocations: 2.688 kB / 0.5864 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6426, allocations: 0.72 MB / 0.5871 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.6427, allocations: 46.36 kB / 0.5871 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.6427, allocations: 15.58 kB / 0.5871 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.6431, allocations: 17.33 kB / 0.5872 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.6432, allocations: 27.22 kB / 0.5872 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.6432, allocations: 21.48 kB / 0.5872 GB, free: 8.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.344e-05/0.6433, allocations: 103.5 kB / 0.5873 GB, free: 8.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6433, allocations: 0 / 0.5873 GB, free: 8.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005897/0.6439, allocations: 153.2 kB / 0.5874 GB, free: 8.637 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.0004458/0.6443, allocations: 247.6 kB / 0.5877 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.6451, allocations: 329.9 kB / 0.588 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6451, allocations: 4 kB / 0.588 GB, free: 8.418 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.6455, allocations: 170.2 kB / 0.5882 GB, free: 8.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.6462, allocations: 101.2 kB / 0.5883 GB, free: 8.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.6476, allocations: 0.6322 MB / 0.5889 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.648, allocations: 0.747 MB / 0.5896 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.6483, allocations: 81.53 kB / 0.5897 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.6484, allocations: 37.75 kB / 0.5897 GB, free: 7.152 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6484, allocations: 0 / 0.5897 GB, free: 7.152 MB / 462.1 MB Notification: Performance of Templates: time 0.01119/0.6596, allocations: 6.596 MB / 0.5962 GB, free: 3.859 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.061909509822726]