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.001729/0.001729, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002142/0.002142, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.377/1.377, allocations: 230.6 MB / 254.1 MB, free: 15.11 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: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 51.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09552, allocations: 53.33 MB / 426.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3428/0.4383, allocations: 152.6 MB / 0.5654 GB, free: 7.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.4413, allocations: 2.553 MB / 0.5679 GB, free: 5.191 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.4414, allocations: 0 / 0.5679 GB, free: 5.191 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.4415, allocations: 33.12 kB / 0.5679 GB, free: 5.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009248/0.4425, allocations: 338.3 kB / 0.5682 GB, free: 4.832 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.4427, allocations: 59.73 kB / 0.5683 GB, free: 4.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.4428, allocations: 107.3 kB / 0.5684 GB, free: 4.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.4428, allocations: 7.984 kB / 0.5684 GB, free: 4.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.443, allocations: 47.72 kB / 0.5684 GB, free: 4.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.443, allocations: 31.86 kB / 0.5685 GB, free: 4.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.443, allocations: 4 kB / 0.5685 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.4438, allocations: 371.5 kB / 0.5688 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.4438, allocations: 15.98 kB / 0.5688 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.4439, allocations: 31.81 kB / 0.5689 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.4445, allocations: 319.5 kB / 0.5692 GB, free: 3.859 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4445, allocations: 3.984 kB / 0.5692 GB, free: 3.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4445, allocations: 0 / 0.5692 GB, free: 3.855 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.4445, allocations: 0.75 kB / 0.5692 GB, free: 3.855 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.0009729/0.4454, allocations: 470.6 kB / 0.5696 GB, free: 3.348 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4455, allocations: 8.031 kB / 0.5696 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.4455, allocations: 38.75 kB / 0.5697 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006526/0.4521, allocations: 464.2 kB / 0.5701 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.4522, allocations: 175.5 kB / 0.5703 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4522, allocations: 4 kB / 0.5703 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.751e-05/0.4523, allocations: 8 kB / 0.5703 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.4532, allocations: 303.1 kB / 0.5706 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4532, allocations: 4 kB / 0.5706 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.4532, allocations: 7.938 kB / 0.5706 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4532, allocations: 0 / 0.5706 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.4541, allocations: 276.4 kB / 0.5709 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.4545, allocations: 249.5 kB / 0.5711 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.4549, allocations: 150.7 kB / 0.5712 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.4552, allocations: 84.81 kB / 0.5713 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.4552, allocations: 3.984 kB / 0.5713 GB, free: 1.496 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4552, allocations: 34.56 kB / 0.5714 GB, free: 1.453 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.4552, allocations: 0 / 0.5714 GB, free: 1.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002278/0.4575, allocations: 0.5771 MB / 0.5719 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.4576, allocations: 55.41 kB / 0.572 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.4576, allocations: 113.4 kB / 0.5721 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.4577, allocations: 29.7 kB / 0.5721 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.4577, allocations: 92.56 kB / 0.5722 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.4578, allocations: 79.27 kB / 0.5723 GB, free: 492 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.4579, allocations: 41.7 kB / 0.5723 GB, free: 444 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4581, allocations: 326.8 kB / 0.5726 GB, free: 108 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.4584, allocations: 99.92 kB / 0.5727 GB, free: 8 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.4587, allocations: 107.1 kB / 0.5728 GB, free: 15.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.4593, allocations: 224.6 kB / 0.573 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4593, allocations: 0 / 0.573 GB, free: 15.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007681/0.4601, allocations: 284.2 kB / 0.5733 GB, free: 15.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4601, allocations: 10.64 kB / 0.5733 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4601, allocations: 0 / 0.5733 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4602, allocations: 7.938 kB / 0.5733 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.4606, allocations: 59.88 kB / 0.5734 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4606, allocations: 8 kB / 0.5734 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.4609, allocations: 11.98 kB / 0.5734 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.4609, allocations: 8 kB / 0.5734 GB, free: 15.3 MB / 494.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.0001298/0.4611, allocations: 129.7 kB / 0.5735 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.4611, allocations: 11.95 kB / 0.5735 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009778/0.4621, allocations: 345 kB / 0.5739 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4621, allocations: 11.94 kB / 0.5739 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4621, allocations: 0 / 0.5739 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4621, allocations: 3.984 kB / 0.5739 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.4637, allocations: 0.7238 MB / 0.5746 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4637, allocations: 5.625 kB / 0.5746 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.4641, allocations: 59.89 kB / 0.5747 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.4641, allocations: 4 kB / 0.5747 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.4641, allocations: 4 kB / 0.5747 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4642, allocations: 4.156 kB / 0.5747 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4642, allocations: 4 kB / 0.5747 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.465, allocations: 423.6 kB / 0.5751 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.4651, allocations: 93.02 kB / 0.5752 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.4651, allocations: 4 kB / 0.5752 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4654, allocations: 15.98 kB / 0.5752 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.4655, allocations: 27.91 kB / 0.5752 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.4655, allocations: 12 kB / 0.5752 GB, free: 13.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.4656, allocations: 87.27 kB / 0.5753 GB, free: 13.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4656, allocations: 0 / 0.5753 GB, free: 13.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.4659, allocations: 56 kB / 0.5754 GB, free: 13.18 MB / 494.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.001269/0.4672, allocations: 0.9687 MB / 0.5763 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007447/0.4679, allocations: 239.7 kB / 0.5765 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4679, allocations: 0 / 0.5765 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.4683, allocations: 127.8 kB / 0.5767 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.4688, allocations: 59.27 kB / 0.5767 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.4724, allocations: 2.105 MB / 0.5788 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4727, allocations: 0.7086 MB / 0.5795 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000274/0.473, allocations: 62.12 kB / 0.5795 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.4732, allocations: 55.41 kB / 0.5796 GB, free: 8.688 MB / 494.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4732, allocations: 3.938 kB / 0.5796 GB, free: 8.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.5023, allocations: 5.614 MB / 0.5851 GB, free: 3.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.29, allocations: 4.375 kB / 0.5851 GB, free: 3.176 MB / 494.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] 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: 10.56169045320712]