Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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.0009583/0.0009583, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.0009318/0.0009318, allocations: 169.9 kB / 23.32 MB, free: 1.207 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 1.041/1.041, allocations: 158.6 MB / 185.1 MB, free: 2.984 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1342/0.1342, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 407.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.657e-05, allocations: 10.02 kB / 407.1 MB, free: 2.109 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2839/0.2839, allocations: 127.3 MB / 0.5218 GB, free: 26.02 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005804/0.2897, allocations: 5.155 MB / 0.5269 GB, free: 22.58 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009171/0.2906, allocations: 26.91 kB / 0.5269 GB, free: 22.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009619/0.2916, allocations: 330.5 kB / 0.5272 GB, free: 22.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.2936, allocations: 0.9074 MB / 0.5281 GB, free: 21.85 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.2958, allocations: 1.065 MB / 0.5291 GB, free: 21.31 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.2979, allocations: 1.832 MB / 0.5309 GB, free: 20.47 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005605/0.2984, allocations: 408.5 kB / 0.5313 GB, free: 20.3 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.2996, allocations: 0.985 MB / 0.5323 GB, free: 19.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008741/0.3005, allocations: 0.6877 MB / 0.5329 GB, free: 19.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.3006, allocations: 62.25 kB / 0.533 GB, free: 19.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.3017, allocations: 492.8 kB / 0.5335 GB, free: 19.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.3019, allocations: 286.4 kB / 0.5337 GB, free: 19.4 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.3023, allocations: 289.7 kB / 0.534 GB, free: 19.29 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.3039, allocations: 1.183 MB / 0.5352 GB, free: 18.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3039, allocations: 0 / 0.5352 GB, free: 18.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3039, allocations: 0 / 0.5352 GB, free: 18.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.3039, allocations: 0 / 0.5352 GB, free: 18.89 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001641/0.3055, allocations: 0.99 MB / 0.5361 GB, free: 18.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3056, allocations: 10.47 kB / 0.5362 GB, free: 18.24 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.112e-05/0.3057, allocations: 98.66 kB / 0.5362 GB, free: 18.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.306, allocations: 93 kB / 0.5363 GB, free: 18.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.3066, allocations: 0.5036 MB / 0.5368 GB, free: 17.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/0.3067, allocations: 151.8 kB / 0.537 GB, free: 17.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.3068, allocations: 51.98 kB / 0.537 GB, free: 17.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/0.3077, allocations: 1.171 MB / 0.5382 GB, free: 16.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3077, allocations: 7.891 kB / 0.5382 GB, free: 16.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.3077, allocations: 23.88 kB / 0.5382 GB, free: 16.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.3078, allocations: 38.16 kB / 0.5382 GB, free: 16.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.3084, allocations: 0.6561 MB / 0.5389 GB, free: 16.53 MB / 442.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.002328/0.3108, allocations: 3.165 MB / 0.542 GB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.3112, allocations: 404.8 kB / 0.5423 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.3114, allocations: 197.6 kB / 0.5425 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.3116, allocations: 59.39 kB / 0.5426 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3116, allocations: 39.83 kB / 0.5426 GB, free: 13.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.3116, allocations: 4 kB / 0.5426 GB, free: 13.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.00188/0.3135, allocations: 1.405 MB / 0.544 GB, free: 13.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3135, allocations: 137.3 kB / 0.5441 GB, free: 13.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.3139, allocations: 0.5882 MB / 0.5447 GB, free: 12.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3139, allocations: 36.23 kB / 0.5447 GB, free: 12.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3141, allocations: 359.3 kB / 0.5451 GB, free: 12.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.3141, allocations: 169.9 kB / 0.5453 GB, free: 12.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.3143, allocations: 140 kB / 0.5454 GB, free: 12.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.3143, allocations: 375.6 kB / 0.5457 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3145, allocations: 215.3 kB / 0.5459 GB, free: 11.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.3148, allocations: 0.5928 MB / 0.5465 GB, free: 11.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.3154, allocations: 0.7612 MB / 0.5473 GB, free: 10.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3154, allocations: 5 kB / 0.5473 GB, free: 10.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008777/0.3162, allocations: 0.908 MB / 0.5482 GB, free: 10.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3163, allocations: 12.84 kB / 0.5482 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3163, allocations: 7.844 kB / 0.5482 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006798/0.3169, allocations: 291.2 kB / 0.5485 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3171, allocations: 122.7 kB / 0.5486 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005313/0.3177, allocations: 0.8907 MB / 0.5494 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.3179, allocations: 27.94 kB / 0.5495 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.318, allocations: 35.36 kB / 0.5495 GB, free: 9.547 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.3182, allocations: 247 kB / 0.5497 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.3182, allocations: 71.52 kB / 0.5498 GB, free: 9.324 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007376/0.319, allocations: 0.6985 MB / 0.5505 GB, free: 9.008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.319, allocations: 9.406 kB / 0.5505 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.319, allocations: 2.781 kB / 0.5505 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.319, allocations: 2.203 kB / 0.5505 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.3202, allocations: 1.234 MB / 0.5517 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3202, allocations: 2.969 kB / 0.5517 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.3207, allocations: 204.3 kB / 0.5519 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.029e-05/0.3208, allocations: 20.03 kB / 0.5519 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3208, allocations: 15.59 kB / 0.5519 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008628/0.3216, allocations: 2.662 MB / 0.5545 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3216, allocations: 1.969 kB / 0.5545 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/0.3224, allocations: 0.9425 MB / 0.5555 GB, free: 5.082 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.3226, allocations: 128.6 kB / 0.5556 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.3227, allocations: 13.09 kB / 0.5556 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3229, allocations: 18.7 kB / 0.5556 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.3229, allocations: 45.22 kB / 0.5557 GB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.323, allocations: 24.14 kB / 0.5557 GB, free: 4.938 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.3233, allocations: 425.7 kB / 0.5561 GB, free: 4.691 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3233, allocations: 0 / 0.5561 GB, free: 4.691 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005812/0.3238, allocations: 223.5 kB / 0.5563 GB, free: 4.652 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001281/0.3251, allocations: 1.658 MB / 0.5579 GB, free: 3.441 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.3259, allocations: 0.5839 MB / 0.5585 GB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.3259, allocations: 1.5 kB / 0.5585 GB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.3264, allocations: 443.8 kB / 0.5589 GB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3275, allocations: 375.1 kB / 0.5593 GB, free: 2.746 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.3338, allocations: 6.411 MB / 0.5655 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3341, allocations: 344 kB / 0.5659 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005422/0.3346, allocations: 212.7 kB / 0.5661 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.3349, allocations: 232.3 kB / 0.5663 GB, free: 13.85 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3349, allocations: 0 / 0.5663 GB, free: 13.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.3741, allocations: 24.23 MB / 0.59 GB, free: 6.328 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.865, allocations: 8.062 kB / 0.59 GB, free: 6.32 MB / 474.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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: 11.236930997110903]