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.001565/0.001565, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001651/0.001651, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.429/1.429, allocations: 230.4 MB / 258.1 MB, free: 8.125 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.00202/0.00202, allocations: 63.89 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2106, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.361/0.5716, allocations: 154.9 MB / 0.5732 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.5731, allocations: 1.612 MB / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.862e-05/0.5732, allocations: 2.812 kB / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.5736, allocations: 65.23 kB / 0.5749 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.5739, allocations: 171.4 kB / 0.575 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.5763, allocations: 1.045 MB / 0.5761 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.5766, allocations: 355.8 kB / 0.5764 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.5767, allocations: 6.312 kB / 0.5764 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.5769, allocations: 167.1 kB / 0.5766 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.5772, allocations: 141.1 kB / 0.5767 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.5772, allocations: 13.03 kB / 0.5767 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.5795, allocations: 1.671 MB / 0.5783 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.5796, allocations: 71.17 kB / 0.5784 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.5797, allocations: 100.4 kB / 0.5785 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.5811, allocations: 1.038 MB / 0.5795 GB, free: 12.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.5811, allocations: 0 / 0.5795 GB, free: 12.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5811, allocations: 0 / 0.5795 GB, free: 12.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.5811, allocations: 0 / 0.5795 GB, free: 12.43 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.001863/0.583, allocations: 0.7123 MB / 0.5802 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.583, allocations: 11.94 kB / 0.5802 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.5832, allocations: 25.5 kB / 0.5802 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.5835, allocations: 223.5 kB / 0.5805 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5835, allocations: 13.14 kB / 0.5805 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.5835, allocations: 17.73 kB / 0.5805 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.5841, allocations: 257.2 kB / 0.5807 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5841, allocations: 0 / 0.5807 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.5841, allocations: 5.438 kB / 0.5807 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.5841, allocations: 12.19 kB / 0.5808 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.5847, allocations: 269 kB / 0.581 GB, free: 11.64 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.001454/0.5862, allocations: 0.7885 MB / 0.5818 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.5868, allocations: 214.5 kB / 0.582 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.5871, allocations: 127 kB / 0.5821 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.5875, allocations: 358 kB / 0.5824 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.5875, allocations: 39.97 kB / 0.5825 GB, free: 10.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.854e-06/0.5875, allocations: 2.406 kB / 0.5825 GB, free: 10.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002446/0.59, allocations: 0.6866 MB / 0.5832 GB, free: 10.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.59, allocations: 79.67 kB / 0.5832 GB, free: 10.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.5901, allocations: 147.3 kB / 0.5834 GB, free: 10.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.5902, allocations: 35.8 kB / 0.5834 GB, free: 10.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.5902, allocations: 113 kB / 0.5835 GB, free: 10.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.5903, allocations: 134.3 kB / 0.5836 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.5905, allocations: 71.75 kB / 0.5837 GB, free: 10.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5906, allocations: 334.1 kB / 0.584 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.591, allocations: 127.8 kB / 0.5842 GB, free: 9.738 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.5914, allocations: 213.2 kB / 0.5844 GB, free: 9.625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/0.5922, allocations: 361 kB / 0.5847 GB, free: 9.504 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5922, allocations: 2.391 kB / 0.5847 GB, free: 9.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009983/0.5932, allocations: 414.8 kB / 0.5851 GB, free: 9.391 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5932, allocations: 6.875 kB / 0.5851 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5932, allocations: 3.062 kB / 0.5851 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5933, allocations: 2.781 kB / 0.5851 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.5938, allocations: 88.69 kB / 0.5852 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5938, allocations: 8.297 kB / 0.5852 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.5941, allocations: 28.72 kB / 0.5852 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.5941, allocations: 16.8 kB / 0.5852 GB, free: 9.352 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.0001539/0.5943, allocations: 141.6 kB / 0.5854 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.5944, allocations: 20.19 kB / 0.5854 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.5948, allocations: 176.5 kB / 0.5856 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5948, allocations: 6.672 kB / 0.5856 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5948, allocations: 4 kB / 0.5856 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.5949, allocations: 128.6 kB / 0.5857 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.595, allocations: 13.59 kB / 0.5857 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.5954, allocations: 14.77 kB / 0.5857 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.5954, allocations: 28.25 kB / 0.5858 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001261/0.5967, allocations: 0.5486 MB / 0.5863 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001447/0.5981, allocations: 0.7953 MB / 0.5871 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003795/0.5985, allocations: 146.9 kB / 0.5872 GB, free: 8.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.5986, allocations: 107.4 kB / 0.5873 GB, free: 8.238 MB / 462.1 MB Notification: Performance of Backend: time 3e-07/0.5986, allocations: 1.094 kB / 0.5873 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.6005, allocations: 0.6532 MB / 0.5879 GB, free: 7.992 MB / 462.1 MB Notification: Performance of SimCode: time 0.001046/0.6016, allocations: 0.9404 MB / 0.5889 GB, free: 7.191 MB / 462.1 MB Notification: Performance of Templates: time 0.01549/0.617, allocations: 9.971 MB / 0.5986 GB, free: 2.102 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 -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: 4.901210326235741]