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.0009672/0.0009672, allocations: 85.95 kB / 23 MB, free: 1.504 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.001528/0.001528, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.973/0.973, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.312e-06/1.312e-06, allocations: 0 / 252.3 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.568e-05, allocations: 2.312 kB / 252.3 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2535/0.2536, allocations: 142.9 MB / 395.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2547, allocations: 0.813 MB / 396 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.2549, allocations: 9.844 kB / 396 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.2553, allocations: 119 kB / 396.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.2558, allocations: 395.7 kB / 396.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.2566, allocations: 485.5 kB / 397 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007964/0.2574, allocations: 1.196 MB / 398.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.2575, allocations: 74.61 kB / 398.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.2594, allocations: 1.419 MB / 399.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.2598, allocations: 314.2 kB / 400 MB, free: 10 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.2598, allocations: 44.59 kB / 400.1 MB, free: 10 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.2603, allocations: 228 kB / 400.3 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.2604, allocations: 251.5 kB / 400.5 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.2606, allocations: 249.3 kB / 400.8 MB, free: 9.816 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.2613, allocations: 0.7201 MB / 401.5 MB, free: 9.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2613, allocations: 0 / 401.5 MB, free: 9.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2613, allocations: 0 / 401.5 MB, free: 9.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2613, allocations: 0 / 401.5 MB, free: 9.59 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.0007471/0.2621, allocations: 0.8359 MB / 402.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2621, allocations: 15.09 kB / 402.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/0.2626, allocations: 174.8 kB / 402.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.2629, allocations: 304.4 kB / 402.8 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.263, allocations: 24.91 kB / 402.8 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.263, allocations: 53.77 kB / 402.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.2635, allocations: 0.9585 MB / 403.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.2635, allocations: 3.938 kB / 403.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.2635, allocations: 22.12 kB / 403.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2635, allocations: 8.312 kB / 403.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.2637, allocations: 150.2 kB / 404 MB, free: 7.734 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.00164/0.2653, allocations: 1.515 MB / 405.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.2654, allocations: 106 kB / 405.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.2655, allocations: 48.83 kB / 405.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2655, allocations: 2.938 kB / 405.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.2655, allocations: 39.64 kB / 405.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.2655, allocations: 4 kB / 405.7 MB, free: 6.703 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.002747/0.2683, allocations: 1.11 MB / 406.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.473e-05/0.2683, allocations: 55.34 kB / 406.9 MB, free: 6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.2685, allocations: 477 kB / 407.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2685, allocations: 31.73 kB / 407.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2687, allocations: 391.2 kB / 407.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.2687, allocations: 94.06 kB / 407.9 MB, free: 5.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/0.2688, allocations: 132.6 kB / 408 MB, free: 5.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.2689, allocations: 0.5346 MB / 408.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.2689, allocations: 52.77 kB / 408.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2691, allocations: 0.4898 MB / 409.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2694, allocations: 0.5941 MB / 409.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.2694, allocations: 2.531 kB / 409.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004557/0.2698, allocations: 0.5026 MB / 410.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2698, allocations: 12.22 kB / 410.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2699, allocations: 14.67 kB / 410.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.27, allocations: 57.34 kB / 410.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.2702, allocations: 141.5 kB / 410.4 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006907/0.2709, allocations: 2.544 MB / 412.9 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.2711, allocations: 20.75 kB / 413 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.2712, allocations: 31.66 kB / 413 MB, free: 0.75 MB / 330.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 9.795e-05/0.2713, allocations: 202.8 kB / 413.2 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.2713, allocations: 51.75 kB / 413.2 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.2715, allocations: 232.5 kB / 413.5 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2716, allocations: 2.781 kB / 413.5 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2716, allocations: 0 / 413.5 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001951/0.2717, allocations: 484.2 kB / 413.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.2723, allocations: 0.5384 MB / 414.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2723, allocations: 0 / 414.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2724, allocations: 56.47 kB / 414.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.681e-05/0.2725, allocations: 17.2 kB / 414.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2725, allocations: 10.36 kB / 414.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006493/0.2731, allocations: 1.707 MB / 416.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2731, allocations: 2.844 kB / 416.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.2734, allocations: 383.1 kB / 416.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.2735, allocations: 34.8 kB / 416.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.2735, allocations: 7.297 kB / 416.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2736, allocations: 8.812 kB / 416.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.2737, allocations: 18 kB / 416.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.2737, allocations: 19.05 kB / 416.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.2738, allocations: 270.2 kB / 417 MB, free: 13.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2738, allocations: 0 / 417 MB, free: 13.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005201/0.2743, allocations: 197.7 kB / 417.2 MB, free: 13.38 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.0006903/0.275, allocations: 372.6 kB / 417.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.2754, allocations: 440.6 kB / 418 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2755, allocations: 2.906 kB / 418 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.2756, allocations: 236.6 kB / 418.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.2761, allocations: 195.9 kB / 418.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2772, allocations: 0.7427 MB / 419.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.022e-05/0.2773, allocations: 123 kB / 419.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003265/0.2776, allocations: 87.59 kB / 419.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.278, allocations: 238.2 kB / 419.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.278, allocations: 0 / 419.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of Templates: time 0.01482/0.2928, allocations: 13.03 MB / 432.6 MB, free: 2.168 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.3259709058329463]