Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 254.8 MB, free: 15.25 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 47.92 kB / 374.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 53.33 MB / 427.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3949/0.5039, allocations: 152.6 MB / 0.5665 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.5068, allocations: 2.553 MB / 0.569 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.5069, allocations: 4.656 kB / 0.569 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.507, allocations: 23.83 kB / 0.569 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009929/0.508, allocations: 342.2 kB / 0.5694 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.5082, allocations: 63.73 kB / 0.5694 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.5084, allocations: 107.3 kB / 0.5695 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.5084, allocations: 4 kB / 0.5695 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.5085, allocations: 39.8 kB / 0.5696 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.5086, allocations: 33.27 kB / 0.5696 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.5086, allocations: 7.984 kB / 0.5696 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007365/0.5094, allocations: 379.4 kB / 0.57 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.5094, allocations: 8 kB / 0.57 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.5094, allocations: 39.78 kB / 0.57 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.5099, allocations: 316.4 kB / 0.5703 GB, free: 13.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5099, allocations: 0 / 0.5703 GB, free: 13.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5099, allocations: 0 / 0.5703 GB, free: 13.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.51, allocations: 0 / 0.5703 GB, free: 13.96 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009963/0.511, allocations: 466.7 kB / 0.5708 GB, free: 13.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.511, allocations: 15.97 kB / 0.5708 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006523/0.5175, allocations: 464.2 kB / 0.5712 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.5177, allocations: 175.7 kB / 0.5714 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5177, allocations: 0 / 0.5714 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.5178, allocations: 12 kB / 0.5714 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/0.5187, allocations: 300.1 kB / 0.5717 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5187, allocations: 4 kB / 0.5717 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.5187, allocations: 0 / 0.5717 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5187, allocations: 4 kB / 0.5717 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008565/0.5196, allocations: 275.7 kB / 0.572 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.5199, allocations: 254 kB / 0.5722 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.5204, allocations: 151.4 kB / 0.5723 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.5206, allocations: 80.81 kB / 0.5724 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.5206, allocations: 11.92 kB / 0.5724 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5207, allocations: 30.56 kB / 0.5725 GB, free: 11.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.5207, allocations: 0 / 0.5725 GB, free: 11.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002323/0.523, allocations: 0.5772 MB / 0.573 GB, free: 11.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.523, allocations: 59.33 kB / 0.5731 GB, free: 10.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.5231, allocations: 113.8 kB / 0.5732 GB, free: 10.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.5231, allocations: 29.7 kB / 0.5732 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.5232, allocations: 84.58 kB / 0.5733 GB, free: 10.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.5233, allocations: 79.28 kB / 0.5734 GB, free: 10.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.5234, allocations: 49.69 kB / 0.5734 GB, free: 10.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5235, allocations: 318.8 kB / 0.5737 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.5239, allocations: 99.94 kB / 0.5738 GB, free: 10.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.5242, allocations: 107.9 kB / 0.5739 GB, free: 10.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.5248, allocations: 223.6 kB / 0.5741 GB, free: 9.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5248, allocations: 4 kB / 0.5741 GB, free: 9.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007677/0.5256, allocations: 286 kB / 0.5744 GB, free: 9.547 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5256, allocations: 8 kB / 0.5744 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5256, allocations: 3.984 kB / 0.5744 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5256, allocations: 0 / 0.5744 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.5261, allocations: 59.83 kB / 0.5745 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5261, allocations: 4 kB / 0.5745 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.5264, allocations: 16.67 kB / 0.5745 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.5264, allocations: 9.938 kB / 0.5745 GB, free: 9.449 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001307/0.5266, allocations: 117.8 kB / 0.5746 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.5266, allocations: 15.94 kB / 0.5746 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/0.5276, allocations: 347.2 kB / 0.575 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5276, allocations: 7.938 kB / 0.575 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5276, allocations: 4 kB / 0.575 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5276, allocations: 3.984 kB / 0.575 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.5292, allocations: 0.7218 MB / 0.5757 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5292, allocations: 0 / 0.5757 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.5296, allocations: 63.89 kB / 0.5757 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.5296, allocations: 5.875 kB / 0.5758 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.5297, allocations: 8 kB / 0.5758 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5297, allocations: 160 / 0.5758 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5297, allocations: 8 kB / 0.5758 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.5305, allocations: 419.6 kB / 0.5762 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.5306, allocations: 89.02 kB / 0.5763 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.5306, allocations: 8 kB / 0.5763 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.5309, allocations: 15.98 kB / 0.5763 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.531, allocations: 19.97 kB / 0.5763 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.531, allocations: 19.94 kB / 0.5763 GB, free: 7.469 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.5311, allocations: 85.61 kB / 0.5764 GB, free: 7.387 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5311, allocations: 0 / 0.5764 GB, free: 7.387 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003604/0.5314, allocations: 59.94 kB / 0.5765 GB, free: 7.328 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (26): * Single equations (assignments): 26 * 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.0002683/0.5317, allocations: 135.1 kB / 0.5766 GB, free: 7.184 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.5324, allocations: 243 kB / 0.5768 GB, free: 6.949 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5324, allocations: 0 / 0.5768 GB, free: 6.949 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.5328, allocations: 133.7 kB / 0.5769 GB, free: 6.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.5334, allocations: 53.86 kB / 0.577 GB, free: 6.773 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.5343, allocations: 375.8 kB / 0.5774 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.5346, allocations: 0.7047 MB / 0.578 GB, free: 5.629 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.5349, allocations: 39.41 kB / 0.5781 GB, free: 5.59 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5349, allocations: 3.938 kB / 0.5781 GB, free: 5.586 MB / 478.1 MB Notification: Performance of Templates: time 0.005346/0.5402, allocations: 2.922 MB / 0.5809 GB, free: 2.676 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.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.63922940401244]