Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001024, 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.516/1.516, 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.0008831/0.0008832, allocations: 90.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.721e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 47.57 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.624/9.727, allocations: 3.642 GB / 4.004 GB, free: 30.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/9.728, allocations: 67.97 kB / 4.004 GB, free: 30.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4315/10.16, allocations: 48.67 MB / 4.051 GB, free: 133.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.033e-06/10.16, allocations: 0 / 4.051 GB, free: 133.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/10.16, allocations: 11.34 kB / 4.051 GB, free: 133.4 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.002189/10.16, allocations: 0.6293 MB / 4.052 GB, free: 132.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/10.16, allocations: 10.22 kB / 4.052 GB, free: 132.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/10.16, allocations: 24.06 kB / 4.052 GB, free: 132.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/10.16, allocations: 211.5 kB / 4.052 GB, free: 132.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/10.16, allocations: 13.27 kB / 4.052 GB, free: 132.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/10.16, allocations: 12.59 kB / 4.052 GB, free: 132.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/10.16, allocations: 246 kB / 4.052 GB, free: 132.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/10.16, allocations: 4 kB / 4.052 GB, free: 132.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/10.16, allocations: 9.688 kB / 4.052 GB, free: 132.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/10.16, allocations: 7.625 kB / 4.052 GB, free: 132.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/10.16, allocations: 227.9 kB / 4.053 GB, free: 132.7 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.001585/10.16, allocations: 0.6814 MB / 4.053 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/10.17, allocations: 201.9 kB / 4.053 GB, free: 132.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/10.17, allocations: 117.8 kB / 4.053 GB, free: 132.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004129/10.17, allocations: 358.7 kB / 4.054 GB, free: 131.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/10.17, allocations: 38.53 kB / 4.054 GB, free: 131.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.795e-06/10.17, allocations: 0 / 4.054 GB, free: 131.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001682/10.17, allocations: 0.4993 MB / 4.054 GB, free: 131.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/10.17, allocations: 88.16 kB / 4.054 GB, free: 131.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/10.17, allocations: 106.6 kB / 4.055 GB, free: 131.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/10.17, allocations: 39.67 kB / 4.055 GB, free: 131.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/10.17, allocations: 109.1 kB / 4.055 GB, free: 131.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/10.17, allocations: 128.2 kB / 4.055 GB, free: 131.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/10.17, allocations: 5.562 kB / 4.055 GB, free: 131.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/10.17, allocations: 324 kB / 4.055 GB, free: 131 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/10.17, allocations: 107.2 kB / 4.055 GB, free: 131 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/10.17, allocations: 188.6 kB / 4.055 GB, free: 130.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/10.17, allocations: 130 kB / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/10.17, allocations: 0 / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000578/10.17, allocations: 368.5 kB / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/10.17, allocations: 3.312 kB / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/10.17, allocations: 3.312 kB / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/10.17, allocations: 4.094 kB / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/10.17, allocations: 89.39 kB / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/10.17, allocations: 8 kB / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/10.17, allocations: 34.98 kB / 4.056 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/10.17, allocations: 22.53 kB / 4.056 GB, free: 130.9 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 0.0001165/10.17, allocations: 123 kB / 4.056 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/10.17, allocations: 15.47 kB / 4.056 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/10.17, allocations: 169.5 kB / 4.056 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/10.17, allocations: 3.875 kB / 4.056 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/10.17, allocations: 4 kB / 4.056 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/10.17, allocations: 3.906 kB / 4.056 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/10.17, allocations: 0.7165 MB / 4.057 GB, free: 130.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/10.17, allocations: 3.875 kB / 4.057 GB, free: 130.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/10.17, allocations: 74.23 kB / 4.057 GB, free: 130.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/10.17, allocations: 3.875 kB / 4.057 GB, free: 130.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/10.17, allocations: 12.47 kB / 4.057 GB, free: 130.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/10.17, allocations: 3.906 kB / 4.057 GB, free: 130.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/10.17, allocations: 7.812 kB / 4.057 GB, free: 130.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007824/10.17, allocations: 0.6983 MB / 4.058 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/10.17, allocations: 122.6 kB / 4.058 GB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/10.17, allocations: 11.81 kB / 4.058 GB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/10.17, allocations: 25.45 kB / 4.058 GB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/10.17, allocations: 30.84 kB / 4.058 GB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/10.17, allocations: 14.56 kB / 4.058 GB, free: 129.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.531e-05/10.17, allocations: 94.77 kB / 4.058 GB, free: 129.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/10.17, allocations: 7.875 kB / 4.058 GB, free: 129.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008532/10.18, allocations: 180.8 kB / 4.058 GB, free: 129.7 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.0009626/10.18, allocations: 0.6393 MB / 4.059 GB, free: 129.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004902/10.18, allocations: 297.4 kB / 4.059 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/10.18, allocations: 0 / 4.059 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/10.18, allocations: 163 kB / 4.059 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/10.18, allocations: 90.61 kB / 4.059 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/10.18, allocations: 466.7 kB / 4.06 GB, free: 129.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/10.18, allocations: 0.7391 MB / 4.061 GB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003706/10.18, allocations: 75.47 kB / 4.061 GB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/10.18, allocations: 35.02 kB / 4.061 GB, free: 128.3 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/10.18, allocations: 3.812 kB / 4.061 GB, free: 128.3 MB / 426.7 MB Notification: Performance of Templates: time 0.01911/10.2, allocations: 13.8 MB / 4.074 GB, free: 126.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches