Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.004631/0.004631, allocations: 103 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.001289/0.001289, allocations: 205.6 kB / 25.25 MB, free: 3.148 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.286/1.286, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.001619/0.001619, allocations: 53.8 kB / 348 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2225, allocations: 49.16 MB / 397.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.145/0.3675, allocations: 124 MB / 0.5089 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.3698, allocations: 1.627 MB / 0.5105 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.3699, allocations: 7.938 kB / 0.5105 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.3705, allocations: 178.9 kB / 0.5107 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.371, allocations: 326.2 kB / 0.511 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009166/0.3719, allocations: 423 kB / 0.5114 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008918/0.3728, allocations: 0.8641 MB / 0.5123 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.373, allocations: 76.69 kB / 0.5123 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.3735, allocations: 414.6 kB / 0.5127 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.374, allocations: 338.8 kB / 0.5131 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.3741, allocations: 32 kB / 0.5131 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.3743, allocations: 127.7 kB / 0.5132 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3745, allocations: 103.7 kB / 0.5133 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3746, allocations: 163.5 kB / 0.5135 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.3752, allocations: 496.2 kB / 0.5139 GB, free: 1.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3752, allocations: 0 / 0.5139 GB, free: 1.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3752, allocations: 0 / 0.5139 GB, free: 1.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.3752, allocations: 0 / 0.5139 GB, free: 1.574 MB / 430.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.0008055/0.376, allocations: 0.5208 MB / 0.5145 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.376, allocations: 15.98 kB / 0.5145 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.448e-05/0.3761, allocations: 4.688 kB / 0.5145 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.983e-05/0.3761, allocations: 74.66 kB / 0.5145 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.3764, allocations: 40.75 kB / 0.5146 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.3768, allocations: 222 kB / 0.5148 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.3768, allocations: 24.88 kB / 0.5148 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.3768, allocations: 28.12 kB / 0.5148 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.3775, allocations: 0.5232 MB / 0.5154 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3775, allocations: 0 / 0.5154 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3775, allocations: 12 kB / 0.5154 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3775, allocations: 8 kB / 0.5154 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.3779, allocations: 205.8 kB / 0.5156 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.3794, allocations: 0.9522 MB / 0.5165 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.3798, allocations: 180.1 kB / 0.5167 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3799, allocations: 88.77 kB / 0.5168 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.521e-05/0.38, allocations: 15.98 kB / 0.5168 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.38, allocations: 42.5 kB / 0.5168 GB, free: 14.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.38, allocations: 0 / 0.5168 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002288/0.3823, allocations: 0.8011 MB / 0.5176 GB, free: 13.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.3824, allocations: 59.41 kB / 0.5177 GB, free: 13.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3827, allocations: 265.8 kB / 0.5179 GB, free: 13.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3827, allocations: 33.7 kB / 0.5179 GB, free: 13.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3828, allocations: 176.5 kB / 0.5181 GB, free: 13.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.3829, allocations: 95.2 kB / 0.5182 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.383, allocations: 65.66 kB / 0.5183 GB, free: 12.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3831, allocations: 334.8 kB / 0.5186 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3833, allocations: 79.97 kB / 0.5187 GB, free: 12.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.3835, allocations: 183.7 kB / 0.5188 GB, free: 12.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.3839, allocations: 287.8 kB / 0.5191 GB, free: 11.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3839, allocations: 4 kB / 0.5191 GB, free: 11.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005763/0.3845, allocations: 366.8 kB / 0.5195 GB, free: 11.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3845, allocations: 8 kB / 0.5195 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.3845, allocations: 8.391 kB / 0.5195 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.3846, allocations: 45.7 kB / 0.5195 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.3849, allocations: 71.91 kB / 0.5196 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.387, allocations: 2.554 MB / 0.5221 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.3871, allocations: 12.03 kB / 0.5221 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.3872, allocations: 16 kB / 0.5221 GB, free: 8.578 MB / 446.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.3873, allocations: 157.6 kB / 0.5223 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.3874, allocations: 31.75 kB / 0.5223 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005199/0.3879, allocations: 278 kB / 0.5226 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3879, allocations: 4 kB / 0.5226 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3879, allocations: 4 kB / 0.5226 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005621/0.3885, allocations: 0.5395 MB / 0.5231 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.3894, allocations: 0.6165 MB / 0.5237 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3894, allocations: 0 / 0.5237 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.3897, allocations: 59.89 kB / 0.5237 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.409e-05/0.3898, allocations: 28.81 kB / 0.5238 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.3898, allocations: 8 kB / 0.5238 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000934/0.3908, allocations: 1.26 MB / 0.525 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3908, allocations: 0 / 0.525 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.3914, allocations: 451.8 kB / 0.5254 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.3914, allocations: 35.83 kB / 0.5255 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3915, allocations: 11.98 kB / 0.5255 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.3917, allocations: 8 kB / 0.5255 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.3917, allocations: 19.91 kB / 0.5255 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.3918, allocations: 11.98 kB / 0.5255 GB, free: 4.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.3919, allocations: 189.2 kB / 0.5257 GB, free: 4.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3919, allocations: 3.938 kB / 0.5257 GB, free: 4.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.3924, allocations: 99.94 kB / 0.5258 GB, free: 4.484 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.001105/0.3935, allocations: 1.011 MB / 0.5268 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000661/0.3941, allocations: 445.6 kB / 0.5272 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3941, allocations: 256 / 0.5272 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.3944, allocations: 214.5 kB / 0.5274 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.3952, allocations: 160.2 kB / 0.5276 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.399, allocations: 3.113 MB / 0.5306 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.3992, allocations: 151.9 kB / 0.5308 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002323/0.3994, allocations: 58.94 kB / 0.5308 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.3996, allocations: 95.34 kB / 0.5309 GB, free: 14.99 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3996, allocations: 0 / 0.5309 GB, free: 14.99 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.4381, allocations: 10.16 MB / 0.5408 GB, free: 4.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.81, allocations: 8 kB / 0.5408 GB, free: 4.742 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_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/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.164312970940955]