Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 173.4 MB / 201.1 MB, free: 12.62 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 42.66 kB / 319.4 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1158, allocations: 52.17 MB / 371.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3498/0.4656, allocations: 128.3 MB / 499.9 MB, free: 1.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.4678, allocations: 2.238 MB / 0.4903 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.4679, allocations: 2.531 kB / 0.4903 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.468, allocations: 20.69 kB / 0.4904 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009912/0.469, allocations: 326 kB / 0.4907 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.4692, allocations: 60.41 kB / 0.4907 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.4693, allocations: 78.33 kB / 0.4908 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.4694, allocations: 3.703 kB / 0.4908 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4695, allocations: 31.86 kB / 0.4908 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.4696, allocations: 25.5 kB / 0.4909 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.4696, allocations: 1.094 kB / 0.4909 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007352/0.4703, allocations: 347.7 kB / 0.4912 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.4703, allocations: 6.734 kB / 0.4912 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.4704, allocations: 26.2 kB / 0.4912 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.4709, allocations: 300.3 kB / 0.4915 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4709, allocations: 0.875 kB / 0.4915 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4709, allocations: 0 / 0.4915 GB, free: 1.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.4709, allocations: 0 / 0.4915 GB, free: 1.148 MB / 430.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.000783/0.4717, allocations: 360.8 kB / 0.4919 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.4717, allocations: 10.42 kB / 0.4919 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006643/0.4784, allocations: 482.7 kB / 0.4923 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.1e-05/0.4785, allocations: 119.9 kB / 0.4924 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4785, allocations: 2.75 kB / 0.4924 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.4786, allocations: 11.19 kB / 0.4925 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.4793, allocations: 304.9 kB / 0.4927 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4793, allocations: 1.375 kB / 0.4927 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.4793, allocations: 3.188 kB / 0.4927 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4793, allocations: 2.75 kB / 0.4927 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007785/0.4801, allocations: 268.3 kB / 0.493 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.481, allocations: 361.9 kB / 0.4934 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/0.482, allocations: 202 kB / 0.4935 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.4822, allocations: 60.95 kB / 0.4936 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.4822, allocations: 7.297 kB / 0.4936 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.4823, allocations: 35.78 kB / 0.4936 GB, free: 380 kB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.4823, allocations: 2.906 kB / 0.4936 GB, free: 380 kB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.00163/0.4839, allocations: 414.9 kB / 0.494 GB, free: 324 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.4839, allocations: 60.34 kB / 0.4941 GB, free: 256 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.484, allocations: 104.4 kB / 0.4942 GB, free: 156 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.484, allocations: 29.27 kB / 0.4942 GB, free: 124 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.484, allocations: 94.14 kB / 0.4943 GB, free: 28 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.4841, allocations: 61.44 kB / 0.4944 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.4842, allocations: 48.8 kB / 0.4944 GB, free: 15.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4843, allocations: 318.8 kB / 0.4947 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.4845, allocations: 78.47 kB / 0.4948 GB, free: 15.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.4848, allocations: 118.8 kB / 0.4949 GB, free: 15.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.4854, allocations: 207 kB / 0.4951 GB, free: 15.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4854, allocations: 0 / 0.4951 GB, free: 15.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006257/0.486, allocations: 239.1 kB / 0.4953 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.486, allocations: 6.719 kB / 0.4953 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.486, allocations: 10.59 kB / 0.4954 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.486, allocations: 2.406 kB / 0.4954 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.4864, allocations: 52.14 kB / 0.4954 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4864, allocations: 5.141 kB / 0.4954 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.4867, allocations: 15.03 kB / 0.4954 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.4867, allocations: 10.44 kB / 0.4954 GB, free: 15.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001205/0.4868, allocations: 123.5 kB / 0.4956 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.4869, allocations: 9.891 kB / 0.4956 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007679/0.4876, allocations: 280.4 kB / 0.4958 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4876, allocations: 2.688 kB / 0.4958 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4876, allocations: 0 / 0.4958 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4877, allocations: 5.359 kB / 0.4958 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.4889, allocations: 0.5052 MB / 0.4963 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4889, allocations: 6.188 kB / 0.4963 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.4892, allocations: 45.89 kB / 0.4964 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4892, allocations: 2.188 kB / 0.4964 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.4892, allocations: 8.609 kB / 0.4964 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4892, allocations: 2.719 kB / 0.4964 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4892, allocations: 0 / 0.4964 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/0.4899, allocations: 341.2 kB / 0.4967 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.4899, allocations: 6.703 kB / 0.4967 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.4899, allocations: 5.719 kB / 0.4967 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.4902, allocations: 10.94 kB / 0.4967 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.4903, allocations: 19.2 kB / 0.4968 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.4903, allocations: 15.16 kB / 0.4968 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.81e-05/0.4903, allocations: 81.31 kB / 0.4969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4903, allocations: 0 / 0.4969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000346/0.4907, allocations: 43.94 kB / 0.4969 GB, free: 14.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.0002144/0.4909, allocations: 124.6 kB / 0.497 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006118/0.4915, allocations: 192.6 kB / 0.4972 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4915, allocations: 0 / 0.4972 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.4918, allocations: 104.5 kB / 0.4973 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.4922, allocations: 37.41 kB / 0.4973 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.493, allocations: 278.2 kB / 0.4976 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.4931, allocations: 78.47 kB / 0.4977 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.4933, allocations: 56.94 kB / 0.4977 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.4935, allocations: 37.72 kB / 0.4978 GB, free: 14.45 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4935, allocations: 0 / 0.4978 GB, free: 14.45 MB / 446.1 MB Notification: Performance of Templates: time 0.006198/0.4997, allocations: 3.208 MB / 0.5009 GB, free: 14.15 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.638994800043292]