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.009819/0.009819, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.002617/0.002617, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.469/1.469, allocations: 230.6 MB / 259 MB, free: 8.023 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.002004/0.002004, allocations: 68.55 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4844/0.7918, allocations: 155 MB / 0.5743 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.7936, allocations: 1.618 MB / 0.5759 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.7937, allocations: 2.719 kB / 0.5759 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.7941, allocations: 69.14 kB / 0.576 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.7945, allocations: 164.3 kB / 0.5761 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.7976, allocations: 1.058 MB / 0.5772 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000458/0.7981, allocations: 357.2 kB / 0.5775 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.7981, allocations: 11.28 kB / 0.5775 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.7984, allocations: 169.5 kB / 0.5777 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.7986, allocations: 134.6 kB / 0.5778 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.7987, allocations: 15.31 kB / 0.5778 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.8014, allocations: 1.684 MB / 0.5795 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.8015, allocations: 74.61 kB / 0.5795 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.8016, allocations: 103.5 kB / 0.5796 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.8033, allocations: 1.041 MB / 0.5807 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.8033, allocations: 0 / 0.5807 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8033, allocations: 0 / 0.5807 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.8033, allocations: 4 kB / 0.5807 GB, free: 12.39 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.001853/0.8052, allocations: 0.6298 MB / 0.5813 GB, free: 11.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.8052, allocations: 10.19 kB / 0.5813 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.8054, allocations: 25.38 kB / 0.5813 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.8056, allocations: 167.5 kB / 0.5815 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.8057, allocations: 15.11 kB / 0.5815 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.8057, allocations: 17.61 kB / 0.5815 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.8063, allocations: 269.2 kB / 0.5818 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.8063, allocations: 2.344 kB / 0.5818 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.8063, allocations: 5.375 kB / 0.5818 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.8063, allocations: 6.906 kB / 0.5818 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.8069, allocations: 260.8 kB / 0.582 GB, free: 11.77 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.001494/0.8084, allocations: 0.7641 MB / 0.5828 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.809, allocations: 218.8 kB / 0.583 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.8093, allocations: 123 kB / 0.5831 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.8095, allocations: 54.33 kB / 0.5831 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.8096, allocations: 41.52 kB / 0.5832 GB, free: 11.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.8096, allocations: 0 / 0.5832 GB, free: 11.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002354/0.8119, allocations: 0.6911 MB / 0.5839 GB, free: 11.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.812, allocations: 82.2 kB / 0.5839 GB, free: 10.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.8121, allocations: 143.7 kB / 0.5841 GB, free: 10.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.8122, allocations: 31.73 kB / 0.5841 GB, free: 10.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.8123, allocations: 112.6 kB / 0.5842 GB, free: 10.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.8124, allocations: 133.2 kB / 0.5843 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.8125, allocations: 71.78 kB / 0.5844 GB, free: 10.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8127, allocations: 330.6 kB / 0.5847 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.813, allocations: 138 kB / 0.5849 GB, free: 10.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.8134, allocations: 202.5 kB / 0.585 GB, free: 10.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/0.8141, allocations: 365.6 kB / 0.5854 GB, free: 10.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8141, allocations: 0 / 0.5854 GB, free: 10.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008933/0.815, allocations: 418.1 kB / 0.5858 GB, free: 9.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.815, allocations: 5.719 kB / 0.5858 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8151, allocations: 2.281 kB / 0.5858 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.8151, allocations: 2.781 kB / 0.5858 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.8156, allocations: 93.16 kB / 0.5859 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.8156, allocations: 2.781 kB / 0.5859 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.8159, allocations: 28.7 kB / 0.5859 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.8159, allocations: 17.72 kB / 0.5859 GB, free: 9.855 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.0001818/0.8161, allocations: 156.4 kB / 0.5861 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.8162, allocations: 18.09 kB / 0.5861 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.8166, allocations: 167.7 kB / 0.5863 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.8166, allocations: 4.938 kB / 0.5863 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.8166, allocations: 0.625 kB / 0.5863 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.8166, allocations: 1.906 kB / 0.5863 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.8184, allocations: 0.7578 MB / 0.587 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8184, allocations: 2.281 kB / 0.587 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.8188, allocations: 76.03 kB / 0.5871 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.8188, allocations: 4.906 kB / 0.5871 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.8188, allocations: 12.09 kB / 0.5871 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.8188, allocations: 6.703 kB / 0.5871 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/0.8188, allocations: 11.75 kB / 0.5871 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.8202, allocations: 0.7118 MB / 0.5878 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.8203, allocations: 47.66 kB / 0.5879 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.8203, allocations: 12.73 kB / 0.5879 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.8207, allocations: 25.72 kB / 0.5879 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.8208, allocations: 32.58 kB / 0.5879 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.8208, allocations: 14.19 kB / 0.5879 GB, free: 8.746 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.526e-05/0.8209, allocations: 105.3 kB / 0.588 GB, free: 8.664 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8209, allocations: 0 / 0.588 GB, free: 8.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006524/0.8215, allocations: 154 kB / 0.5882 GB, free: 8.641 MB / 462.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.0004829/0.822, allocations: 251.4 kB / 0.5884 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008681/0.8229, allocations: 330.3 kB / 0.5887 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8229, allocations: 1.094 kB / 0.5887 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.8233, allocations: 172.4 kB / 0.5889 GB, free: 8.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.8239, allocations: 106.4 kB / 0.589 GB, free: 8.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.8255, allocations: 0.6534 MB / 0.5897 GB, free: 7.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.8258, allocations: 0.7425 MB / 0.5904 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.826, allocations: 41.55 kB / 0.5904 GB, free: 7.176 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.826, allocations: 3.094 kB / 0.5904 GB, free: 7.176 MB / 462.1 MB Notification: Performance of Templates: time 0.007885/0.8339, allocations: 4.793 MB / 0.5951 GB, free: 4.676 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 8.662992662051693]