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.004961/0.004961, allocations: 110.4 kB / 21.96 MB, free: 5.254 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.001362/0.001362, allocations: 206.5 kB / 25.27 MB, free: 3.234 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.303/1.303, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"static"}) [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.001624/0.001624, allocations: 47.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 49.16 MB / 397.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1674/0.3985, allocations: 150.9 MB / 0.5352 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.4003, allocations: 1.538 MB / 0.5367 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.4003, allocations: 0 / 0.5367 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.4004, allocations: 31.88 kB / 0.5367 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007792/0.4012, allocations: 322.3 kB / 0.537 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.4014, allocations: 63.73 kB / 0.5371 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.4015, allocations: 75.59 kB / 0.5372 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.4015, allocations: 11.59 kB / 0.5372 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.4016, allocations: 35.8 kB / 0.5372 GB, free: 9.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.4017, allocations: 27.91 kB / 0.5372 GB, free: 9.766 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.4017, allocations: 0 / 0.5372 GB, free: 9.766 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006661/0.4024, allocations: 367.5 kB / 0.5376 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.4024, allocations: 11.92 kB / 0.5376 GB, free: 9.395 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.4024, allocations: 31.88 kB / 0.5376 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.4029, allocations: 288 kB / 0.5379 GB, free: 9.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4029, allocations: 0 / 0.5379 GB, free: 9.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4029, allocations: 0 / 0.5379 GB, free: 9.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.4029, allocations: 3.938 kB / 0.5379 GB, free: 9.082 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.0007852/0.4036, allocations: 361.7 kB / 0.5383 GB, free: 8.699 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4037, allocations: 19.98 kB / 0.5383 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.62e-05/0.4037, allocations: 192 / 0.5383 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.4037, allocations: 42.73 kB / 0.5383 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005852/0.4096, allocations: 456.2 kB / 0.5387 GB, free: 8.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.4097, allocations: 110.1 kB / 0.5389 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4097, allocations: 4 kB / 0.5389 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.4098, allocations: 8 kB / 0.5389 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.4106, allocations: 301.2 kB / 0.5392 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4106, allocations: 0 / 0.5392 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.4106, allocations: 0 / 0.5392 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4106, allocations: 7.984 kB / 0.5392 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.4115, allocations: 275.8 kB / 0.5394 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009986/0.4125, allocations: 395.8 kB / 0.5398 GB, free: 7.031 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009891/0.4134, allocations: 206.2 kB / 0.54 GB, free: 6.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.4136, allocations: 73 kB / 0.5401 GB, free: 6.746 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.4137, allocations: 8 kB / 0.5401 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4137, allocations: 30.56 kB / 0.5401 GB, free: 6.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.542e-06/0.4137, allocations: 0 / 0.5401 GB, free: 6.699 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001661/0.4154, allocations: 425 kB / 0.5405 GB, free: 6.277 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.4154, allocations: 59.39 kB / 0.5406 GB, free: 6.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.4155, allocations: 97.86 kB / 0.5407 GB, free: 6.102 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.4155, allocations: 33.7 kB / 0.5407 GB, free: 6.062 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.4156, allocations: 99.97 kB / 0.5408 GB, free: 5.961 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.4156, allocations: 59.48 kB / 0.5408 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.4157, allocations: 41.7 kB / 0.5409 GB, free: 5.855 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4159, allocations: 318.8 kB / 0.5412 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.4161, allocations: 75.94 kB / 0.5413 GB, free: 5.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.4164, allocations: 120.2 kB / 0.5414 GB, free: 5.328 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.417, allocations: 200.2 kB / 0.5416 GB, free: 5.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.417, allocations: 0 / 0.5416 GB, free: 5.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006687/0.4177, allocations: 249.4 kB / 0.5418 GB, free: 4.867 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4177, allocations: 8 kB / 0.5418 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4177, allocations: 0 / 0.5418 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4177, allocations: 4 kB / 0.5418 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.4181, allocations: 51.89 kB / 0.5419 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4181, allocations: 0 / 0.5419 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.4183, allocations: 15.98 kB / 0.5419 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.4183, allocations: 16.11 kB / 0.5419 GB, free: 4.773 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.0001147/0.4185, allocations: 125.7 kB / 0.542 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.4185, allocations: 11.95 kB / 0.542 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007973/0.4193, allocations: 270.4 kB / 0.5423 GB, free: 4.363 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4193, allocations: 4 kB / 0.5423 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4193, allocations: 4 kB / 0.5423 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4193, allocations: 3.984 kB / 0.5423 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.4206, allocations: 0.5535 MB / 0.5428 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4206, allocations: 0 / 0.5428 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.4209, allocations: 48.02 kB / 0.5429 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4209, allocations: 0 / 0.5429 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.4209, allocations: 11.98 kB / 0.5429 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4209, allocations: 7.938 kB / 0.5429 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4209, allocations: 0 / 0.5429 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.4216, allocations: 329.5 kB / 0.5432 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.4216, allocations: 7.953 kB / 0.5432 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.4217, allocations: 8 kB / 0.5432 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.4219, allocations: 11.92 kB / 0.5432 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.422, allocations: 27.91 kB / 0.5433 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.422, allocations: 8 kB / 0.5433 GB, free: 3.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.321e-05/0.422, allocations: 87.27 kB / 0.5434 GB, free: 3.184 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.422, allocations: 0 / 0.5434 GB, free: 3.184 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.4224, allocations: 43.94 kB / 0.5434 GB, free: 3.141 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.001074/0.4234, allocations: 0.8818 MB / 0.5443 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006118/0.424, allocations: 195.6 kB / 0.5444 GB, free: 2.035 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.424, allocations: 4.25 kB / 0.5445 GB, free: 2.031 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.4243, allocations: 103.9 kB / 0.5446 GB, free: 1.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.4248, allocations: 31.95 kB / 0.5446 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009491/0.4257, allocations: 320.5 kB / 0.5449 GB, free: 1.535 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.426, allocations: 0.6928 MB / 0.5456 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.4263, allocations: 52.75 kB / 0.5456 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.4264, allocations: 43.39 kB / 0.5457 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4264, allocations: 0 / 0.5457 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.451, allocations: 4.618 MB / 0.5502 GB, free: 12.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.96, allocations: 11.86 kB / 0.5502 GB, free: 12.04 MB / 478.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/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: 13.368899221008178]