Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.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.007891/0.007891, allocations: 108.3 kB / 21.98 MB, free: 5.223 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.001964/0.001964, allocations: 216.4 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.02 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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.IdealGasH2O") [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.001951/0.001951, allocations: 60.78 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 53.36 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4621/0.7455, allocations: 152.7 MB / 0.5721 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.7478, allocations: 2.56 MB / 0.5746 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.7479, allocations: 1.875 kB / 0.5746 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.748, allocations: 27.75 kB / 0.5746 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009683/0.749, allocations: 334.3 kB / 0.575 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.7492, allocations: 69.38 kB / 0.575 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.7493, allocations: 105.2 kB / 0.5751 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.7493, allocations: 2.25 kB / 0.5751 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.7495, allocations: 45.5 kB / 0.5752 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.7495, allocations: 40.7 kB / 0.5752 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.7496, allocations: 2.656 kB / 0.5752 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006785/0.7502, allocations: 367.1 kB / 0.5756 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.7502, allocations: 11.14 kB / 0.5756 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.7503, allocations: 40.3 kB / 0.5756 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.7508, allocations: 319.2 kB / 0.5759 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7508, allocations: 3.25 kB / 0.5759 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.7508, allocations: 1.594 kB / 0.5759 GB, free: 12.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.7508, allocations: 3.938 kB / 0.5759 GB, free: 12.75 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000909/0.7517, allocations: 385.8 kB / 0.5763 GB, free: 12.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.7517, allocations: 11.91 kB / 0.5763 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/0.7573, allocations: 468.2 kB / 0.5767 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.7575, allocations: 122 kB / 0.5769 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.7575, allocations: 0 / 0.5769 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.7576, allocations: 7.969 kB / 0.5769 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.7584, allocations: 301.3 kB / 0.5772 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.7584, allocations: 0 / 0.5772 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.7584, allocations: 6.141 kB / 0.5772 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.7584, allocations: 1.969 kB / 0.5772 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.7592, allocations: 274.2 kB / 0.5774 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.7595, allocations: 226.1 kB / 0.5776 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.7599, allocations: 147.3 kB / 0.5778 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.7601, allocations: 82.33 kB / 0.5779 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.7601, allocations: 8.609 kB / 0.5779 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.7602, allocations: 40.34 kB / 0.5779 GB, free: 11.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.7602, allocations: 0 / 0.5779 GB, free: 11.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002044/0.7622, allocations: 0.5803 MB / 0.5785 GB, free: 11.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.7623, allocations: 55.34 kB / 0.5785 GB, free: 11.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.7624, allocations: 107.6 kB / 0.5786 GB, free: 11.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.7624, allocations: 31.86 kB / 0.5787 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.7624, allocations: 88.2 kB / 0.5787 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.7625, allocations: 84.62 kB / 0.5788 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7626, allocations: 46.02 kB / 0.5789 GB, free: 11.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7628, allocations: 321 kB / 0.5792 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.763, allocations: 99.39 kB / 0.5793 GB, free: 11.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.7633, allocations: 101.3 kB / 0.5794 GB, free: 11.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.7638, allocations: 235.3 kB / 0.5796 GB, free: 11.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.7638, allocations: 0 / 0.5796 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006431/0.7645, allocations: 283.5 kB / 0.5799 GB, free: 11.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7645, allocations: 4.5 kB / 0.5799 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7645, allocations: 2.094 kB / 0.5799 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.7645, allocations: 0 / 0.5799 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.765, allocations: 62.77 kB / 0.5799 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.765, allocations: 1.062 kB / 0.5799 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.7653, allocations: 20.59 kB / 0.5799 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.7653, allocations: 9.438 kB / 0.58 GB, free: 11.18 MB / 462.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.0001364/0.7654, allocations: 127.5 kB / 0.5801 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.7655, allocations: 14.19 kB / 0.5801 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/0.7663, allocations: 348.9 kB / 0.5804 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.7664, allocations: 6.625 kB / 0.5804 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7664, allocations: 0.8125 kB / 0.5804 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7664, allocations: 1.781 kB / 0.5804 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.7679, allocations: 0.6945 MB / 0.5811 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7679, allocations: 0 / 0.5811 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.7683, allocations: 62.16 kB / 0.5812 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.7683, allocations: 8.094 kB / 0.5812 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.7683, allocations: 11.02 kB / 0.5812 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7683, allocations: 2.906 kB / 0.5812 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7683, allocations: 0 / 0.5812 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.769, allocations: 411.6 kB / 0.5816 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.7691, allocations: 19.11 kB / 0.5816 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.7691, allocations: 3.766 kB / 0.5816 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.7694, allocations: 15.38 kB / 0.5816 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.7695, allocations: 20.02 kB / 0.5816 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.7695, allocations: 22.11 kB / 0.5817 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.7696, allocations: 86.89 kB / 0.5817 GB, free: 10.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7696, allocations: 3.938 kB / 0.5817 GB, free: 10.37 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.7699, allocations: 59.09 kB / 0.5818 GB, free: 10.37 MB / 462.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.0002405/0.7702, allocations: 126.5 kB / 0.5819 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.7708, allocations: 236.8 kB / 0.5822 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7708, allocations: 1.203 kB / 0.5822 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.7712, allocations: 133.3 kB / 0.5823 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.7717, allocations: 52.48 kB / 0.5823 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.7727, allocations: 385.7 kB / 0.5827 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.7731, allocations: 0.7061 MB / 0.5834 GB, free: 9.301 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.7733, allocations: 35.34 kB / 0.5834 GB, free: 9.293 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.7733, allocations: 6.094 kB / 0.5834 GB, free: 9.289 MB / 462.1 MB Notification: Performance of Templates: time 0.005453/0.7787, allocations: 2.919 MB / 0.5863 GB, free: 7.992 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.730279048904777]