Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.001291, allocations: 109.8 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2619/0.2619, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 63.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1615, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.581/0.7425, allocations: 183.2 MB / 0.6668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.7527, allocations: 6.972 MB / 0.6736 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.7538, allocations: 19.88 kB / 0.6737 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.7554, allocations: 429.6 kB / 0.6741 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005934/0.7614, allocations: 2.037 MB / 0.6761 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.7664, allocations: 1.683 MB / 0.6777 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002819/0.7692, allocations: 2.118 MB / 0.6798 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007968/0.77, allocations: 0.5362 MB / 0.6803 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004968/0.775, allocations: 1.896 MB / 0.6822 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.7783, allocations: 1.468 MB / 0.6836 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003106/0.7786, allocations: 76 kB / 0.6837 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.7835, allocations: 1.567 MB / 0.6852 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005212/0.7841, allocations: 450.8 kB / 0.6856 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008249/0.7849, allocations: 0.5486 MB / 0.6862 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.7885, allocations: 2.197 MB / 0.6883 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7885, allocations: 0 / 0.6883 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7885, allocations: 0 / 0.6883 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.7885, allocations: 0 / 0.6883 GB, free: 13.33 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002974/0.7915, allocations: 1.407 MB / 0.6897 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.7915, allocations: 19.84 kB / 0.6897 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.7929, allocations: 282.5 kB / 0.69 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.7939, allocations: 0.6364 MB / 0.6906 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.7941, allocations: 116.6 kB / 0.6907 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7942, allocations: 67.89 kB / 0.6908 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.7961, allocations: 1.263 MB / 0.692 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.7961, allocations: 3.984 kB / 0.692 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.7962, allocations: 35.98 kB / 0.692 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.32e-05/0.7963, allocations: 85.14 kB / 0.6921 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.7979, allocations: 1.047 MB / 0.6931 GB, free: 8.203 MB / 0.5294 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.006221/0.8041, allocations: 4.973 MB / 0.698 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.8046, allocations: 309.2 kB / 0.6983 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.8049, allocations: 140.8 kB / 0.6984 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.805, allocations: 139.1 kB / 0.6986 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.8051, allocations: 42.55 kB / 0.6986 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.8051, allocations: 0 / 0.6986 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.005843/0.8109, allocations: 1.812 MB / 0.7004 GB, free: 376 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.811, allocations: 132.5 kB / 0.7005 GB, free: 212 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.8121, allocations: 0.9427 MB / 0.7014 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.8121, allocations: 37.7 kB / 0.7014 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.8126, allocations: 0.5633 MB / 0.702 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.8127, allocations: 138.2 kB / 0.7021 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.813, allocations: 214.6 kB / 0.7023 GB, free: 14.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.8132, allocations: 402.7 kB / 0.7027 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.8136, allocations: 274.5 kB / 0.703 GB, free: 13.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009047/0.8145, allocations: 0.8639 MB / 0.7038 GB, free: 12.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.8159, allocations: 1.174 MB / 0.705 GB, free: 11.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.8159, allocations: 8 kB / 0.705 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001843/0.8177, allocations: 1.239 MB / 0.7062 GB, free: 9.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.8178, allocations: 12 kB / 0.7062 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.8178, allocations: 20 kB / 0.7062 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.819, allocations: 288.8 kB / 0.7065 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.8195, allocations: 199.7 kB / 0.7067 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.8206, allocations: 0.919 MB / 0.7076 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.8213, allocations: 44 kB / 0.7076 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.8214, allocations: 75.97 kB / 0.7077 GB, free: 8.176 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004284/0.8218, allocations: 345.2 kB / 0.708 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.8219, allocations: 94.91 kB / 0.7081 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/0.8228, allocations: 485.2 kB / 0.7086 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.8228, allocations: 4 kB / 0.7086 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8228, allocations: 4 kB / 0.7086 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8228, allocations: 0 / 0.7086 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.8244, allocations: 1.133 MB / 0.7097 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8244, allocations: 0 / 0.7097 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.8253, allocations: 175.8 kB / 0.7099 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.559e-05/0.8254, allocations: 24.84 kB / 0.7099 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.8255, allocations: 15.95 kB / 0.7099 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.8276, allocations: 2.873 MB / 0.7127 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8276, allocations: 0 / 0.7127 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.8286, allocations: 0.7001 MB / 0.7134 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.8289, allocations: 195.9 kB / 0.7136 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.829, allocations: 12.11 kB / 0.7136 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.8294, allocations: 24 kB / 0.7136 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.8294, allocations: 23.91 kB / 0.7136 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.8295, allocations: 19.98 kB / 0.7137 GB, free: 1.668 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007337/0.8302, allocations: 0.6282 MB / 0.7143 GB, free: 1.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8302, allocations: 0 / 0.7143 GB, free: 1.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00137/0.8316, allocations: 419.9 kB / 0.7147 GB, free: 0.6172 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.001818/0.8334, allocations: 0.7547 MB / 0.7154 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.8347, allocations: 0.6696 MB / 0.7161 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8347, allocations: 0.875 kB / 0.7161 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.8356, allocations: 371 kB / 0.7164 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.8373, allocations: 430.1 kB / 0.7168 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.8397, allocations: 1.595 MB / 0.7184 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.8403, allocations: 1.047 MB / 0.7194 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008146/0.8411, allocations: 308.7 kB / 0.7197 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.8413, allocations: 75.42 kB / 0.7198 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of SimCode: time 2.294e-06/0.8413, allocations: 0 / 0.7198 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.04005/0.8814, allocations: 22.89 MB / 0.7421 GB, free: 4.391 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches