Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.001905/0.001905, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002097/0.002097, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.552/1.552, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 75.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3641, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2076/0.5717, allocations: 156.4 MB / 0.7134 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009892/0.5816, allocations: 5.966 MB / 0.7192 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.5827, allocations: 27.75 kB / 0.7193 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.5844, allocations: 409.7 kB / 0.7197 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005315/0.5897, allocations: 1.796 MB / 0.7214 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.594, allocations: 1.539 MB / 0.7229 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003339/0.5973, allocations: 2.258 MB / 0.7251 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.5986, allocations: 0.5864 MB / 0.7257 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.6027, allocations: 1.842 MB / 0.7275 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/0.606, allocations: 1.648 MB / 0.7291 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.6064, allocations: 100 kB / 0.7292 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.6095, allocations: 1.177 MB / 0.7303 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009382/0.6105, allocations: 0.6974 MB / 0.731 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.6122, allocations: 0.6423 MB / 0.7317 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.6174, allocations: 2.629 MB / 0.7342 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6174, allocations: 4 kB / 0.7342 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6174, allocations: 0 / 0.7342 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.673e-05/0.6175, allocations: 0 / 0.7342 GB, free: 1.719 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004925/0.6224, allocations: 1.669 MB / 0.7359 GB, free: 12 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6225, allocations: 8.031 kB / 0.7359 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3005/0.9229, allocations: 168.9 kB / 0.736 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.9249, allocations: 325.2 kB / 0.7363 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.9269, allocations: 0.7245 MB / 0.737 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.9271, allocations: 188.3 kB / 0.7372 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.9274, allocations: 107.7 kB / 0.7373 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/0.9305, allocations: 2.555 MB / 0.7398 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.9305, allocations: 0 / 0.7398 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.9306, allocations: 48.14 kB / 0.7399 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.466e-05/0.9307, allocations: 93.16 kB / 0.74 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.9329, allocations: 1.695 MB / 0.7416 GB, free: 172.6 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007158/0.9401, allocations: 5.051 MB / 0.7465 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.9411, allocations: 0.8492 MB / 0.7474 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.9416, allocations: 445.8 kB / 0.7478 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.9417, allocations: 20.48 kB / 0.7478 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.9418, allocations: 47.06 kB / 0.7479 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.9418, allocations: 0 / 0.7479 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.009314/0.9511, allocations: 4.061 MB / 0.7518 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.9511, allocations: 111.5 kB / 0.7519 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.9522, allocations: 1.126 MB / 0.753 GB, free: 161 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.98e-05/0.9523, allocations: 38.92 kB / 0.7531 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.9526, allocations: 0.5388 MB / 0.7536 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.9527, allocations: 276.7 kB / 0.7539 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.953, allocations: 206.6 kB / 0.7541 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.9531, allocations: 345.9 kB / 0.7544 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007027/0.9538, allocations: 0.5875 MB / 0.755 GB, free: 159 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/0.9546, allocations: 0.9223 MB / 0.7559 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.9561, allocations: 1.446 MB / 0.7573 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.9561, allocations: 7.938 kB / 0.7573 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002509/0.9586, allocations: 1.98 MB / 0.7592 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.9586, allocations: 8 kB / 0.7592 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.9586, allocations: 9.25 kB / 0.7592 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/0.9627, allocations: 1.353 MB / 0.7605 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.9633, allocations: 145.8 kB / 0.7607 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.9655, allocations: 1.919 MB / 0.7626 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009431/0.9665, allocations: 47.91 kB / 0.7626 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.9666, allocations: 63.98 kB / 0.7627 GB, free: 150.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0005823/0.9672, allocations: 401.4 kB / 0.7631 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.9674, allocations: 119.3 kB / 0.7632 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.9694, allocations: 1.498 MB / 0.7646 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.9694, allocations: 8 kB / 0.7646 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9695, allocations: 0 / 0.7646 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.9695, allocations: 4.859 kB / 0.7646 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.9729, allocations: 2.46 MB / 0.767 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.9729, allocations: 0 / 0.767 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.9745, allocations: 331.6 kB / 0.7674 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.9747, allocations: 68.75 kB / 0.7674 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.9747, allocations: 35.91 kB / 0.7675 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.9763, allocations: 2.828 MB / 0.7702 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9763, allocations: 0 / 0.7702 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.9786, allocations: 1.92 MB / 0.7721 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007366/0.9793, allocations: 255.4 kB / 0.7723 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.9795, allocations: 31.67 kB / 0.7724 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.9803, allocations: 51.89 kB / 0.7724 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.9805, allocations: 64.53 kB / 0.7725 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-05/0.9806, allocations: 59.95 kB / 0.7725 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007746/0.9814, allocations: 0.797 MB / 0.7733 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9814, allocations: 0 / 0.7733 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001101/0.9825, allocations: 483.5 kB / 0.7738 GB, free: 139.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * 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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003686/0.9861, allocations: 3.11 MB / 0.7768 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.9883, allocations: 1.411 MB / 0.7782 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.9883, allocations: 7.234 kB / 0.7782 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.9896, allocations: 0.839 MB / 0.779 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.9924, allocations: 0.767 MB / 0.7798 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/1.006, allocations: 12.91 MB / 0.7924 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/1.007, allocations: 0.5716 MB / 0.7929 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00127/1.008, allocations: 493.5 kB / 0.7934 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/1.008, allocations: 443.3 kB / 0.7938 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.008, allocations: 3.938 kB / 0.7938 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08532/1.094, allocations: 53.37 MB / 0.846 GB, free: 65.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.78, allocations: 3.938 kB / 0.846 GB, free: 65.46 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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: 20.257551736198366]