Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.00467/0.00467, allocations: 110.9 kB / 21.97 MB, free: 5.246 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.001294/0.001294, allocations: 201.1 kB / 25.27 MB, free: 3.238 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.253/1.253, allocations: 207.6 MB / 236 MB, free: 9.992 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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.001592/0.001592, allocations: 55.94 kB / 348 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2141, allocations: 49.16 MB / 397.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.1791/0.3932, allocations: 173.5 MB / 0.5573 GB, free: 5.152 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.3969, allocations: 3.259 MB / 0.5605 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.397, allocations: 7.938 kB / 0.5605 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.3975, allocations: 174.9 kB / 0.5607 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.3983, allocations: 417.5 kB / 0.561 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.399, allocations: 355.3 kB / 0.5614 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000868/0.3999, allocations: 0.907 MB / 0.5623 GB, free: 36 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1871/0.5871, allocations: 72.45 kB / 0.5623 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.589, allocations: 0.8075 MB / 0.5631 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.5893, allocations: 290.7 kB / 0.5634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.5894, allocations: 30.06 kB / 0.5634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.5897, allocations: 127.1 kB / 0.5636 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.5898, allocations: 96.64 kB / 0.5637 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.59, allocations: 186.3 kB / 0.5638 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.5905, allocations: 0.52 MB / 0.5643 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5905, allocations: 0 / 0.5643 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5905, allocations: 0.9688 kB / 0.5643 GB, free: 2.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.5905, allocations: 1.062 kB / 0.5643 GB, free: 2.316 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.00077/0.5913, allocations: 0.5208 MB / 0.5648 GB, free: 17.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5913, allocations: 14.39 kB / 0.5649 GB, free: 17.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.751e-05/0.5913, allocations: 7.25 kB / 0.5649 GB, free: 17.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.5914, allocations: 60.97 kB / 0.5649 GB, free: 17.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.5916, allocations: 44.83 kB / 0.565 GB, free: 17.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.592, allocations: 233.5 kB / 0.5652 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5921, allocations: 19.41 kB / 0.5652 GB, free: 17.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.5921, allocations: 23.41 kB / 0.5652 GB, free: 17.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.5926, allocations: 318.2 kB / 0.5655 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5926, allocations: 0.7188 kB / 0.5655 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.5926, allocations: 12.67 kB / 0.5655 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.5926, allocations: 8.094 kB / 0.5656 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.5929, allocations: 208.5 kB / 0.5658 GB, free: 17.66 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.001663/0.5946, allocations: 1.556 MB / 0.5673 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.5949, allocations: 163.5 kB / 0.5674 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.595, allocations: 87.91 kB / 0.5675 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.595, allocations: 11.8 kB / 0.5675 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.595, allocations: 38.09 kB / 0.5676 GB, free: 16.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.233e-06/0.595, allocations: 0 / 0.5676 GB, free: 16.44 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.004822/0.5999, allocations: 1.324 MB / 0.5689 GB, free: 16.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.5999, allocations: 55.75 kB / 0.5689 GB, free: 16.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.6001, allocations: 256.3 kB / 0.5692 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.6002, allocations: 35.27 kB / 0.5692 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.6002, allocations: 173.4 kB / 0.5694 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.6003, allocations: 106.6 kB / 0.5695 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.6004, allocations: 80.56 kB / 0.5695 GB, free: 15.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6005, allocations: 336 kB / 0.5699 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.6007, allocations: 86.44 kB / 0.5699 GB, free: 15.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.6009, allocations: 185.5 kB / 0.5701 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.6012, allocations: 304.9 kB / 0.5704 GB, free: 15.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6012, allocations: 0.9688 kB / 0.5704 GB, free: 15.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000574/0.6018, allocations: 403.9 kB / 0.5708 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6018, allocations: 11.06 kB / 0.5708 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6018, allocations: 3.781 kB / 0.5708 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.602, allocations: 78.84 kB / 0.5709 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.6023, allocations: 82.78 kB / 0.571 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.6036, allocations: 1.854 MB / 0.5728 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.6038, allocations: 13.42 kB / 0.5728 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.6039, allocations: 41.84 kB / 0.5728 GB, free: 13.32 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.0001552/0.604, allocations: 155.1 kB / 0.573 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.6041, allocations: 31.22 kB / 0.573 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/0.6048, allocations: 439.2 kB / 0.5734 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.6048, allocations: 1.969 kB / 0.5734 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.6048, allocations: 1.938 kB / 0.5734 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005221/0.6053, allocations: 0.565 MB / 0.574 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.6062, allocations: 0.6977 MB / 0.5747 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6062, allocations: 1.156 kB / 0.5747 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.6065, allocations: 71.33 kB / 0.5747 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.245e-05/0.6065, allocations: 25.44 kB / 0.5747 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.6066, allocations: 17.08 kB / 0.5748 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008227/0.6074, allocations: 1.272 MB / 0.576 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6074, allocations: 4.125 kB / 0.576 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.608, allocations: 485.9 kB / 0.5765 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.608, allocations: 23.56 kB / 0.5765 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.6081, allocations: 9.188 kB / 0.5765 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.6083, allocations: 6.812 kB / 0.5765 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.6083, allocations: 31.92 kB / 0.5765 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.6084, allocations: 34.25 kB / 0.5766 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.6085, allocations: 187.3 kB / 0.5767 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6085, allocations: 0 / 0.5767 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.609, allocations: 125.6 kB / 0.5769 GB, free: 10.86 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.001129/0.6101, allocations: 1.063 MB / 0.5779 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.6107, allocations: 363 kB / 0.5783 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6107, allocations: 1.438 kB / 0.5783 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.611, allocations: 224.7 kB / 0.5785 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.6118, allocations: 162.6 kB / 0.5786 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.6154, allocations: 3.197 MB / 0.5817 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.6158, allocations: 0.7681 MB / 0.5825 GB, free: 7.559 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.6161, allocations: 116.2 kB / 0.5826 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6163, allocations: 126.1 kB / 0.5827 GB, free: 7.535 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6163, allocations: 1.844 kB / 0.5827 GB, free: 7.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.6569, allocations: 12.25 MB / 0.5947 GB, free: 6.242 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.89, allocations: 0 / 0.5947 GB, free: 6.242 MB / 494.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.219706543022767]