Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001188/0.001188, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001478/0.001478, allocations: 168.3 kB / 25.33 MB, free: 9.445 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 0.799/0.799, allocations: 158.6 MB / 187.2 MB, free: 2.559 MB / 170.7 MB " [Timeout remaining time 179] 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 251.1 MB, free: 3.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.221e-05, allocations: 2.312 kB / 251.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2205/0.2205, allocations: 145.7 MB / 396.8 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.2215, allocations: 0.8209 MB / 397.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.2216, allocations: 4 kB / 397.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.222, allocations: 123.2 kB / 397.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.2224, allocations: 397.7 kB / 398.1 MB, free: 5.016 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.2232, allocations: 482.7 kB / 398.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007954/0.224, allocations: 1.193 MB / 399.8 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.2241, allocations: 72.89 kB / 399.8 MB, free: 3.273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.2259, allocations: 1.422 MB / 401.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.2262, allocations: 311.1 kB / 401.6 MB, free: 1.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.2262, allocations: 44 kB / 401.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.2266, allocations: 227.5 kB / 401.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.2268, allocations: 255.4 kB / 402.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.2269, allocations: 247.5 kB / 402.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.2276, allocations: 0.7206 MB / 403 MB, free: 64 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2276, allocations: 0 / 403 MB, free: 64 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2276, allocations: 8 kB / 403.1 MB, free: 56 kB / 330.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2276, allocations: 0 / 403.1 MB, free: 56 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008727/0.2285, allocations: 0.8316 MB / 403.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2285, allocations: 8.031 kB / 403.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.2289, allocations: 196.2 kB / 404.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.2292, allocations: 311.3 kB / 404.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.2293, allocations: 29.31 kB / 404.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.2293, allocations: 48.38 kB / 404.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.2301, allocations: 0.9881 MB / 405.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2301, allocations: 3.938 kB / 405.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.2301, allocations: 16 kB / 405.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2301, allocations: 16 kB / 405.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.2304, allocations: 191.7 kB / 405.7 MB, free: 13.2 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.001864/0.2323, allocations: 1.575 MB / 407.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.2324, allocations: 116.1 kB / 407.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.2325, allocations: 59.66 kB / 407.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.2325, allocations: 4 kB / 407.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2325, allocations: 45.31 kB / 407.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.2325, allocations: 0 / 407.5 MB, free: 11.33 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.003303/0.2358, allocations: 1.274 MB / 408.7 MB, free: 9.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.2359, allocations: 55.41 kB / 408.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.2362, allocations: 482.3 kB / 409.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2362, allocations: 33.7 kB / 409.3 MB, free: 9.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.2363, allocations: 382 kB / 409.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.2364, allocations: 87.27 kB / 409.8 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2365, allocations: 139.8 kB / 409.9 MB, free: 8.781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2366, allocations: 0.5274 MB / 410.4 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.2367, allocations: 69.27 kB / 410.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.2369, allocations: 0.5017 MB / 411 MB, free: 7.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.2374, allocations: 0.61 MB / 411.6 MB, free: 6.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.2374, allocations: 4 kB / 411.6 MB, free: 6.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005252/0.2379, allocations: 0.5395 MB / 412.1 MB, free: 6.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2379, allocations: 8 kB / 412.2 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2379, allocations: 12 kB / 412.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.238, allocations: 59.34 kB / 412.2 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2383, allocations: 140.3 kB / 412.4 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000953/0.2392, allocations: 2.56 MB / 414.9 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.2394, allocations: 23.94 kB / 414.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.2395, allocations: 39.98 kB / 415 MB, free: 3.105 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2396, allocations: 208.5 kB / 415.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.2396, allocations: 54.69 kB / 415.2 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/0.2404, allocations: 240.6 kB / 415.5 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2404, allocations: 4 kB / 415.5 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.2404, allocations: 0 / 415.5 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00026/0.2406, allocations: 499.3 kB / 416 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.2411, allocations: 0.61 MB / 416.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2411, allocations: 4 kB / 416.6 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2413, allocations: 55.95 kB / 416.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.059e-05/0.2414, allocations: 23.61 kB / 416.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2414, allocations: 12 kB / 416.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005824/0.242, allocations: 1.716 MB / 418.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.242, allocations: 0 / 418.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.2423, allocations: 415 kB / 418.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.2423, allocations: 31.77 kB / 418.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.2423, allocations: 12.16 kB / 418.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2425, allocations: 15.98 kB / 418.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.2425, allocations: 11.97 kB / 418.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2425, allocations: 16 kB / 418.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.2427, allocations: 283 kB / 419.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2427, allocations: 0 / 419.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000437/0.2431, allocations: 199.7 kB / 419.3 MB, free: 14.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.0006254/0.2437, allocations: 374.7 kB / 419.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.2442, allocations: 460.5 kB / 420.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2442, allocations: 0 / 420.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.2443, allocations: 253.3 kB / 420.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.2448, allocations: 191 kB / 420.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2459, allocations: 0.7499 MB / 421.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.001e-05/0.2459, allocations: 121.3 kB / 421.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.2462, allocations: 124.3 kB / 421.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.2462, allocations: 52.48 kB / 421.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2462, allocations: 0 / 421.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of Templates: time 0.01343/0.2597, allocations: 12.73 MB / 434.4 MB, free: 15.3 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1528400238603354]