Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.005458/0.005458, allocations: 114 kB / 21.97 MB, free: 5.227 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.001581/0.001581, allocations: 212.3 kB / 25.28 MB, free: 3.25 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.268/1.268, allocations: 207.6 MB / 236.1 MB, free: 9.98 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.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.001613/0.001613, allocations: 55.92 kB / 348 MB, free: 9.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2221, allocations: 49.15 MB / 397.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.1926/0.4146, allocations: 173.5 MB / 0.5573 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.4186, allocations: 3.256 MB / 0.5605 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.4188, allocations: 7.938 kB / 0.5605 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.4193, allocations: 178.9 kB / 0.5607 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007828/0.4201, allocations: 413.5 kB / 0.561 GB, free: 1.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008303/0.4209, allocations: 355.2 kB / 0.5614 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009528/0.4218, allocations: 0.9148 MB / 0.5623 GB, free: 56 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2071/0.629, allocations: 72.5 kB / 0.5623 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.631, allocations: 0.8001 MB / 0.5631 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.6314, allocations: 287.5 kB / 0.5634 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.6314, allocations: 33.23 kB / 0.5634 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.6317, allocations: 125 kB / 0.5636 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.6318, allocations: 98.44 kB / 0.5636 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.632, allocations: 188.6 kB / 0.5638 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006039/0.6326, allocations: 0.518 MB / 0.5643 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6326, allocations: 0.5938 kB / 0.5643 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6326, allocations: 0 / 0.5643 GB, free: 2.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.6327, allocations: 3.141 kB / 0.5643 GB, free: 2.289 MB / 478.1 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.0008027/0.6335, allocations: 0.5195 MB / 0.5648 GB, free: 17.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6335, allocations: 14.45 kB / 0.5649 GB, free: 17.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.003e-05/0.6335, allocations: 6.344 kB / 0.5649 GB, free: 17.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.6336, allocations: 62.09 kB / 0.5649 GB, free: 17.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.6338, allocations: 44.31 kB / 0.565 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.6342, allocations: 231.4 kB / 0.5652 GB, free: 17.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.6342, allocations: 18.31 kB / 0.5652 GB, free: 17.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.6343, allocations: 28.36 kB / 0.5652 GB, free: 17.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.6347, allocations: 319.7 kB / 0.5655 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.6347, allocations: 5 kB / 0.5655 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.6348, allocations: 10.69 kB / 0.5656 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.6348, allocations: 8.25 kB / 0.5656 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.6351, allocations: 206.2 kB / 0.5658 GB, free: 17.63 MB / 494.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.00172/0.6368, allocations: 1.556 MB / 0.5673 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.6371, allocations: 162.8 kB / 0.5674 GB, free: 16.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.6372, allocations: 91.22 kB / 0.5675 GB, free: 16.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.6373, allocations: 9.938 kB / 0.5675 GB, free: 16.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.6373, allocations: 37.98 kB / 0.5676 GB, free: 16.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.6373, allocations: 0.6875 kB / 0.5676 GB, free: 16.41 MB / 494.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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004947/0.6422, allocations: 1.327 MB / 0.5689 GB, free: 16.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.6423, allocations: 54.91 kB / 0.5689 GB, free: 15.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.6425, allocations: 254.2 kB / 0.5692 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.6425, allocations: 34.8 kB / 0.5692 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.6426, allocations: 171.7 kB / 0.5694 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.6427, allocations: 104.4 kB / 0.5695 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.6428, allocations: 81.77 kB / 0.5695 GB, free: 15.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.643, allocations: 335.6 kB / 0.5698 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.6431, allocations: 93.11 kB / 0.5699 GB, free: 15.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.6433, allocations: 186.9 kB / 0.5701 GB, free: 15.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.6437, allocations: 301.1 kB / 0.5704 GB, free: 15.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6437, allocations: 1.969 kB / 0.5704 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006126/0.6443, allocations: 402.2 kB / 0.5708 GB, free: 15.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.6443, allocations: 12.64 kB / 0.5708 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6443, allocations: 5.641 kB / 0.5708 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.6445, allocations: 73.42 kB / 0.5709 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.6449, allocations: 84.52 kB / 0.571 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.6463, allocations: 1.849 MB / 0.5728 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.6465, allocations: 15.91 kB / 0.5728 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.6466, allocations: 38.2 kB / 0.5728 GB, free: 13.29 MB / 494.1 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.0001839/0.6468, allocations: 151.5 kB / 0.573 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.6468, allocations: 34.47 kB / 0.573 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007543/0.6476, allocations: 441.8 kB / 0.5734 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6476, allocations: 3.438 kB / 0.5734 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6476, allocations: 2.094 kB / 0.5734 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005373/0.6481, allocations: 0.562 MB / 0.574 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009161/0.649, allocations: 0.6951 MB / 0.5746 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.649, allocations: 0.7188 kB / 0.5746 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.6493, allocations: 72.36 kB / 0.5747 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.081e-05/0.6494, allocations: 28.98 kB / 0.5747 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.6494, allocations: 17.52 kB / 0.5748 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008718/0.6503, allocations: 1.281 MB / 0.576 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6503, allocations: 2.062 kB / 0.576 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.6509, allocations: 488.4 kB / 0.5765 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.651, allocations: 24.95 kB / 0.5765 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.651, allocations: 7.375 kB / 0.5765 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.6512, allocations: 10.19 kB / 0.5765 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.6513, allocations: 30.69 kB / 0.5765 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.6513, allocations: 27.19 kB / 0.5766 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.6515, allocations: 191.3 kB / 0.5768 GB, free: 10.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6515, allocations: 1.5 kB / 0.5768 GB, free: 10.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005123/0.652, allocations: 126.5 kB / 0.5769 GB, free: 10.82 MB / 494.1 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.001159/0.6532, allocations: 1.063 MB / 0.5779 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.6538, allocations: 362.5 kB / 0.5783 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6538, allocations: 0.6875 kB / 0.5783 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.654, allocations: 228.8 kB / 0.5785 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.6549, allocations: 160.5 kB / 0.5786 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.6586, allocations: 3.191 MB / 0.5818 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.659, allocations: 0.7665 MB / 0.5825 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003712/0.6594, allocations: 120.5 kB / 0.5826 GB, free: 7.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.6596, allocations: 123.5 kB / 0.5827 GB, free: 7.504 MB / 494.1 MB Notification: Performance of SimCode: time 4.4e-07/0.6596, allocations: 0 / 0.5827 GB, free: 7.504 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.6947, allocations: 12.24 MB / 0.5947 GB, free: 6.215 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.9, allocations: 9.906 kB / 0.5947 GB, free: 6.211 MB / 494.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_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/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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: 15.273660883016419]