Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008891/0.0008892, allocations: 74.73 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.422e-05, allocations: 4 kB / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 47.57 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.14/18.28, allocations: 6.679 GB / 7.041 GB, free: 96.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/18.28, allocations: 74.36 kB / 7.041 GB, free: 96.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7565/19.03, allocations: 192.6 MB / 7.229 GB, free: 68.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/19.03, allocations: 0 / 7.229 GB, free: 68.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/19.03, allocations: 0 / 7.229 GB, free: 68.82 MB / 426.7 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.008449/19.04, allocations: 1.446 MB / 7.23 GB, free: 67.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/19.04, allocations: 7.656 kB / 7.23 GB, free: 67.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/19.04, allocations: 27.05 kB / 7.23 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/19.04, allocations: 219.4 kB / 7.23 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/19.04, allocations: 11.27 kB / 7.23 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/19.04, allocations: 13.88 kB / 7.23 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/19.04, allocations: 265.8 kB / 7.231 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/19.04, allocations: 6.531 kB / 7.231 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/19.04, allocations: 7.25 kB / 7.231 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/19.04, allocations: 11.36 kB / 7.231 GB, free: 67.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/19.04, allocations: 273.6 kB / 7.231 GB, free: 67.69 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001266/19.04, allocations: 0.715 MB / 7.232 GB, free: 67.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/19.04, allocations: 234.8 kB / 7.232 GB, free: 67.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/19.05, allocations: 116.7 kB / 7.232 GB, free: 67.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/19.06, allocations: 12.46 MB / 7.244 GB, free: 54.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/19.06, allocations: 44.52 kB / 7.244 GB, free: 54.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.875e-06/19.06, allocations: 0 / 7.244 GB, free: 54.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001925/19.06, allocations: 0.5194 MB / 7.245 GB, free: 54.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/19.06, allocations: 83.5 kB / 7.245 GB, free: 54.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.342e-05/19.06, allocations: 120.7 kB / 7.245 GB, free: 54.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/19.06, allocations: 29.52 kB / 7.245 GB, free: 54.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/19.06, allocations: 107.1 kB / 7.245 GB, free: 54.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/19.06, allocations: 125.4 kB / 7.245 GB, free: 53.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/19.06, allocations: 11.66 kB / 7.245 GB, free: 53.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/19.06, allocations: 330.3 kB / 7.246 GB, free: 53.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/19.06, allocations: 111.1 kB / 7.246 GB, free: 53.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/19.06, allocations: 184.8 kB / 7.246 GB, free: 53.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/19.06, allocations: 128.5 kB / 7.246 GB, free: 53.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/19.06, allocations: 0 / 7.246 GB, free: 53.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006786/19.06, allocations: 375.3 kB / 7.246 GB, free: 53.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/19.06, allocations: 7.656 kB / 7.246 GB, free: 53.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/19.06, allocations: 3.531 kB / 7.246 GB, free: 53.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/19.06, allocations: 8.953 kB / 7.246 GB, free: 53.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/19.06, allocations: 93.12 kB / 7.246 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/19.06, allocations: 3.531 kB / 7.246 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/19.06, allocations: 41.55 kB / 7.246 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/19.06, allocations: 10.91 kB / 7.246 GB, free: 53.48 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.645e-05/19.06, allocations: 123.2 kB / 7.247 GB, free: 53.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/19.06, allocations: 18.56 kB / 7.247 GB, free: 53.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/19.06, allocations: 203.7 kB / 7.247 GB, free: 53.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/19.06, allocations: 3.281 kB / 7.247 GB, free: 53.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/19.06, allocations: 9.766 kB / 7.247 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/19.06, allocations: 6.984 kB / 7.247 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/19.06, allocations: 0.7102 MB / 7.247 GB, free: 52.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/19.06, allocations: 0 / 7.247 GB, free: 52.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/19.06, allocations: 85.72 kB / 7.248 GB, free: 52.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/19.06, allocations: 3.281 kB / 7.248 GB, free: 52.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/19.06, allocations: 14 kB / 7.248 GB, free: 52.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/19.06, allocations: 13.31 kB / 7.248 GB, free: 52.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/19.06, allocations: 0 / 7.248 GB, free: 52.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/19.06, allocations: 0.7099 MB / 7.248 GB, free: 52.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/19.06, allocations: 125.1 kB / 7.248 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/19.06, allocations: 13.14 kB / 7.248 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/19.06, allocations: 22.06 kB / 7.248 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/19.06, allocations: 22.7 kB / 7.248 GB, free: 52.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/19.06, allocations: 26 kB / 7.248 GB, free: 52.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.831e-05/19.06, allocations: 96.19 kB / 7.249 GB, free: 52.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/19.06, allocations: 0 / 7.249 GB, free: 52.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005312/19.07, allocations: 1.106 MB / 7.25 GB, free: 52.2 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006479/19.08, allocations: 1.636 MB / 7.251 GB, free: 51.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006253/19.08, allocations: 294.8 kB / 7.252 GB, free: 51.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/19.08, allocations: 0 / 7.252 GB, free: 51.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/19.08, allocations: 161 kB / 7.252 GB, free: 51.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/19.08, allocations: 90.05 kB / 7.252 GB, free: 51.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/19.1, allocations: 12.04 MB / 7.264 GB, free: 50.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/19.1, allocations: 0.7434 MB / 7.264 GB, free: 49.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005116/19.1, allocations: 88.78 kB / 7.264 GB, free: 49.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/19.1, allocations: 38.8 kB / 7.264 GB, free: 49.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.123e-06/19.1, allocations: 0 / 7.264 GB, free: 49.66 MB / 426.7 MB Notification: Performance of Templates: time 0.04122/19.14, allocations: 34.45 MB / 7.298 GB, free: 39.36 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches