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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002418/0.002418, allocations: 210.5 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] 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: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 376.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2654, allocations: 53.32 MB / 430.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4351/0.7005, allocations: 154.9 MB / 0.5714 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.7022, allocations: 1.622 MB / 0.5729 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.7023, allocations: 3.938 kB / 0.5729 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.7027, allocations: 66.69 kB / 0.573 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.7032, allocations: 165.8 kB / 0.5732 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.7062, allocations: 1.042 MB / 0.5742 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.7068, allocations: 348.2 kB / 0.5745 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.7068, allocations: 7.344 kB / 0.5745 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.7071, allocations: 169.2 kB / 0.5747 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.7073, allocations: 139.6 kB / 0.5748 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.7073, allocations: 16.69 kB / 0.5748 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.7104, allocations: 1.666 MB / 0.5765 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.7106, allocations: 73.48 kB / 0.5765 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.7108, allocations: 103.5 kB / 0.5766 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.7133, allocations: 1.04 MB / 0.5777 GB, free: 12.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7133, allocations: 0 / 0.5777 GB, free: 12.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7133, allocations: 0 / 0.5777 GB, free: 12.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.7133, allocations: 0 / 0.5777 GB, free: 12.46 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.001998/0.7153, allocations: 0.7063 MB / 0.5783 GB, free: 11.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7153, allocations: 10.92 kB / 0.5784 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.7155, allocations: 28.25 kB / 0.5784 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.7158, allocations: 227.8 kB / 0.5786 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.7158, allocations: 11.58 kB / 0.5786 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.7158, allocations: 16.75 kB / 0.5786 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.7164, allocations: 254.5 kB / 0.5789 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.7164, allocations: 0 / 0.5789 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.7164, allocations: 13.5 kB / 0.5789 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.7164, allocations: 10.17 kB / 0.5789 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.717, allocations: 264.6 kB / 0.5791 GB, free: 11.68 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.001439/0.7185, allocations: 0.7931 MB / 0.5799 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.719, allocations: 222.6 kB / 0.5801 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.7193, allocations: 124.8 kB / 0.5802 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/0.7197, allocations: 359.1 kB / 0.5806 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.7197, allocations: 37.94 kB / 0.5806 GB, free: 10.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.7197, allocations: 2.594 kB / 0.5806 GB, free: 10.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002375/0.7221, allocations: 0.6939 MB / 0.5813 GB, free: 10.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.7222, allocations: 85.91 kB / 0.5814 GB, free: 10.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.7223, allocations: 134.4 kB / 0.5815 GB, free: 10.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.7223, allocations: 30.67 kB / 0.5815 GB, free: 10.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.7224, allocations: 113.9 kB / 0.5817 GB, free: 10.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.7225, allocations: 141.5 kB / 0.5818 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.7226, allocations: 72.25 kB / 0.5819 GB, free: 10.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.7228, allocations: 326.6 kB / 0.5822 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.7232, allocations: 129.4 kB / 0.5823 GB, free: 9.754 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.7236, allocations: 209.7 kB / 0.5825 GB, free: 9.645 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.7243, allocations: 359.7 kB / 0.5828 GB, free: 9.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7243, allocations: 0 / 0.5828 GB, free: 9.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009211/0.7252, allocations: 412.1 kB / 0.5832 GB, free: 9.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7253, allocations: 8.797 kB / 0.5832 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7253, allocations: 6.406 kB / 0.5832 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.7253, allocations: 5.344 kB / 0.5832 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.7258, allocations: 87.06 kB / 0.5833 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7258, allocations: 4.594 kB / 0.5833 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.7261, allocations: 26.19 kB / 0.5834 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.7262, allocations: 21.61 kB / 0.5834 GB, free: 9.367 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.0001656/0.7263, allocations: 147.3 kB / 0.5835 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.7264, allocations: 18.75 kB / 0.5835 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.7268, allocations: 177.1 kB / 0.5837 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.7268, allocations: 2.75 kB / 0.5837 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.7268, allocations: 8.391 kB / 0.5837 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7268, allocations: 0 / 0.5837 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.7285, allocations: 0.7766 MB / 0.5845 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7285, allocations: 4.156 kB / 0.5845 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.729, allocations: 80.62 kB / 0.5846 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.729, allocations: 1.969 kB / 0.5846 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.729, allocations: 16.48 kB / 0.5846 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.729, allocations: 2.312 kB / 0.5846 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.729, allocations: 2.5 kB / 0.5846 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.7304, allocations: 0.7199 MB / 0.5853 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.7305, allocations: 126.9 kB / 0.5854 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.7306, allocations: 13.48 kB / 0.5854 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.7309, allocations: 17.36 kB / 0.5854 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.731, allocations: 31.81 kB / 0.5855 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.731, allocations: 18.56 kB / 0.5855 GB, free: 8.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.673e-05/0.7311, allocations: 104.4 kB / 0.5856 GB, free: 8.055 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7311, allocations: 3.938 kB / 0.5856 GB, free: 8.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006244/0.7317, allocations: 153.6 kB / 0.5857 GB, free: 8.027 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.0005192/0.7322, allocations: 243.5 kB / 0.586 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009015/0.7331, allocations: 340.6 kB / 0.5863 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7332, allocations: 0 / 0.5863 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.7335, allocations: 163 kB / 0.5864 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.7342, allocations: 109.9 kB / 0.5865 GB, free: 7.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.7357, allocations: 0.6615 MB / 0.5872 GB, free: 7.297 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.7361, allocations: 0.7416 MB / 0.5879 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.7363, allocations: 41.19 kB / 0.588 GB, free: 6.559 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.7363, allocations: 0 / 0.588 GB, free: 6.559 MB / 462.1 MB Notification: Performance of Templates: time 0.007835/0.7441, allocations: 4.794 MB / 0.5926 GB, free: 4.062 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] 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