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.001305/0.001305, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009724/0.0009724, allocations: 168.1 kB / 25.69 MB, free: 8.457 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.8309/0.8309, allocations: 158.6 MB / 187.6 MB, free: 2.766 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.183e-06/1.183e-06, allocations: 0 / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.139e-05, allocations: 2.312 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2294/0.2294, allocations: 145 MB / 396.6 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.2303, allocations: 0.8404 MB / 397.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2304, allocations: 5.438 kB / 397.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.2308, allocations: 126.1 kB / 397.6 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.2312, allocations: 391.8 kB / 398 MB, free: 9.051 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.2318, allocations: 485.5 kB / 398.4 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.2325, allocations: 1.196 MB / 399.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2326, allocations: 74.77 kB / 399.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.2342, allocations: 1.407 MB / 401.1 MB, free: 8.602 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.2344, allocations: 293.1 kB / 401.4 MB, free: 8.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.2345, allocations: 44.69 kB / 401.4 MB, free: 8.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.2348, allocations: 225.8 kB / 401.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.2349, allocations: 246.7 kB / 401.9 MB, free: 8.371 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.2351, allocations: 248.9 kB / 402.1 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.2357, allocations: 0.718 MB / 402.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2357, allocations: 3.984 kB / 402.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2357, allocations: 0 / 402.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2357, allocations: 4 kB / 402.9 MB, free: 8.09 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000648/0.2363, allocations: 0.6798 MB / 403.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.2363, allocations: 19 kB / 403.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.2367, allocations: 191.5 kB / 403.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.237, allocations: 265.2 kB / 404 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.237, allocations: 25.25 kB / 404 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.2371, allocations: 51.05 kB / 404.1 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.2375, allocations: 0.9618 MB / 405 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2375, allocations: 7.141 kB / 405 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.2375, allocations: 18.56 kB / 405.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2375, allocations: 8.188 kB / 405.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.2377, allocations: 139.7 kB / 405.2 MB, free: 6.402 MB / 330.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.001374/0.2391, allocations: 1.17 MB / 406.4 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.2392, allocations: 87.05 kB / 406.5 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.2392, allocations: 40.28 kB / 406.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2392, allocations: 9.531 kB / 406.5 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.2392, allocations: 36.59 kB / 406.6 MB, free: 5.668 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.2392, allocations: 0 / 406.6 MB, free: 5.668 MB / 330.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.002393/0.2416, allocations: 1.103 MB / 407.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/0.2417, allocations: 53.78 kB / 407.7 MB, free: 4.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2418, allocations: 382 kB / 408.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2418, allocations: 32.45 kB / 408.1 MB, free: 4.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.2419, allocations: 303.8 kB / 408.4 MB, free: 4.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.2419, allocations: 98.92 kB / 408.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.242, allocations: 115.5 kB / 408.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.2421, allocations: 351.8 kB / 409 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.2421, allocations: 59.53 kB / 409 MB, free: 4.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2422, allocations: 365.2 kB / 409.4 MB, free: 3.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.2425, allocations: 461.8 kB / 409.8 MB, free: 3.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.2425, allocations: 2.906 kB / 409.8 MB, free: 3.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003393/0.2428, allocations: 429.1 kB / 410.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2428, allocations: 8.5 kB / 410.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.2429, allocations: 10.66 kB / 410.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.243, allocations: 54.89 kB / 410.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.2432, allocations: 138.3 kB / 410.5 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.2535, allocations: 3.976 MB / 414.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.2537, allocations: 31.52 kB / 414.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.2537, allocations: 31.34 kB / 414.5 MB, free: 15.76 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.2538, allocations: 159.3 kB / 414.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.2539, allocations: 37.98 kB / 414.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.2541, allocations: 182.9 kB / 414.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2541, allocations: 3.031 kB / 414.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2541, allocations: 0 / 414.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004413/0.2545, allocations: 458.3 kB / 415.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.2549, allocations: 403.8 kB / 415.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2549, allocations: 0 / 415.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.255, allocations: 53.66 kB / 415.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.435e-05/0.2551, allocations: 20.73 kB / 415.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2551, allocations: 6.438 kB / 415.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004251/0.2555, allocations: 1.161 MB / 417 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2555, allocations: 0 / 417 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.2557, allocations: 280.3 kB / 417.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.2558, allocations: 30.92 kB / 417.3 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.2558, allocations: 10 kB / 417.3 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.2559, allocations: 13.73 kB / 417.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.2559, allocations: 17.41 kB / 417.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2559, allocations: 12.67 kB / 417.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.256, allocations: 142.3 kB / 417.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.256, allocations: 3.938 kB / 417.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.2564, allocations: 200.7 kB / 417.6 MB, free: 13.32 MB / 346.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.0005876/0.257, allocations: 353.7 kB / 418 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.2576, allocations: 468.9 kB / 418.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.723e-05/0.2576, allocations: 6.156 kB / 418.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.2578, allocations: 182.8 kB / 418.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.2583, allocations: 194.7 kB / 418.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2594, allocations: 0.7284 MB / 419.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.546e-05/0.2595, allocations: 125.9 kB / 419.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.2598, allocations: 87.33 kB / 419.8 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.2601, allocations: 184.1 kB / 419.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2601, allocations: 2.656 kB / 419.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of Templates: time 0.01426/0.2743, allocations: 12.98 MB / 432.9 MB, free: 1.031 MB / 346.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.073948664125055]