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.005063/0.005063, allocations: 99.59 kB / 21.96 MB, free: 5.211 MB / 14.72 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: 218 kB / 25.26 MB, free: 3.141 MB / 14.72 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 1.24/1.24, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 55.92 kB / 348 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2079, allocations: 49.15 MB / 397.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.1694/0.3774, allocations: 151.8 MB / 0.536 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.3815, allocations: 3.496 MB / 0.5395 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3817, allocations: 11.94 kB / 0.5395 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.3823, allocations: 222.7 kB / 0.5397 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.3829, allocations: 374.1 kB / 0.54 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3841, allocations: 0.5607 MB / 0.5406 GB, free: 6.184 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.3853, allocations: 1.111 MB / 0.5417 GB, free: 5.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.3855, allocations: 177.2 kB / 0.5418 GB, free: 4.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.3878, allocations: 1.31 MB / 0.5431 GB, free: 3.582 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.3883, allocations: 430.6 kB / 0.5435 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.3884, allocations: 68 kB / 0.5436 GB, free: 3.094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.3893, allocations: 443.1 kB / 0.544 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.3897, allocations: 450.9 kB / 0.5445 GB, free: 2.219 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.3901, allocations: 430.6 kB / 0.5449 GB, free: 1.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.3917, allocations: 1.554 MB / 0.5464 GB, free: 244 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3917, allocations: 0 / 0.5464 GB, free: 244 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3917, allocations: 0 / 0.5464 GB, free: 244 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.3917, allocations: 0 / 0.5464 GB, free: 244 kB / 462.1 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.001621/0.3933, allocations: 1.011 MB / 0.5474 GB, free: 15.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3934, allocations: 11.98 kB / 0.5474 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.505e-05/0.3934, allocations: 17.31 kB / 0.5474 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.3935, allocations: 122.5 kB / 0.5475 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/0.3942, allocations: 147.5 kB / 0.5477 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.3949, allocations: 435.1 kB / 0.5481 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.3949, allocations: 45.31 kB / 0.5481 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.395, allocations: 75.92 kB / 0.5482 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.3968, allocations: 1.554 MB / 0.5497 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.3968, allocations: 4 kB / 0.5497 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.572e-05/0.3969, allocations: 28 kB / 0.5497 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/0.3969, allocations: 41.98 kB / 0.5498 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.3982, allocations: 0.8745 MB / 0.5506 GB, free: 11.66 MB / 478.1 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.004567/0.4028, allocations: 2.25 MB / 0.5528 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000857/0.4036, allocations: 0.6074 MB / 0.5534 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.4041, allocations: 342 kB / 0.5537 GB, free: 8.414 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.4041, allocations: 16.48 kB / 0.5538 GB, free: 8.398 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4042, allocations: 43.06 kB / 0.5538 GB, free: 8.348 MB / 478.1 MB Notification: Performance of pre-optimization done (n=59): time 2.164e-06/0.4042, allocations: 0 / 0.5538 GB, free: 8.348 MB / 478.1 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.01391/0.4181, allocations: 4.878 MB / 0.5586 GB, free: 3.371 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.4181, allocations: 60.06 kB / 0.5586 GB, free: 3.297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.4188, allocations: 0.5409 MB / 0.5591 GB, free: 2.746 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.4188, allocations: 45.7 kB / 0.5592 GB, free: 2.695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.419, allocations: 285.1 kB / 0.5595 GB, free: 2.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.4193, allocations: 265.7 kB / 0.5597 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.4195, allocations: 150.6 kB / 0.5599 GB, free: 1.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4197, allocations: 366.8 kB / 0.5602 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/0.4203, allocations: 445.7 kB / 0.5606 GB, free: 1.191 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/0.421, allocations: 0.5193 MB / 0.5611 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1535/0.5746, allocations: 0.9635 MB / 0.5621 GB, free: 163.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5746, allocations: 0.5938 kB / 0.5621 GB, free: 163.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002261/0.5768, allocations: 1.343 MB / 0.5634 GB, free: 163.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5769, allocations: 7.547 kB / 0.5634 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5769, allocations: 4.375 kB / 0.5634 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.5775, allocations: 333.4 kB / 0.5637 GB, free: 163.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009349/0.5784, allocations: 179.2 kB / 0.5639 GB, free: 163.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005414/0.5838, allocations: 10.21 MB / 0.5739 GB, free: 153.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.5843, allocations: 22.97 kB / 0.5739 GB, free: 153.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/0.5844, allocations: 51 kB / 0.5739 GB, free: 153.7 MB / 478.1 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.0003688/0.5848, allocations: 280.5 kB / 0.5742 GB, free: 153.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.5849, allocations: 63.42 kB / 0.5743 GB, free: 153.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.5867, allocations: 1.28 MB / 0.5755 GB, free: 153 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.5867, allocations: 8.391 kB / 0.5755 GB, free: 153 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5867, allocations: 3.875 kB / 0.5755 GB, free: 153 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/0.5881, allocations: 1.606 MB / 0.5771 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.5909, allocations: 2.077 MB / 0.5791 GB, free: 150.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5909, allocations: 1.828 kB / 0.5791 GB, free: 150.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.592, allocations: 217.9 kB / 0.5793 GB, free: 150.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.5922, allocations: 69.86 kB / 0.5794 GB, free: 150.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-05/0.5922, allocations: 44.89 kB / 0.5794 GB, free: 150.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000789/0.593, allocations: 1.424 MB / 0.5808 GB, free: 149.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.593, allocations: 5.031 kB / 0.5808 GB, free: 149.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.595, allocations: 1.601 MB / 0.5824 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.5952, allocations: 73.14 kB / 0.5825 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.5953, allocations: 29.19 kB / 0.5825 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.5959, allocations: 34.08 kB / 0.5825 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.596, allocations: 67.33 kB / 0.5826 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.5961, allocations: 60.36 kB / 0.5827 GB, free: 148.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004007/0.5965, allocations: 406 kB / 0.583 GB, free: 148.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5965, allocations: 0 / 0.583 GB, free: 148.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009324/0.5975, allocations: 334 kB / 0.5834 GB, free: 148.4 MB / 478.1 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.003231/0.6007, allocations: 2.607 MB / 0.5859 GB, free: 147.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.6026, allocations: 1.827 MB / 0.5877 GB, free: 146 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6026, allocations: 1.375 kB / 0.5877 GB, free: 146 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.6034, allocations: 0.6612 MB / 0.5883 GB, free: 145.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.6053, allocations: 0.5117 MB / 0.5888 GB, free: 145.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00853/0.6138, allocations: 8.762 MB / 0.5974 GB, free: 138.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.6141, allocations: 380.6 kB / 0.5978 GB, free: 138.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007287/0.6148, allocations: 277.7 kB / 0.598 GB, free: 138.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/0.6151, allocations: 275.3 kB / 0.5983 GB, free: 138 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6151, allocations: 0 / 0.5983 GB, free: 138 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0595/0.6746, allocations: 36.47 MB / 0.6339 GB, free: 101.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.18, allocations: 11.86 kB / 0.6339 GB, free: 101.3 MB / 478.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.539795777993277]