Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00123/0.00123, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.00132/0.00132, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 63.89 kB / 373.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.0984, allocations: 53.32 MB / 426.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3502/0.4486, allocations: 152.6 MB / 0.5657 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.4519, allocations: 2.553 MB / 0.5682 GB, free: 5.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.452, allocations: 4 kB / 0.5682 GB, free: 5.488 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.4521, allocations: 27.83 kB / 0.5682 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009615/0.4531, allocations: 341.2 kB / 0.5686 GB, free: 5.129 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.4533, allocations: 67.66 kB / 0.5686 GB, free: 5.062 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.4535, allocations: 99.36 kB / 0.5687 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.4535, allocations: 7.984 kB / 0.5687 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4536, allocations: 35.86 kB / 0.5688 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.4537, allocations: 43.78 kB / 0.5688 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.4537, allocations: 4 kB / 0.5688 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007728/0.4545, allocations: 371.5 kB / 0.5692 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.4545, allocations: 11.98 kB / 0.5692 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.4546, allocations: 35.8 kB / 0.5692 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.4551, allocations: 323.5 kB / 0.5695 GB, free: 4.152 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4551, allocations: 2.062 kB / 0.5695 GB, free: 4.152 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4551, allocations: 0 / 0.5695 GB, free: 4.152 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4551, allocations: 0 / 0.5695 GB, free: 4.152 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.0009688/0.4561, allocations: 462.7 kB / 0.57 GB, free: 3.652 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4562, allocations: 12.03 kB / 0.57 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.4562, allocations: 34.75 kB / 0.57 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/0.462, allocations: 468.2 kB / 0.5704 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4622, allocations: 175.5 kB / 0.5706 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4622, allocations: 8 kB / 0.5706 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/0.4623, allocations: 4 kB / 0.5706 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.463, allocations: 311.4 kB / 0.5709 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4631, allocations: 0 / 0.5709 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.4631, allocations: 0 / 0.5709 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4631, allocations: 3.938 kB / 0.5709 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007807/0.4639, allocations: 284.4 kB / 0.5712 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.4642, allocations: 241.5 kB / 0.5714 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.4646, allocations: 146.7 kB / 0.5716 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.4648, allocations: 92.83 kB / 0.5717 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4648, allocations: 0 / 0.5717 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4649, allocations: 38.56 kB / 0.5717 GB, free: 1.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.4649, allocations: 0 / 0.5717 GB, free: 1.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002115/0.467, allocations: 0.581 MB / 0.5723 GB, free: 1.164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.467, allocations: 57.47 kB / 0.5723 GB, free: 1.098 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.4671, allocations: 109.8 kB / 0.5724 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.4671, allocations: 29.7 kB / 0.5724 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.4672, allocations: 84.58 kB / 0.5725 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.4673, allocations: 91.19 kB / 0.5726 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.4674, allocations: 41.7 kB / 0.5727 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4675, allocations: 322.8 kB / 0.573 GB, free: 408 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.4678, allocations: 103.9 kB / 0.5731 GB, free: 304 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.4681, allocations: 99.94 kB / 0.5732 GB, free: 204 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.4687, allocations: 225.2 kB / 0.5734 GB, free: 15.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4687, allocations: 4 kB / 0.5734 GB, free: 15.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006924/0.4694, allocations: 285.3 kB / 0.5736 GB, free: 15.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4694, allocations: 4 kB / 0.5737 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4694, allocations: 4 kB / 0.5737 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4694, allocations: 3.938 kB / 0.5737 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.4698, allocations: 59.89 kB / 0.5737 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4699, allocations: 1.406 kB / 0.5737 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.4701, allocations: 15.98 kB / 0.5737 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.4702, allocations: 11.98 kB / 0.5737 GB, free: 15.59 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.0001217/0.4703, allocations: 121.8 kB / 0.5739 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.4703, allocations: 15.89 kB / 0.5739 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009072/0.4712, allocations: 346.9 kB / 0.5742 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.4712, allocations: 11.88 kB / 0.5742 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4712, allocations: 0 / 0.5742 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4712, allocations: 3.984 kB / 0.5742 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.4728, allocations: 0.7255 MB / 0.5749 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4728, allocations: 0 / 0.5749 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.4732, allocations: 59.89 kB / 0.575 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.4732, allocations: 0 / 0.575 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.4733, allocations: 8 kB / 0.575 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.4733, allocations: 13.58 kB / 0.575 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4733, allocations: 0 / 0.575 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.4741, allocations: 416.3 kB / 0.5754 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.4741, allocations: 89.02 kB / 0.5755 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.4742, allocations: 4 kB / 0.5755 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.4745, allocations: 15.98 kB / 0.5755 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.4745, allocations: 31.91 kB / 0.5755 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.4745, allocations: 8 kB / 0.5755 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.4746, allocations: 92.91 kB / 0.5756 GB, free: 13.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4746, allocations: 0 / 0.5756 GB, free: 13.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.4749, allocations: 52 kB / 0.5757 GB, free: 13.48 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.001231/0.4762, allocations: 0.9666 MB / 0.5766 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006941/0.4769, allocations: 247.7 kB / 0.5769 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4769, allocations: 0 / 0.5769 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.4772, allocations: 127.8 kB / 0.577 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.4777, allocations: 58.8 kB / 0.577 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.4812, allocations: 2.121 MB / 0.5791 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.4815, allocations: 0.7047 MB / 0.5798 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.4818, allocations: 57.45 kB / 0.5799 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.482, allocations: 55.41 kB / 0.5799 GB, free: 8.977 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.482, allocations: 0 / 0.5799 GB, free: 8.977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.5099, allocations: 5.631 MB / 0.5854 GB, free: 3.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.672, allocations: 4 kB / 0.5854 GB, free: 3.434 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.010401937644929]