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.001655/0.001655, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002446/0.002446, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.538/1.538, allocations: 230.5 MB / 258.1 MB, free: 8.16 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.002005/0.002005, allocations: 67.89 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2809, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4275/0.7084, allocations: 155 MB / 0.5732 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.7099, allocations: 1.619 MB / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.7099, allocations: 0 / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.7102, allocations: 72.2 kB / 0.5749 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.7106, allocations: 161.5 kB / 0.575 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.7129, allocations: 1.046 MB / 0.5761 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.7133, allocations: 349.2 kB / 0.5764 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.7133, allocations: 9.969 kB / 0.5764 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.7135, allocations: 167.5 kB / 0.5766 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.7138, allocations: 141.2 kB / 0.5767 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.7138, allocations: 12.53 kB / 0.5767 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.7162, allocations: 1.662 MB / 0.5783 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.7163, allocations: 72.06 kB / 0.5784 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.7164, allocations: 116 kB / 0.5785 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.7177, allocations: 1.032 MB / 0.5795 GB, free: 12.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7177, allocations: 1.094 kB / 0.5795 GB, free: 12.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.7177, allocations: 0 / 0.5795 GB, free: 12.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.7177, 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.001766/0.7195, allocations: 0.7077 MB / 0.5802 GB, free: 11.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.7195, allocations: 10.5 kB / 0.5802 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.7197, allocations: 23.81 kB / 0.5802 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.72, allocations: 229.6 kB / 0.5805 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.72, allocations: 11.7 kB / 0.5805 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.72, allocations: 25.2 kB / 0.5805 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.7205, allocations: 254.2 kB / 0.5807 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.7205, allocations: 0 / 0.5807 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.7206, allocations: 9.625 kB / 0.5807 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.7206, allocations: 6.766 kB / 0.5807 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005929/0.7212, allocations: 274.6 kB / 0.581 GB, free: 11.63 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.001412/0.7226, allocations: 0.7905 MB / 0.5818 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.7232, allocations: 211.3 kB / 0.582 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.7235, allocations: 138.8 kB / 0.5821 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.7239, allocations: 351.7 kB / 0.5824 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.7239, allocations: 40.62 kB / 0.5825 GB, free: 10.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.7239, allocations: 0 / 0.5825 GB, free: 10.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002383/0.7263, allocations: 0.6862 MB / 0.5832 GB, free: 10.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.7264, allocations: 82.42 kB / 0.5832 GB, free: 10.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.7265, allocations: 140.5 kB / 0.5834 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.7266, allocations: 32.58 kB / 0.5834 GB, free: 10.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.7266, allocations: 109.2 kB / 0.5835 GB, free: 10.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.7267, allocations: 134.2 kB / 0.5836 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.7269, allocations: 75 kB / 0.5837 GB, free: 10.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.727, allocations: 327.6 kB / 0.584 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.7274, allocations: 137.9 kB / 0.5841 GB, free: 9.734 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.7278, allocations: 208.5 kB / 0.5843 GB, free: 9.629 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/0.7286, allocations: 355.5 kB / 0.5847 GB, free: 9.512 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7286, allocations: 0 / 0.5847 GB, free: 9.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000942/0.7295, allocations: 415.7 kB / 0.5851 GB, free: 9.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7296, allocations: 5.094 kB / 0.5851 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7296, allocations: 9.266 kB / 0.5851 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.7296, allocations: 4.594 kB / 0.5851 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.7301, allocations: 90.59 kB / 0.5852 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7301, allocations: 4.625 kB / 0.5852 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.7304, allocations: 29.11 kB / 0.5852 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.7304, allocations: 16.41 kB / 0.5852 GB, free: 9.355 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.0001606/0.7306, allocations: 145.8 kB / 0.5854 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.7307, allocations: 17.91 kB / 0.5854 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.731, allocations: 175.9 kB / 0.5856 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.731, allocations: 9.656 kB / 0.5856 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.731, allocations: 0 / 0.5856 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.7311, allocations: 5.953 kB / 0.5856 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.7328, allocations: 0.7823 MB / 0.5863 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.7328, allocations: 0 / 0.5863 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.7333, allocations: 81.84 kB / 0.5864 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.7333, allocations: 2.781 kB / 0.5864 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.7333, allocations: 21.08 kB / 0.5864 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7333, allocations: 2.812 kB / 0.5864 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7333, allocations: 6.328 kB / 0.5864 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.7347, allocations: 0.7189 MB / 0.5872 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.7349, allocations: 124.1 kB / 0.5873 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.7349, allocations: 13.89 kB / 0.5873 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.7353, allocations: 20.05 kB / 0.5873 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.7354, allocations: 21.03 kB / 0.5873 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.7354, allocations: 17.98 kB / 0.5873 GB, free: 8.121 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.7355, allocations: 105.9 kB / 0.5874 GB, free: 8.039 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7355, allocations: 3.891 kB / 0.5874 GB, free: 8.039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005975/0.7361, allocations: 151.1 kB / 0.5876 GB, free: 8.016 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.0004762/0.7365, allocations: 247.1 kB / 0.5878 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008742/0.7374, allocations: 333.3 kB / 0.5881 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7374, allocations: 3.406 kB / 0.5881 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.7378, allocations: 171.6 kB / 0.5883 GB, free: 7.754 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/0.7386, allocations: 107.8 kB / 0.5884 GB, free: 7.711 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.7401, allocations: 0.6411 MB / 0.589 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.7405, allocations: 0.7386 MB / 0.5898 GB, free: 6.578 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00029/0.7408, allocations: 76.95 kB / 0.5898 GB, free: 6.543 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.7409, allocations: 39.27 kB / 0.5899 GB, free: 6.531 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.7409, allocations: 0 / 0.5899 GB, free: 6.531 MB / 462.1 MB Notification: Performance of Templates: time 0.01212/0.753, allocations: 6.509 MB / 0.5962 GB, free: 3.281 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.288194491993636]