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.004932/0.004932, allocations: 114.1 kB / 21.97 MB, free: 5.223 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.001519/0.001519, allocations: 214.9 kB / 25.28 MB, free: 3.246 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.251/1.251, allocations: 207.6 MB / 236.1 MB, free: 9.973 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.001553/0.001553, allocations: 51.91 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2182, allocations: 49.16 MB / 397.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1546/0.3728, allocations: 144.6 MB / 0.5291 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3751, allocations: 1.752 MB / 0.5308 GB, free: 456 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3752, allocations: 7.938 kB / 0.5308 GB, free: 448 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.3757, allocations: 182.9 kB / 0.531 GB, free: 264 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.3762, allocations: 322.2 kB / 0.5313 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.3771, allocations: 427 kB / 0.5317 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008735/0.378, allocations: 0.8563 MB / 0.5325 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3782, allocations: 76.89 kB / 0.5326 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.3787, allocations: 406.6 kB / 0.533 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.3792, allocations: 350.8 kB / 0.5333 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.3792, allocations: 32 kB / 0.5333 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.3795, allocations: 139.7 kB / 0.5335 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3796, allocations: 99.7 kB / 0.5336 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.3798, allocations: 183.3 kB / 0.5338 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.3803, allocations: 494.7 kB / 0.5342 GB, free: 12.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3804, allocations: 7.938 kB / 0.5342 GB, free: 12.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3804, allocations: 0 / 0.5342 GB, free: 12.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3804, allocations: 4 kB / 0.5342 GB, free: 12.91 MB / 462.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.0007749/0.3811, allocations: 0.5208 MB / 0.5347 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3812, allocations: 15.98 kB / 0.5348 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.3812, allocations: 4.688 kB / 0.5348 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.3813, allocations: 62.73 kB / 0.5348 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.3815, allocations: 44.73 kB / 0.5349 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.3819, allocations: 234 kB / 0.5351 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.382, allocations: 16.88 kB / 0.5351 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.382, allocations: 28.12 kB / 0.5351 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.3825, allocations: 296.4 kB / 0.5354 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3825, allocations: 0 / 0.5354 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.3825, allocations: 16 kB / 0.5354 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3825, allocations: 8 kB / 0.5354 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.3828, allocations: 205.8 kB / 0.5356 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3845, allocations: 1.19 MB / 0.5368 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.3848, allocations: 174.7 kB / 0.537 GB, free: 9.926 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3849, allocations: 92.83 kB / 0.5371 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.552e-05/0.385, allocations: 15.98 kB / 0.5371 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.385, allocations: 34.56 kB / 0.5371 GB, free: 9.773 MB / 462.1 MB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.385, allocations: 0 / 0.5371 GB, free: 9.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.002205/0.3872, allocations: 0.8089 MB / 0.5379 GB, free: 8.922 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.3873, allocations: 55.41 kB / 0.5379 GB, free: 8.855 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.3875, allocations: 265.8 kB / 0.5382 GB, free: 8.586 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3876, allocations: 33.7 kB / 0.5382 GB, free: 8.547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3877, allocations: 176.5 kB / 0.5384 GB, free: 8.371 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.3878, allocations: 99.14 kB / 0.5385 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.3878, allocations: 69.64 kB / 0.5386 GB, free: 8.199 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.388, allocations: 342.8 kB / 0.5389 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3881, allocations: 75.97 kB / 0.539 GB, free: 7.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.3883, allocations: 183.7 kB / 0.5391 GB, free: 7.559 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.3887, allocations: 283.8 kB / 0.5394 GB, free: 7.238 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3887, allocations: 4 kB / 0.5394 GB, free: 7.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005703/0.3893, allocations: 366.8 kB / 0.5398 GB, free: 6.863 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3893, allocations: 4 kB / 0.5398 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3893, allocations: 7.984 kB / 0.5398 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.3894, allocations: 46.11 kB / 0.5398 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.3897, allocations: 75.91 kB / 0.5399 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.3916, allocations: 2.554 MB / 0.5424 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.3918, allocations: 12 kB / 0.5424 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.3918, allocations: 12 kB / 0.5424 GB, free: 3.918 MB / 462.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.0001691/0.392, allocations: 165.6 kB / 0.5426 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.3921, allocations: 31.91 kB / 0.5426 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.3926, allocations: 285.9 kB / 0.5429 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3926, allocations: 0 / 0.5429 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3926, allocations: 4 kB / 0.5429 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000512/0.3931, allocations: 0.5356 MB / 0.5434 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009153/0.394, allocations: 0.6593 MB / 0.544 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.394, allocations: 0 / 0.544 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.3943, allocations: 55.97 kB / 0.5441 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.571e-05/0.3943, allocations: 16.84 kB / 0.5441 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3944, allocations: 8 kB / 0.5441 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008776/0.3952, allocations: 1.283 MB / 0.5454 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3952, allocations: 4.031 kB / 0.5454 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/0.3958, allocations: 447.6 kB / 0.5458 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.3959, allocations: 27.78 kB / 0.5458 GB, free: 112 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.3959, allocations: 7.984 kB / 0.5458 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.3961, allocations: 12.12 kB / 0.5458 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.3962, allocations: 23.91 kB / 0.5459 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.3962, allocations: 11.98 kB / 0.5459 GB, free: 56 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.3964, allocations: 193.1 kB / 0.5461 GB, free: 15.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3964, allocations: 0 / 0.5461 GB, free: 15.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004109/0.3968, allocations: 99.94 kB / 0.5462 GB, free: 15.77 MB / 478.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.001013/0.3978, allocations: 1.007 MB / 0.5471 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006402/0.3984, allocations: 445.4 kB / 0.5476 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3984, allocations: 3.938 kB / 0.5476 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.3987, allocations: 206.6 kB / 0.5478 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.3995, allocations: 156.7 kB / 0.5479 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.4032, allocations: 3.109 MB / 0.5509 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.4035, allocations: 0.7684 MB / 0.5517 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.4037, allocations: 58.92 kB / 0.5518 GB, free: 9.762 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4039, allocations: 87.41 kB / 0.5518 GB, free: 9.676 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4039, allocations: 0 / 0.5518 GB, free: 9.676 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/0.5827, allocations: 9.625 MB / 0.5612 GB, free: 164.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.69, allocations: 5.297 kB / 0.5612 GB, free: 164.3 MB / 478.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.015705254045315]