Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.0008287/0.0008287, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003313/0.003313, allocations: 165.6 kB / 24.7 MB, free: 8.887 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.8422/0.8422, allocations: 158.6 MB / 186.5 MB, free: 3.035 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 298.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.766e-05, allocations: 2.281 kB / 298.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.243/0.243, allocations: 149.3 MB / 447.8 MB, free: 8.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.2457, allocations: 2.941 MB / 450.8 MB, free: 6.023 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2458, allocations: 7.938 kB / 450.8 MB, free: 6.016 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.2463, allocations: 166.9 kB / 450.9 MB, free: 5.852 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005791/0.2469, allocations: 417.3 kB / 451.3 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.2474, allocations: 370.3 kB / 451.7 MB, free: 5.082 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.248, allocations: 0.8988 MB / 452.6 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2481, allocations: 68.88 kB / 452.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.2492, allocations: 0.9382 MB / 453.6 MB, free: 3.172 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.2495, allocations: 251.2 kB / 453.9 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.2495, allocations: 28 kB / 453.9 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2497, allocations: 123.8 kB / 454 MB, free: 2.777 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.2498, allocations: 106.1 kB / 454.1 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2499, allocations: 135.8 kB / 454.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.2503, allocations: 0.5454 MB / 454.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2503, allocations: 0 / 454.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2503, allocations: 0 / 454.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2503, allocations: 0 / 454.8 MB, free: 1.996 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006062/0.2509, allocations: 0.5206 MB / 455.3 MB, free: 1.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.251, allocations: 19.98 kB / 455.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/0.251, allocations: 58.55 kB / 455.4 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2512, allocations: 43.8 kB / 455.4 MB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.2515, allocations: 233.2 kB / 455.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2516, allocations: 20.5 kB / 455.7 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.2516, allocations: 24 kB / 455.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.252, allocations: 0.5335 MB / 456.2 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.252, allocations: 4 kB / 456.2 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.2521, allocations: 12 kB / 456.2 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2521, allocations: 11.94 kB / 456.3 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.2523, allocations: 205.8 kB / 456.5 MB, free: 180 kB / 410.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.1313/0.3836, allocations: 1.179 MB / 457.6 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.3838, allocations: 163.8 kB / 457.8 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.384, allocations: 85.66 kB / 457.9 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.384, allocations: 5.719 kB / 457.9 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.384, allocations: 40.5 kB / 457.9 MB, free: 142.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.144e-06/0.384, allocations: 1.562 kB / 457.9 MB, free: 142.2 MB / 410.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=27): time 0.003212/0.3872, allocations: 1.324 MB / 459.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.3873, allocations: 62.7 kB / 459.3 MB, free: 141.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.3875, allocations: 259.9 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3875, allocations: 31.23 kB / 459.6 MB, free: 141.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.3875, allocations: 179 kB / 459.8 MB, free: 141.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.3876, allocations: 98.83 kB / 459.9 MB, free: 141.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.3877, allocations: 84.08 kB / 460 MB, free: 141.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.3877, allocations: 337 kB / 460.3 MB, free: 140.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3878, allocations: 90.2 kB / 460.4 MB, free: 140.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.388, allocations: 189.6 kB / 460.6 MB, free: 140.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.3882, allocations: 302.5 kB / 460.8 MB, free: 140.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3882, allocations: 1.375 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004143/0.3887, allocations: 404.1 kB / 461.2 MB, free: 140.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3887, allocations: 6.625 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3887, allocations: 3.719 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.3889, allocations: 74.3 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.3891, allocations: 84.05 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006822/0.3898, allocations: 1.849 MB / 463.3 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3899, allocations: 13.95 kB / 463.3 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.3899, allocations: 37.42 kB / 463.3 MB, free: 138.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0001092/0.3901, allocations: 156.9 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.3901, allocations: 30.45 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.3907, allocations: 442.3 kB / 463.9 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3907, allocations: 3.031 kB / 463.9 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3907, allocations: 0 / 463.9 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002989/0.391, allocations: 0.5668 MB / 464.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.3916, allocations: 0.6711 MB / 465.2 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3916, allocations: 1.125 kB / 465.2 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3918, allocations: 73.61 kB / 465.2 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.274e-05/0.3918, allocations: 21.5 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3918, allocations: 14.78 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003713/0.3922, allocations: 1.274 MB / 466.5 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3922, allocations: 1.438 kB / 466.5 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.3926, allocations: 481 kB / 467 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.3927, allocations: 20.8 kB / 467 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3927, allocations: 7.375 kB / 467 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3928, allocations: 13.22 kB / 467.1 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.3928, allocations: 23.38 kB / 467.1 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.3929, allocations: 31.03 kB / 467.1 MB, free: 135.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.393, allocations: 190.2 kB / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.393, allocations: 0 / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.3934, allocations: 126.9 kB / 467.4 MB, free: 135.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.0007/0.3941, allocations: 1.053 MB / 468.5 MB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.3945, allocations: 369.4 kB / 468.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3945, allocations: 0 / 468.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.3947, allocations: 233.6 kB / 469.1 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.3952, allocations: 161.5 kB / 469.2 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.3977, allocations: 3.139 MB / 472.4 MB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3979, allocations: 155 kB / 472.5 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.3981, allocations: 119.7 kB / 472.6 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.3983, allocations: 127 kB / 472.8 MB, free: 131.7 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3983, allocations: 0 / 472.8 MB, free: 131.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.4253, allocations: 12.96 MB / 485.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.286, allocations: 0 / 485.7 MB, free: 125.6 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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: 9.86586881801486]