Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.002532/0.002532, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 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.001974/0.001974, allocations: 164.5 kB / 25.03 MB, free: 8.398 MB / 18.57 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.384/1.384, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 250.4 MB, free: 7.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.567e-05, allocations: 6.25 kB / 250.4 MB, free: 7.656 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.393/0.3931, allocations: 168.9 MB / 419.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004334/0.3974, allocations: 3.915 MB / 423.2 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.3976, allocations: 13.16 kB / 423.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000741/0.3984, allocations: 225.1 kB / 423.4 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006068/0.399, allocations: 381.8 kB / 423.8 MB, free: 5.113 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.4003, allocations: 0.5628 MB / 424.4 MB, free: 4.766 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009153/0.4012, allocations: 1.101 MB / 425.5 MB, free: 4.195 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.4015, allocations: 175.3 kB / 425.6 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.4045, allocations: 1.474 MB / 427.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.405, allocations: 394.1 kB / 427.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.4051, allocations: 65.75 kB / 427.6 MB, free: 3.129 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4063, allocations: 448 kB / 428 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.4066, allocations: 462.2 kB / 428.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.4071, allocations: 389.1 kB / 428.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.4087, allocations: 1.625 MB / 430.5 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4087, allocations: 3.938 kB / 430.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4087, allocations: 0 / 430.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4088, allocations: 4 kB / 430.5 MB, free: 1.531 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001727/0.4105, allocations: 1.157 MB / 431.6 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4105, allocations: 12.58 kB / 431.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008032/0.4113, allocations: 241.9 kB / 431.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/0.4121, allocations: 411.6 kB / 432.3 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.4121, allocations: 51.31 kB / 432.3 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.4123, allocations: 77.59 kB / 432.4 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.4138, allocations: 1.164 MB / 433.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.4138, allocations: 6.359 kB / 433.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.773e-05/0.4139, allocations: 35.52 kB / 433.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/0.414, allocations: 49.39 kB / 433.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.4149, allocations: 449.4 kB / 434.1 MB, free: 14.69 MB / 346.7 MB 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.005671/0.4206, allocations: 2.156 MB / 436.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008592/0.4215, allocations: 410.8 kB / 436.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.4219, allocations: 217 kB / 436.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.4219, allocations: 20.48 kB / 436.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.422, allocations: 45.89 kB / 436.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 3.086e-06/0.422, allocations: 0 / 436.9 MB, free: 11.82 MB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01238/0.4344, allocations: 3.382 MB / 440.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.4344, allocations: 60.06 kB / 440.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.4349, allocations: 384.2 kB / 440.7 MB, free: 7.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/0.435, allocations: 41.7 kB / 440.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.4353, allocations: 355.5 kB / 441.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.4357, allocations: 284.3 kB / 441.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/0.4361, allocations: 172.2 kB / 441.6 MB, free: 7.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004539/0.4365, allocations: 0.5625 MB / 442.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.4373, allocations: 229.9 kB / 442.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009132/0.4382, allocations: 348.4 kB / 442.7 MB, free: 5.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.44, allocations: 0.6138 MB / 443.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.44, allocations: 0 / 443.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002901/0.4429, allocations: 0.8463 MB / 444.2 MB, free: 4.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4429, allocations: 8 kB / 444.2 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4429, allocations: 0 / 444.2 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008124/0.4437, allocations: 205.3 kB / 444.4 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.4453, allocations: 183.8 kB / 444.5 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.4616, allocations: 13.17 MB / 457.7 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009405/0.4625, allocations: 20 kB / 457.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.4627, allocations: 43.98 kB / 457.8 MB, free: 5.797 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001245/0.464, allocations: 224.4 kB / 458 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.4643, allocations: 71.7 kB / 458.1 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.4675, allocations: 0.9012 MB / 459 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.4675, allocations: 8 kB / 459 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.4675, allocations: 4 kB / 459 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002714/0.4702, allocations: 1.265 MB / 460.3 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005641/0.4759, allocations: 1.701 MB / 462 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.4759, allocations: 0 / 462 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.4775, allocations: 219.7 kB / 462.2 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003235/0.4779, allocations: 51.66 kB / 462.2 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.478, allocations: 43.91 kB / 462.3 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.4803, allocations: 1.845 MB / 464.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.4803, allocations: 4.125 kB / 464.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.4832, allocations: 1.175 MB / 465.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.4835, allocations: 51.64 kB / 465.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4836, allocations: 27.98 kB / 465.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/0.4844, allocations: 39.97 kB / 465.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.4845, allocations: 64.42 kB / 465.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.4847, allocations: 55.95 kB / 465.5 MB, free: 13.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.485, allocations: 253.1 kB / 465.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.485, allocations: 4 kB / 465.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001619/0.4867, allocations: 335.7 kB / 466.1 MB, free: 13.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 76 * 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): 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.001684/0.4883, allocations: 0.4909 MB / 466.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003453/0.4918, allocations: 1.832 MB / 468.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.4918, allocations: 0 / 468.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.493, allocations: 0.5336 MB / 469 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.4952, allocations: 375.4 kB / 469.3 MB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.5, allocations: 1.762 MB / 471.1 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/0.5007, allocations: 364.1 kB / 471.4 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0011/0.5018, allocations: 204.5 kB / 471.6 MB, free: 7.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.5021, allocations: 80.47 kB / 471.7 MB, free: 7.23 MB / 378.7 MB Notification: Performance of SimCode: time 3.807e-06/0.5021, allocations: 0 / 471.7 MB, free: 7.23 MB / 378.7 MB Notification: Performance of Templates: time 0.04944/0.5515, allocations: 22.99 MB / 494.7 MB, free: 236 kB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.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: 6.209292243933305]