Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 114.8 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009662/0.0009663, allocations: 47.17 kB / 302 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08697, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3142/0.4012, allocations: 151.4 MB / 0.4911 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.403, allocations: 1.595 MB / 0.4927 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.4031, allocations: 3.938 kB / 0.4927 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.4035, allocations: 58.58 kB / 0.4928 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.4039, allocations: 161.1 kB / 0.4929 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.4065, allocations: 1.011 MB / 0.4939 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.4068, allocations: 326.8 kB / 0.4942 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.4069, allocations: 13.45 kB / 0.4942 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.4071, allocations: 157.3 kB / 0.4944 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.4074, allocations: 119.6 kB / 0.4945 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.4074, allocations: 12 kB / 0.4945 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.4097, allocations: 1.583 MB / 0.496 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.4098, allocations: 71.83 kB / 0.4961 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.4099, allocations: 95.64 kB / 0.4962 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.4113, allocations: 0.9974 MB / 0.4972 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4113, allocations: 8 kB / 0.4972 GB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4113, allocations: 0 / 0.4972 GB, free: 6.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.4113, allocations: 0 / 0.4972 GB, free: 6.562 MB / 414.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.001622/0.4129, allocations: 0.6752 MB / 0.4979 GB, free: 5.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.413, allocations: 8.031 kB / 0.4979 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.4131, allocations: 16.84 kB / 0.4979 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.4134, allocations: 215.5 kB / 0.4981 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4134, allocations: 16.33 kB / 0.4981 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.4134, allocations: 19.98 kB / 0.4981 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.414, allocations: 265.4 kB / 0.4984 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.414, allocations: 0 / 0.4984 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.414, allocations: 8 kB / 0.4984 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4141, allocations: 4 kB / 0.4984 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.4147, allocations: 271.7 kB / 0.4986 GB, free: 4.984 MB / 414.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.001399/0.4161, allocations: 0.7858 MB / 0.4994 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.4167, allocations: 229 kB / 0.4996 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.417, allocations: 133.6 kB / 0.4998 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/0.4174, allocations: 356.4 kB / 0.5001 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.4174, allocations: 42.5 kB / 0.5001 GB, free: 3.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/0.4174, allocations: 0 / 0.5001 GB, free: 3.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002321/0.4198, allocations: 0.6692 MB / 0.5008 GB, free: 2.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4198, allocations: 89.05 kB / 0.5009 GB, free: 2.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.4199, allocations: 121.8 kB / 0.501 GB, free: 2.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.42, allocations: 33.7 kB / 0.501 GB, free: 2.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.42, allocations: 108.8 kB / 0.5011 GB, free: 2.215 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.4201, allocations: 126.2 kB / 0.5012 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.4202, allocations: 65.59 kB / 0.5013 GB, free: 2.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4204, allocations: 330.8 kB / 0.5016 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.4207, allocations: 138.3 kB / 0.5018 GB, free: 1.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.4211, allocations: 207.6 kB / 0.502 GB, free: 1.324 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/0.4219, allocations: 351.4 kB / 0.5023 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4219, allocations: 0 / 0.5023 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009095/0.4228, allocations: 418.4 kB / 0.5027 GB, free: 0.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4228, allocations: 4 kB / 0.5027 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4228, allocations: 4 kB / 0.5027 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4228, allocations: 4.219 kB / 0.5027 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.4233, allocations: 91.81 kB / 0.5028 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4233, allocations: 4 kB / 0.5028 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.4236, allocations: 31.91 kB / 0.5028 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.4237, allocations: 11.94 kB / 0.5028 GB, free: 404 kB / 414.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.0001378/0.4238, allocations: 141.8 kB / 0.503 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/0.4239, allocations: 25.69 kB / 0.503 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.4243, allocations: 180.3 kB / 0.5032 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4243, allocations: 4 kB / 0.5032 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4243, allocations: 7.938 kB / 0.5032 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4243, allocations: 4 kB / 0.5032 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.4259, allocations: 0.7518 MB / 0.5039 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4259, allocations: 0 / 0.5039 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.4264, allocations: 79.89 kB / 0.504 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.4264, allocations: 4.156 kB / 0.504 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.4264, allocations: 15.98 kB / 0.504 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.4264, allocations: 7.938 kB / 0.504 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4264, allocations: 0 / 0.504 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.4278, allocations: 0.7112 MB / 0.5047 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.4279, allocations: 112.9 kB / 0.5048 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.428, allocations: 11.94 kB / 0.5048 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.4283, allocations: 31.78 kB / 0.5049 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.4284, allocations: 23.91 kB / 0.5049 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.4284, allocations: 15.98 kB / 0.5049 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.703e-05/0.4285, allocations: 99.33 kB / 0.505 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4285, allocations: 0 / 0.505 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000579/0.4291, allocations: 143.9 kB / 0.5051 GB, free: 13.91 MB / 430.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.0004322/0.4295, allocations: 223 kB / 0.5053 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008366/0.4304, allocations: 339.6 kB / 0.5057 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4304, allocations: 4.375 kB / 0.5057 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.4308, allocations: 187.7 kB / 0.5058 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.4314, allocations: 88.42 kB / 0.5059 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4327, allocations: 0.6164 MB / 0.5065 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4331, allocations: 0.7371 MB / 0.5073 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.4334, allocations: 77.89 kB / 0.5073 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4335, allocations: 27.42 kB / 0.5074 GB, free: 11.55 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4335, allocations: 4 kB / 0.5074 GB, free: 11.54 MB / 430.1 MB Notification: Performance of Templates: time 0.009696/0.4432, allocations: 5.899 MB / 0.5131 GB, free: 5.707 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches