Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001598/0.001598, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001825/0.001825, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.2 MB / 255.2 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 59.89 kB / 374.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1023, allocations: 53.31 MB / 427.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3858/0.4881, allocations: 154.9 MB / 0.5691 GB, free: 5.551 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.4901, allocations: 1.604 MB / 0.5706 GB, free: 3.941 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.4902, allocations: 4 kB / 0.5706 GB, free: 3.938 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.4905, allocations: 67.64 kB / 0.5707 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.491, allocations: 171 kB / 0.5709 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.4941, allocations: 1.032 MB / 0.5719 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.4946, allocations: 358.5 kB / 0.5722 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.4946, allocations: 5.562 kB / 0.5722 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.495, allocations: 167.4 kB / 0.5724 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.4952, allocations: 139.6 kB / 0.5725 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.4953, allocations: 12 kB / 0.5725 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.4986, allocations: 1.672 MB / 0.5742 GB, free: 344 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.4987, allocations: 71.83 kB / 0.5742 GB, free: 272 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.4989, allocations: 107.6 kB / 0.5743 GB, free: 164 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.5009, allocations: 1.032 MB / 0.5753 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5009, allocations: 0 / 0.5753 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5009, allocations: 0 / 0.5753 GB, free: 15.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.5009, allocations: 0 / 0.5753 GB, free: 15.13 MB / 494.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.001911/0.5028, allocations: 0.7121 MB / 0.576 GB, free: 14.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5028, allocations: 12.03 kB / 0.5761 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.503, allocations: 24.84 kB / 0.5761 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.5033, allocations: 223.3 kB / 0.5763 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.5033, allocations: 12.33 kB / 0.5763 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.5034, allocations: 19.95 kB / 0.5763 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.504, allocations: 257.4 kB / 0.5766 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.504, allocations: 8 kB / 0.5766 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.504, allocations: 4 kB / 0.5766 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.5041, allocations: 8 kB / 0.5766 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006823/0.5047, allocations: 267.7 kB / 0.5768 GB, free: 13.5 MB / 494.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.001562/0.5063, allocations: 0.7895 MB / 0.5776 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.507, allocations: 213.1 kB / 0.5778 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.5073, allocations: 129.6 kB / 0.5779 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003743/0.5077, allocations: 356.4 kB / 0.5783 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.5077, allocations: 39.19 kB / 0.5783 GB, free: 11.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.5077, allocations: 4 kB / 0.5783 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002583/0.5103, allocations: 0.6889 MB / 0.579 GB, free: 11.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.5104, allocations: 81.11 kB / 0.5791 GB, free: 11.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.5105, allocations: 137.8 kB / 0.5792 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.5105, allocations: 29.7 kB / 0.5792 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.5106, allocations: 116.9 kB / 0.5793 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.5107, allocations: 134.8 kB / 0.5795 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.5109, allocations: 69.64 kB / 0.5795 GB, free: 10.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.511, allocations: 326.8 kB / 0.5798 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.5114, allocations: 135.9 kB / 0.58 GB, free: 10.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.5119, allocations: 207.5 kB / 0.5802 GB, free: 9.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.5127, allocations: 361.8 kB / 0.5805 GB, free: 9.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5127, allocations: 3.938 kB / 0.5805 GB, free: 9.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001009/0.5137, allocations: 418.5 kB / 0.5809 GB, free: 9.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.5138, allocations: 8.625 kB / 0.5809 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5138, allocations: 0 / 0.5809 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5138, allocations: 4 kB / 0.5809 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.5143, allocations: 87.88 kB / 0.581 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5143, allocations: 4.219 kB / 0.581 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.5146, allocations: 35.86 kB / 0.5811 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.5147, allocations: 16 kB / 0.5811 GB, free: 8.863 MB / 494.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.0001616/0.5148, allocations: 145.7 kB / 0.5812 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.5149, allocations: 15.91 kB / 0.5812 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.5153, allocations: 176.2 kB / 0.5814 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5153, allocations: 7.984 kB / 0.5814 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5153, allocations: 0 / 0.5814 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5153, allocations: 3.938 kB / 0.5814 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.5171, allocations: 0.7897 MB / 0.5822 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5172, allocations: 4 kB / 0.5822 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.5176, allocations: 71.89 kB / 0.5822 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.5176, allocations: 4 kB / 0.5823 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.5176, allocations: 16.98 kB / 0.5823 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.5177, allocations: 4 kB / 0.5823 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5177, allocations: 4.797 kB / 0.5823 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.5192, allocations: 0.7144 MB / 0.583 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.5193, allocations: 124.9 kB / 0.5831 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.5193, allocations: 12 kB / 0.5831 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.5197, allocations: 20.05 kB / 0.5831 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.5198, allocations: 27.91 kB / 0.5831 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.5198, allocations: 16.61 kB / 0.5832 GB, free: 6.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.257e-05/0.5199, allocations: 105.5 kB / 0.5833 GB, free: 6.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5199, allocations: 0 / 0.5833 GB, free: 6.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006599/0.5206, allocations: 159.6 kB / 0.5834 GB, free: 6.32 MB / 494.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.0005081/0.5211, allocations: 234.8 kB / 0.5836 GB, free: 6.082 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009796/0.522, allocations: 335.8 kB / 0.584 GB, free: 5.754 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.522, allocations: 0 / 0.584 GB, free: 5.754 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.5225, allocations: 168.3 kB / 0.5841 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.5232, allocations: 101.1 kB / 0.5842 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.5248, allocations: 0.6764 MB / 0.5849 GB, free: 4.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.5252, allocations: 0.7413 MB / 0.5856 GB, free: 4.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.5254, allocations: 39.41 kB / 0.5856 GB, free: 3.973 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5254, allocations: 0 / 0.5856 GB, free: 3.973 MB / 494.1 MB Notification: Performance of Templates: time 0.007991/0.5334, allocations: 4.802 MB / 0.5903 GB, free: 15.18 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.941603425890207]