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/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 3.2.3+maint.om/package.mo", uses=false) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 105.3 kB / 17.58 MB, free: 5.559 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.001083/0.001083, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 59.91 kB / 280.6 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0786/0.07972, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03093/0.1107, allocations: 26.58 MB / 353.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1138, allocations: 2.231 MB / 356.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.1139, allocations: 4 kB / 356.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1142, allocations: 59.64 kB / 356.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.1146, allocations: 151.2 kB / 356.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.1281, allocations: 6.165 MB / 362.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.1285, allocations: 314.6 kB / 362.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.1286, allocations: 12.91 kB / 362.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1288, allocations: 135.5 kB / 362.9 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.129, allocations: 119.6 kB / 363 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.129, allocations: 8 kB / 363 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01468/0.1437, allocations: 9.226 MB / 372.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1439, allocations: 71.84 kB / 372.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.144, allocations: 91.59 kB / 372.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008379/0.1524, allocations: 4.679 MB / 377.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1524, allocations: 0 / 377.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1524, allocations: 0 / 377.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1524, allocations: 3.938 kB / 377.1 MB, free: 2.469 MB / 318.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.002799/0.1553, allocations: 1.108 MB / 378.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1553, allocations: 12.03 kB / 378.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.1555, allocations: 24.5 kB / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1557, allocations: 218.7 kB / 378.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1557, allocations: 12.33 kB / 378.5 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.1558, allocations: 16 kB / 378.5 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.1564, allocations: 293.3 kB / 378.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1564, allocations: 0 / 378.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1565, allocations: 8 kB / 378.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.1565, allocations: 7.984 kB / 378.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007365/0.1572, allocations: 315.7 kB / 379.1 MB, free: 384 kB / 318.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.1246/0.2819, allocations: 0.8194 MB / 379.9 MB, free: 52.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.2826, allocations: 247.3 kB / 380.2 MB, free: 52.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.2829, allocations: 132.2 kB / 380.3 MB, free: 52.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/0.2953, allocations: 12.84 MB / 393.1 MB, free: 39.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2953, allocations: 38.72 kB / 393.2 MB, free: 39.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.925e-06/0.2953, allocations: 0 / 393.2 MB, free: 39.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002742/0.2981, allocations: 0.6949 MB / 393.9 MB, free: 39.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.2981, allocations: 81.12 kB / 394 MB, free: 39.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.2982, allocations: 129.2 kB / 394.1 MB, free: 39.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2983, allocations: 32.45 kB / 394.1 MB, free: 39.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.2983, allocations: 113.5 kB / 394.2 MB, free: 39.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.2984, allocations: 123.8 kB / 394.3 MB, free: 39.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2985, allocations: 74.81 kB / 394.4 MB, free: 39.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.2986, allocations: 323.7 kB / 394.7 MB, free: 38.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.299, allocations: 137.2 kB / 394.9 MB, free: 38.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.2994, allocations: 206.3 kB / 395.1 MB, free: 38.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.3003, allocations: 365.8 kB / 395.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3003, allocations: 2 kB / 395.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001097/0.3014, allocations: 422.7 kB / 395.8 MB, free: 38.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3015, allocations: 7.031 kB / 395.8 MB, free: 38.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3015, allocations: 2.312 kB / 395.8 MB, free: 38.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3015, allocations: 3.594 kB / 395.9 MB, free: 38.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.302, allocations: 85.31 kB / 395.9 MB, free: 38.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.302, allocations: 8.516 kB / 395.9 MB, free: 38.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.3023, allocations: 38.59 kB / 396 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.3023, allocations: 19.67 kB / 396 MB, free: 38.43 MB / 318.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.0001076/0.3024, allocations: 139.6 kB / 396.1 MB, free: 38.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3026, allocations: 19.06 kB / 396.2 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.303, allocations: 187.4 kB / 396.3 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.303, allocations: 4.438 kB / 396.3 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3031, allocations: 1.156 kB / 396.3 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.3031, allocations: 9.656 kB / 396.4 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.3046, allocations: 0.7676 MB / 397.1 MB, free: 37.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3046, allocations: 1.375 kB / 397.1 MB, free: 37.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.305, allocations: 76.16 kB / 397.2 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.305, allocations: 4.031 kB / 397.2 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3051, allocations: 11.2 kB / 397.2 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3051, allocations: 6.812 kB / 397.2 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3051, allocations: 6.281 kB / 397.2 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3064, allocations: 0.709 MB / 397.9 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-05/0.3065, allocations: 122.5 kB / 398.1 MB, free: 37.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.3066, allocations: 8.75 kB / 398.1 MB, free: 37.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.3069, allocations: 28 kB / 398.1 MB, free: 37.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.307, allocations: 27.23 kB / 398.1 MB, free: 37.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.307, allocations: 22.62 kB / 398.1 MB, free: 37.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.307, allocations: 96.03 kB / 398.2 MB, free: 37.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3071, allocations: 0 / 398.2 MB, free: 37.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002266/0.3093, allocations: 0.9293 MB / 399.2 MB, free: 36.96 MB / 318.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 (37): * Single equations (assignments): 37 * 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.003192/0.3125, allocations: 1.267 MB / 400.4 MB, free: 36.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009139/0.3135, allocations: 365 kB / 400.8 MB, free: 36.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3135, allocations: 1.094 kB / 400.8 MB, free: 36.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.3139, allocations: 180.5 kB / 401 MB, free: 36.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.3146, allocations: 97.12 kB / 401.1 MB, free: 36.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3158, allocations: 0.6073 MB / 401.7 MB, free: 36.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.3159, allocations: 0.7336 MB / 402.4 MB, free: 35.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003848/0.3163, allocations: 85.17 kB / 402.5 MB, free: 35.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3164, allocations: 42.56 kB / 402.5 MB, free: 35.45 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3164, allocations: 0 / 402.5 MB, free: 35.45 MB / 318.1 MB Notification: Performance of Templates: time 0.03055/0.347, allocations: 30.9 MB / 433.4 MB, free: 8.738 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches