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.001241/0.001241, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001466/0.001466, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 8.016 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: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_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_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 51.92 kB / 378.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2535, allocations: 53.35 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.414/0.6675, allocations: 155 MB / 0.5728 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.6689, allocations: 1.614 MB / 0.5744 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.669, allocations: 0 / 0.5744 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.6694, allocations: 73.5 kB / 0.5745 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.6697, allocations: 163.5 kB / 0.5746 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.6722, allocations: 1.059 MB / 0.5757 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.6726, allocations: 351.5 kB / 0.576 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.6726, allocations: 7.125 kB / 0.576 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.6729, allocations: 169.6 kB / 0.5762 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.6731, allocations: 137.4 kB / 0.5763 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.6731, allocations: 15.02 kB / 0.5763 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.6754, allocations: 1.687 MB / 0.578 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.6755, allocations: 72.89 kB / 0.578 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.6756, allocations: 106.8 kB / 0.5781 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.6771, allocations: 1.041 MB / 0.5791 GB, free: 12.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.6771, allocations: 0 / 0.5791 GB, free: 12.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6771, allocations: 0 / 0.5791 GB, free: 12.4 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.6771, allocations: 0 / 0.5791 GB, free: 12.4 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.001761/0.6788, allocations: 0.6305 MB / 0.5798 GB, free: 12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.6789, allocations: 9.844 kB / 0.5798 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.679, allocations: 27.5 kB / 0.5798 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.6793, allocations: 169 kB / 0.58 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.6793, allocations: 12.58 kB / 0.58 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.6793, allocations: 23.39 kB / 0.58 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.6798, allocations: 254.8 kB / 0.5802 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6799, allocations: 2.188 kB / 0.5802 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.6799, allocations: 9.438 kB / 0.5802 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.6799, allocations: 14.48 kB / 0.5803 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.6805, allocations: 263.9 kB / 0.5805 GB, free: 11.78 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.001444/0.6819, allocations: 0.7602 MB / 0.5813 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.6825, allocations: 215.6 kB / 0.5815 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.6828, allocations: 128.8 kB / 0.5816 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.683, allocations: 48.48 kB / 0.5816 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.683, allocations: 40.67 kB / 0.5817 GB, free: 11.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/0.683, allocations: 0 / 0.5817 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002413/0.6854, allocations: 0.6964 MB / 0.5823 GB, free: 11.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.6855, allocations: 79.89 kB / 0.5824 GB, free: 10.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.6856, allocations: 144.3 kB / 0.5826 GB, free: 10.85 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.6857, allocations: 34.73 kB / 0.5826 GB, free: 10.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.6858, allocations: 114.2 kB / 0.5827 GB, free: 10.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.6859, allocations: 126.7 kB / 0.5828 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.686, allocations: 78.56 kB / 0.5829 GB, free: 10.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.6862, allocations: 330.1 kB / 0.5832 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.6866, allocations: 131.9 kB / 0.5833 GB, free: 10.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.687, allocations: 209.7 kB / 0.5835 GB, free: 10.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.6877, allocations: 361.5 kB / 0.5839 GB, free: 10.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6877, allocations: 0 / 0.5839 GB, free: 10.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009434/0.6887, allocations: 411 kB / 0.5843 GB, free: 9.906 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6887, allocations: 5.062 kB / 0.5843 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.6887, allocations: 6.484 kB / 0.5843 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6887, allocations: 2.625 kB / 0.5843 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.6892, allocations: 91.53 kB / 0.5844 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.6892, allocations: 4.781 kB / 0.5844 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.6896, allocations: 29.84 kB / 0.5844 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.6896, allocations: 23.67 kB / 0.5844 GB, free: 9.859 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.0001465/0.6897, allocations: 141.5 kB / 0.5846 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.6898, allocations: 23.59 kB / 0.5846 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.6902, allocations: 176.7 kB / 0.5848 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6902, allocations: 5.312 kB / 0.5848 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6902, allocations: 0 / 0.5848 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.6902, allocations: 6.672 kB / 0.5848 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.6919, allocations: 0.7464 MB / 0.5855 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6919, allocations: 6.25 kB / 0.5855 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.6924, allocations: 79.89 kB / 0.5856 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6924, allocations: 4.719 kB / 0.5856 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.6924, allocations: 12.77 kB / 0.5856 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6924, allocations: 2.406 kB / 0.5856 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6924, allocations: 0 / 0.5856 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.6938, allocations: 0.7294 MB / 0.5863 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.6939, allocations: 50.19 kB / 0.5864 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.6939, allocations: 6.25 kB / 0.5864 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.6943, allocations: 21.7 kB / 0.5864 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.6944, allocations: 33.45 kB / 0.5864 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.6944, allocations: 13.77 kB / 0.5864 GB, free: 8.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.262e-05/0.6945, allocations: 101.5 kB / 0.5865 GB, free: 8.672 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6945, allocations: 0 / 0.5865 GB, free: 8.672 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006044/0.6951, allocations: 157.6 kB / 0.5867 GB, free: 8.648 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.0004432/0.6955, allocations: 249.3 kB / 0.5869 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008759/0.6964, allocations: 327.2 kB / 0.5872 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6964, allocations: 4.109 kB / 0.5872 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.6968, allocations: 165.9 kB / 0.5874 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.6975, allocations: 101.6 kB / 0.5875 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.699, allocations: 0.643 MB / 0.5881 GB, free: 7.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.6994, allocations: 0.7387 MB / 0.5888 GB, free: 7.223 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000316/0.6997, allocations: 85.52 kB / 0.5889 GB, free: 7.172 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.6998, allocations: 35.67 kB / 0.589 GB, free: 7.164 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6998, allocations: 0 / 0.589 GB, free: 7.164 MB / 462.1 MB Notification: Performance of Templates: time 0.01157/0.7114, allocations: 6.604 MB / 0.5954 GB, free: 3.875 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.081411056919023]