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.001289/0.001289, allocations: 114.7 kB / 19.17 MB, free: 3.891 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.001303/0.001303, allocations: 203.8 kB / 22.11 MB, free: 0.9531 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.346/1.346, allocations: 207.6 MB / 232.5 MB, free: 3.941 MB / 174.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.001674/0.001674, allocations: 59.92 kB / 343 MB, free: 9.961 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0766/0.07827, allocations: 49.13 MB / 392.2 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3025/0.3808, allocations: 144.5 MB / 0.5241 GB, free: 496 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.383, allocations: 1.735 MB / 0.5258 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3831, allocations: 10.56 kB / 0.5258 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.3836, allocations: 184.1 kB / 0.5259 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.3841, allocations: 330.8 kB / 0.5263 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.385, allocations: 425.7 kB / 0.5267 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007268/0.3857, allocations: 0.8412 MB / 0.5275 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3859, allocations: 79.09 kB / 0.5276 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.3864, allocations: 398.7 kB / 0.5279 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.3868, allocations: 347.3 kB / 0.5283 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.3869, allocations: 30.38 kB / 0.5283 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.3871, allocations: 135.7 kB / 0.5284 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3872, allocations: 99.95 kB / 0.5285 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3874, allocations: 190.2 kB / 0.5287 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.3879, allocations: 491.7 kB / 0.5292 GB, free: 12.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3879, allocations: 0 / 0.5292 GB, free: 12.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3879, allocations: 3.938 kB / 0.5292 GB, free: 12.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3879, allocations: 3.938 kB / 0.5292 GB, free: 12.82 MB / 414.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.0008641/0.3888, allocations: 0.6039 MB / 0.5298 GB, free: 12.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3888, allocations: 8.031 kB / 0.5298 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.3888, allocations: 8.75 kB / 0.5298 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.86e-05/0.3889, allocations: 62.72 kB / 0.5298 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.3892, allocations: 40.75 kB / 0.5299 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.3896, allocations: 295.9 kB / 0.5302 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3896, allocations: 16.94 kB / 0.5302 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.3897, allocations: 28.38 kB / 0.5302 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.3901, allocations: 305.3 kB / 0.5305 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3901, allocations: 0 / 0.5305 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.3902, allocations: 12 kB / 0.5305 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3902, allocations: 12 kB / 0.5305 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.3905, allocations: 202.1 kB / 0.5307 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.3923, allocations: 1.289 MB / 0.532 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.3926, allocations: 182.5 kB / 0.5322 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.3928, allocations: 84.81 kB / 0.5322 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.3929, allocations: 182.2 kB / 0.5324 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3929, allocations: 30.56 kB / 0.5324 GB, free: 9.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 1.223e-06/0.3929, allocations: 0 / 0.5324 GB, free: 9.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.002353/0.3953, allocations: 1.038 MB / 0.5335 GB, free: 8.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.3953, allocations: 55.41 kB / 0.5335 GB, free: 7.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.3956, allocations: 258.6 kB / 0.5338 GB, free: 7.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.3956, allocations: 29.7 kB / 0.5338 GB, free: 7.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3957, allocations: 180.5 kB / 0.534 GB, free: 7.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.3958, allocations: 99.16 kB / 0.534 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.3959, allocations: 73.58 kB / 0.5341 GB, free: 7.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.396, allocations: 334.8 kB / 0.5344 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3962, allocations: 83.97 kB / 0.5345 GB, free: 6.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3964, allocations: 179.7 kB / 0.5347 GB, free: 6.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.3968, allocations: 287.8 kB / 0.535 GB, free: 6.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3968, allocations: 0 / 0.535 GB, free: 6.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006021/0.3974, allocations: 443.9 kB / 0.5354 GB, free: 5.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3974, allocations: 8 kB / 0.5354 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3974, allocations: 4 kB / 0.5354 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.3975, allocations: 42.09 kB / 0.5354 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.3978, allocations: 79.91 kB / 0.5355 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.3998, allocations: 2.766 MB / 0.5382 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.4, allocations: 8 kB / 0.5382 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.4, allocations: 12 kB / 0.5382 GB, free: 2.715 MB / 414.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.0001585/0.4002, allocations: 171.4 kB / 0.5384 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.4003, allocations: 35.8 kB / 0.5384 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.4008, allocations: 350.8 kB / 0.5388 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4008, allocations: 3.938 kB / 0.5388 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4008, allocations: 4 kB / 0.5388 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000554/0.4014, allocations: 0.6191 MB / 0.5394 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009449/0.4023, allocations: 0.7551 MB / 0.5401 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4023, allocations: 0 / 0.5401 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.4026, allocations: 63.89 kB / 0.5402 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.306e-05/0.4027, allocations: 20.84 kB / 0.5402 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4027, allocations: 0 / 0.5402 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009443/0.4036, allocations: 1.378 MB / 0.5415 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4036, allocations: 0 / 0.5415 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.4043, allocations: 0.515 MB / 0.542 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.4043, allocations: 104.9 kB / 0.5421 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.4044, allocations: 8 kB / 0.5422 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.4046, allocations: 11.98 kB / 0.5422 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4046, allocations: 16.05 kB / 0.5422 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.4047, allocations: 16.73 kB / 0.5422 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.4048, allocations: 186 kB / 0.5424 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4048, allocations: 3.938 kB / 0.5424 GB, free: 14.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004088/0.4052, allocations: 99.94 kB / 0.5425 GB, free: 13.95 MB / 430.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.00104/0.4063, allocations: 1.095 MB / 0.5435 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006301/0.4069, allocations: 445.5 kB / 0.544 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4069, allocations: 0 / 0.544 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.4072, allocations: 206.6 kB / 0.5442 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.4081, allocations: 179 kB / 0.5443 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.4118, allocations: 3.251 MB / 0.5475 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4121, allocations: 0.7684 MB / 0.5483 GB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.4123, allocations: 46.95 kB / 0.5483 GB, free: 7.645 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4125, allocations: 95.34 kB / 0.5484 GB, free: 7.551 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4125, allocations: 0 / 0.5484 GB, free: 7.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.4471, allocations: 9.382 MB / 0.5576 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.88, allocations: 12.42 kB / 0.5576 GB, free: 14.1 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.31594296201365]