Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001886/0.001886, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002593/0.002593, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 59.05 kB / 347.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3053, allocations: 49.16 MB / 396.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1826/0.488, allocations: 150.9 MB / 0.5349 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.4899, allocations: 1.542 MB / 0.5364 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.4899, allocations: 4 kB / 0.5364 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.4901, allocations: 27.83 kB / 0.5364 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009626/0.4911, allocations: 326 kB / 0.5368 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.4913, allocations: 59.69 kB / 0.5368 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.4914, allocations: 79.59 kB / 0.5369 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.4914, allocations: 4 kB / 0.5369 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.4915, allocations: 31.86 kB / 0.5369 GB, free: 9.879 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.4916, allocations: 27.86 kB / 0.5369 GB, free: 9.852 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.4916, allocations: 3.984 kB / 0.5369 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.4924, allocations: 367.5 kB / 0.5373 GB, free: 9.488 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.4924, allocations: 4 kB / 0.5373 GB, free: 9.484 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.4925, allocations: 31.86 kB / 0.5373 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.493, allocations: 301.2 kB / 0.5376 GB, free: 9.164 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.493, allocations: 0 / 0.5376 GB, free: 9.164 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.493, allocations: 4 kB / 0.5376 GB, free: 9.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.493, allocations: 0 / 0.5376 GB, free: 9.16 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.0008797/0.4939, allocations: 365.7 kB / 0.538 GB, free: 8.773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4939, allocations: 11.98 kB / 0.538 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006402/0.5003, allocations: 456.2 kB / 0.5384 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.5004, allocations: 114.5 kB / 0.5385 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.5005, allocations: 7.875 kB / 0.5385 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.558e-05/0.5005, allocations: 12 kB / 0.5385 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.5013, allocations: 293.2 kB / 0.5388 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5013, allocations: 0 / 0.5388 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.5014, allocations: 8 kB / 0.5388 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5014, allocations: 4 kB / 0.5388 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.5022, allocations: 275.8 kB / 0.5391 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.5033, allocations: 395.8 kB / 0.5395 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5044, allocations: 202.3 kB / 0.5397 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.5046, allocations: 65.06 kB / 0.5397 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.5046, allocations: 4 kB / 0.5397 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.5047, allocations: 38.55 kB / 0.5398 GB, free: 6.832 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.5047, allocations: 4 kB / 0.5398 GB, free: 6.828 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001828/0.5065, allocations: 421.1 kB / 0.5402 GB, free: 6.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.5065, allocations: 51.41 kB / 0.5402 GB, free: 6.348 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.5066, allocations: 105.8 kB / 0.5403 GB, free: 6.234 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.5067, allocations: 29.7 kB / 0.5404 GB, free: 6.199 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.5067, allocations: 95.98 kB / 0.5405 GB, free: 6.102 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.5068, allocations: 63.47 kB / 0.5405 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5069, allocations: 41.69 kB / 0.5406 GB, free: 5.992 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5071, allocations: 318.8 kB / 0.5409 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.5073, allocations: 83.94 kB / 0.5409 GB, free: 5.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.5077, allocations: 112.2 kB / 0.541 GB, free: 5.465 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/0.5082, allocations: 208.2 kB / 0.5412 GB, free: 5.246 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5082, allocations: 3.938 kB / 0.5412 GB, free: 5.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006937/0.5089, allocations: 241.5 kB / 0.5415 GB, free: 5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5089, allocations: 4 kB / 0.5415 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.509, allocations: 3.984 kB / 0.5415 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.509, allocations: 4 kB / 0.5415 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.5094, allocations: 52.03 kB / 0.5415 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5094, allocations: 3.984 kB / 0.5415 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.5096, allocations: 15.98 kB / 0.5416 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.5097, allocations: 12 kB / 0.5416 GB, free: 4.906 MB / 462.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.0001224/0.5098, allocations: 125.7 kB / 0.5417 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.5098, allocations: 7.953 kB / 0.5417 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008243/0.5107, allocations: 278 kB / 0.542 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5107, allocations: 4 kB / 0.542 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5107, allocations: 0 / 0.542 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5107, allocations: 0 / 0.542 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.512, allocations: 0.5535 MB / 0.5425 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.512, allocations: 0 / 0.5425 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.5124, allocations: 43.95 kB / 0.5425 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.5124, allocations: 3.938 kB / 0.5425 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.5124, allocations: 8 kB / 0.5426 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-06/0.5124, allocations: 15.88 kB / 0.5426 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5124, allocations: 8 kB / 0.5426 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.5131, allocations: 333.8 kB / 0.5429 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.5132, allocations: 3.953 kB / 0.5429 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.5132, allocations: 4 kB / 0.5429 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.5135, allocations: 15.98 kB / 0.5429 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.5135, allocations: 15.91 kB / 0.5429 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.5136, allocations: 12 kB / 0.5429 GB, free: 3.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.5136, allocations: 79.28 kB / 0.543 GB, free: 3.324 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5136, allocations: 0 / 0.543 GB, free: 3.324 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.514, allocations: 47.98 kB / 0.5431 GB, free: 3.277 MB / 462.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.0002208/0.5142, allocations: 123.1 kB / 0.5432 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006593/0.5148, allocations: 195.9 kB / 0.5434 GB, free: 2.957 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5148, allocations: 0 / 0.5434 GB, free: 2.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.5151, allocations: 95.81 kB / 0.5435 GB, free: 2.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.5156, allocations: 40.33 kB / 0.5435 GB, free: 2.824 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.5164, allocations: 282.6 kB / 0.5438 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.5168, allocations: 0.6928 MB / 0.5444 GB, free: 1.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.5171, allocations: 56.75 kB / 0.5445 GB, free: 1.734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.5172, allocations: 35.41 kB / 0.5445 GB, free: 1.699 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5172, allocations: 0 / 0.5445 GB, free: 1.699 MB / 462.1 MB Notification: Performance of Templates: time 0.007304/0.5245, allocations: 3.179 MB / 0.5476 GB, free: 14.52 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.972005479037762]