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.0009438/0.0009438, allocations: 79.75 kB / 22.45 MB, free: 2.09 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.0009654/0.0009654, allocations: 166.9 kB / 25.75 MB, free: 8.504 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.9804/0.9804, allocations: 158.6 MB / 187.5 MB, free: 2.91 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|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.[0-9,]+.|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.783e-06/1.783e-06, allocations: 0 / 251.2 MB, free: 7.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.742e-05, allocations: 2.312 kB / 251.2 MB, free: 7.727 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3068/0.3068, allocations: 168.9 MB / 420.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.3105, allocations: 3.907 MB / 424 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.3107, allocations: 9.531 kB / 424 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.3114, allocations: 232.3 kB / 424.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.3119, allocations: 389.8 kB / 424.6 MB, free: 4.973 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.313, allocations: 0.5561 MB / 425.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000828/0.3138, allocations: 1.104 MB / 426.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.3141, allocations: 175.8 kB / 426.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.3163, allocations: 1.471 MB / 427.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.3168, allocations: 386.8 kB / 428.3 MB, free: 3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.3169, allocations: 65.69 kB / 428.4 MB, free: 3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007168/0.3176, allocations: 441.6 kB / 428.8 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.3178, allocations: 468.3 kB / 429.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.3183, allocations: 388.7 kB / 429.6 MB, free: 2.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3194, allocations: 1.143 MB / 430.8 MB, free: 1.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3194, allocations: 2.219 kB / 430.8 MB, free: 1.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3194, allocations: 3.938 kB / 430.8 MB, free: 1.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.421e-05/0.3194, allocations: 0 / 430.8 MB, free: 1.82 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.001253/0.3207, allocations: 1.094 MB / 431.9 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3207, allocations: 14.92 kB / 431.9 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.3213, allocations: 240.9 kB / 432.1 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.3218, allocations: 418.7 kB / 432.5 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3218, allocations: 47 kB / 432.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.3219, allocations: 80.94 kB / 432.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/0.3228, allocations: 1.119 MB / 433.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3228, allocations: 7.938 kB / 433.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.3229, allocations: 32.78 kB / 433.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.3229, allocations: 44.11 kB / 433.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.3235, allocations: 340.7 kB / 434.2 MB, free: 15.32 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.002923/0.3264, allocations: 1.867 MB / 436.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.3269, allocations: 362.7 kB / 436.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.3271, allocations: 173 kB / 436.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.3271, allocations: 12.5 kB / 436.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/0.3272, allocations: 53.88 kB / 436.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 3.186e-06/0.3272, allocations: 3.938 kB / 436.6 MB, free: 12.87 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.006975/0.3342, allocations: 3.096 MB / 439.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.3342, allocations: 60.06 kB / 439.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.3345, allocations: 344.2 kB / 440.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.3345, allocations: 37.7 kB / 440.2 MB, free: 9.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3347, allocations: 347.5 kB / 440.5 MB, free: 8.871 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.3349, allocations: 270.7 kB / 440.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.335, allocations: 152.3 kB / 440.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3352, allocations: 0.5313 MB / 441.5 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.3355, allocations: 177.8 kB / 441.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.3358, allocations: 280.9 kB / 441.9 MB, free: 7.438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.3364, allocations: 492.6 kB / 442.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3364, allocations: 0 / 442.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001043/0.3375, allocations: 0.7486 MB / 443.1 MB, free: 6.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3375, allocations: 4 kB / 443.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3375, allocations: 0 / 443.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.3378, allocations: 177.3 kB / 443.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.3384, allocations: 191.9 kB / 443.5 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.3446, allocations: 12.99 MB / 456.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.345, allocations: 19.98 kB / 456.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.3451, allocations: 43.98 kB / 456.6 MB, free: 7.805 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.0003379/0.3454, allocations: 196.5 kB / 456.7 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.3455, allocations: 79.66 kB / 456.8 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.3466, allocations: 0.8035 MB / 457.6 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3466, allocations: 8 kB / 457.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3466, allocations: 0 / 457.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009463/0.3476, allocations: 1.179 MB / 458.8 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.3497, allocations: 1.498 MB / 460.3 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3497, allocations: 0 / 460.3 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.3503, allocations: 215.7 kB / 460.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.3505, allocations: 43.73 kB / 460.6 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.3505, allocations: 43.91 kB / 460.6 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008009/0.3513, allocations: 1.763 MB / 462.4 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3513, allocations: 0 / 462.4 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.3525, allocations: 1.009 MB / 463.4 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.3526, allocations: 47.75 kB / 463.4 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.3527, allocations: 23.98 kB / 463.4 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.353, allocations: 39.97 kB / 463.5 MB, free: 464 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.3531, allocations: 68.52 kB / 463.6 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.3532, allocations: 63.89 kB / 463.6 MB, free: 332 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.3533, allocations: 233.1 kB / 463.8 MB, free: 96 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3533, allocations: 0 / 463.8 MB, free: 96 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008815/0.3542, allocations: 331.7 kB / 464.2 MB, free: 15.77 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.0009683/0.3552, allocations: 0.5017 MB / 464.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.3566, allocations: 1.728 MB / 466.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3566, allocations: 3.859 kB / 466.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.3573, allocations: 494.7 kB / 466.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.3583, allocations: 372.8 kB / 467.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.361, allocations: 1.71 MB / 469 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3611, allocations: 208.2 kB / 469.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005167/0.3616, allocations: 204.5 kB / 469.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.3618, allocations: 88.47 kB / 469.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.395e-06/0.3618, allocations: 4 kB / 469.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of Templates: time 0.02588/0.3877, allocations: 23.03 MB / 492.5 MB, free: 3.262 MB / 394.7 MB " [Timeout remaining time 660] 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","",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.8779645210597664]