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.000865/0.000865, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003403/0.003403, allocations: 162.8 kB / 24.69 MB, free: 9.402 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.8235/0.8235, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.004e-05, allocations: 2.281 kB / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2457/0.2457, allocations: 149.4 MB / 447.9 MB, free: 8.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.2484, allocations: 2.944 MB / 450.8 MB, free: 6.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.2486, allocations: 7.938 kB / 450.8 MB, free: 6.008 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.2491, allocations: 164.8 kB / 451 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006718/0.2497, allocations: 429.2 kB / 451.4 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.2504, allocations: 359.1 kB / 451.7 MB, free: 5.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007822/0.2512, allocations: 0.895 MB / 452.6 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2514, allocations: 72.89 kB / 452.7 MB, free: 4.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.2532, allocations: 0.942 MB / 453.7 MB, free: 3.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.2535, allocations: 247.2 kB / 453.9 MB, free: 2.922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.2535, allocations: 32 kB / 453.9 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.2537, allocations: 119.9 kB / 454 MB, free: 2.773 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.2538, allocations: 103.6 kB / 454.1 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.2539, allocations: 139.7 kB / 454.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.2544, allocations: 0.5415 MB / 454.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2544, allocations: 4 kB / 454.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2544, allocations: 4 kB / 454.8 MB, free: 1.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.2544, allocations: 0 / 454.8 MB, free: 1.984 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.0006507/0.2551, allocations: 0.5167 MB / 455.3 MB, free: 1.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2551, allocations: 11.98 kB / 455.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.2552, allocations: 58.55 kB / 455.4 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2554, allocations: 47.8 kB / 455.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.2557, allocations: 233.2 kB / 455.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2558, allocations: 16.5 kB / 455.7 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.2558, allocations: 25.31 kB / 455.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.2562, allocations: 0.5413 MB / 456.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2563, allocations: 0 / 456.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.2563, allocations: 12 kB / 456.3 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2563, allocations: 11.94 kB / 456.3 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.2565, allocations: 201.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.1358/0.3924, allocations: 1.182 MB / 457.7 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.3927, allocations: 163.4 kB / 457.8 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3928, allocations: 86.02 kB / 457.9 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.3928, allocations: 5.797 kB / 457.9 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3928, allocations: 41.31 kB / 458 MB, free: 142.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.3928, allocations: 0 / 458 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.00342/0.3962, allocations: 1.331 MB / 459.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.3963, allocations: 62.02 kB / 459.4 MB, free: 141.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3965, allocations: 255.4 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3965, allocations: 31.86 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.3966, allocations: 179.8 kB / 459.8 MB, free: 141.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.3967, allocations: 102.7 kB / 459.9 MB, free: 141.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3968, allocations: 82.77 kB / 460 MB, free: 141.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.3968, allocations: 333.8 kB / 460.3 MB, free: 140.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.397, allocations: 94.67 kB / 460.4 MB, free: 140.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.3972, allocations: 186.4 kB / 460.6 MB, free: 140.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.3975, allocations: 301.8 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3975, allocations: 1.062 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000561/0.3981, allocations: 404.5 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3981, allocations: 5.781 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3981, allocations: 3.469 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.3983, allocations: 73.8 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3985, allocations: 84.94 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008493/0.3994, allocations: 1.852 MB / 463.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.3995, allocations: 8.359 kB / 463.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.3996, allocations: 40.03 kB / 463.3 MB, free: 138.4 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.0001219/0.3997, allocations: 154 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.3998, allocations: 38.91 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000641/0.4004, allocations: 439.6 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-06/0.4004, allocations: 2.688 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4004, allocations: 1.875 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003283/0.4007, allocations: 0.5614 MB / 464.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.4014, allocations: 0.671 MB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4014, allocations: 0.7031 kB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.4016, allocations: 77.02 kB / 465.3 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.035e-05/0.4017, allocations: 21.52 kB / 465.3 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.4017, allocations: 14.38 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/0.4021, allocations: 1.27 MB / 466.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4021, allocations: 1.625 kB / 466.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.4026, allocations: 478.2 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.4026, allocations: 25.62 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.4026, allocations: 2.156 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4027, allocations: 14.19 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.4028, allocations: 27.81 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.4028, allocations: 35.88 kB / 467.2 MB, free: 135.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.403, allocations: 185.8 kB / 467.3 MB, free: 135.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.403, allocations: 0 / 467.3 MB, free: 135.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003902/0.4033, allocations: 127.9 kB / 467.5 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.0007618/0.4041, allocations: 1.059 MB / 468.5 MB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.4046, allocations: 359.8 kB / 468.9 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4046, allocations: 1.812 kB / 468.9 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.4048, allocations: 245 kB / 469.1 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.4054, allocations: 163.8 kB / 469.3 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.4083, allocations: 3.126 MB / 472.4 MB, free: 132 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.4085, allocations: 158.5 kB / 472.6 MB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.4088, allocations: 118.1 kB / 472.7 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.4089, allocations: 127.1 kB / 472.8 MB, free: 131.8 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.4089, allocations: 0 / 472.8 MB, free: 131.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.4347, allocations: 12.96 MB / 485.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.443, allocations: 3.938 kB / 485.8 MB, free: 125.6 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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: 9.999290044419467]