Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2413/0.2413, allocations: 46.91 MB / 357 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 75.88 kB / 0.491 GB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1464, allocations: 66.05 MB / 0.5555 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5444/0.6908, allocations: 177.9 MB / 0.7292 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008123/0.6989, allocations: 5.339 MB / 0.7344 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.6997, allocations: 27.75 kB / 0.7344 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.7007, allocations: 321.9 kB / 0.7347 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.7042, allocations: 1.275 MB / 0.736 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.7068, allocations: 0.955 MB / 0.7369 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002724/0.7095, allocations: 1.856 MB / 0.7387 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.7102, allocations: 417.4 kB / 0.7391 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.7131, allocations: 1.102 MB / 0.7402 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.7143, allocations: 0.7006 MB / 0.7409 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.7144, allocations: 60 kB / 0.7409 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.7162, allocations: 0.6398 MB / 0.7416 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.7165, allocations: 275.2 kB / 0.7418 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.717, allocations: 390.2 kB / 0.7422 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.7191, allocations: 1.312 MB / 0.7435 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7191, allocations: 0 / 0.7435 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7191, allocations: 0 / 0.7435 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.7191, allocations: 3.938 kB / 0.7435 GB, free: 500 kB / 0.545 GB 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.002761/0.7218, allocations: 1.113 MB / 0.7446 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.7219, allocations: 12.03 kB / 0.7446 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.722, allocations: 97.08 kB / 0.7447 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.7229, allocations: 147.4 kB / 0.7448 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.7239, allocations: 0.5318 MB / 0.7453 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.724, allocations: 100.4 kB / 0.7454 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.7241, allocations: 51.98 kB / 0.7455 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.7256, allocations: 0.8135 MB / 0.7463 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.7256, allocations: 4 kB / 0.7463 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/0.7257, allocations: 27.98 kB / 0.7463 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/0.7257, allocations: 32.98 kB / 0.7463 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.7269, allocations: 0.6243 MB / 0.7469 GB, free: 12.75 MB / 0.5606 GB 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.005412/0.7324, allocations: 3.941 MB / 0.7508 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.733, allocations: 346.9 kB / 0.7511 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.7333, allocations: 157.3 kB / 0.7513 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.7334, allocations: 89.39 kB / 0.7514 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.7335, allocations: 42.78 kB / 0.7514 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.565e-06/0.7335, allocations: 0 / 0.7514 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006013/0.7395, allocations: 1.684 MB / 0.753 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.7396, allocations: 140.4 kB / 0.7532 GB, free: 6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.7406, allocations: 0.6095 MB / 0.7538 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.7406, allocations: 37.64 kB / 0.7538 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.7409, allocations: 375.8 kB / 0.7542 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.7412, allocations: 154.7 kB / 0.7543 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.7415, allocations: 166.6 kB / 0.7545 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002817/0.7418, allocations: 370.8 kB / 0.7548 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.7422, allocations: 201.9 kB / 0.755 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007035/0.7429, allocations: 0.5086 MB / 0.7555 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.744, allocations: 0.7554 MB / 0.7562 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.744, allocations: 4 kB / 0.7563 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001571/0.7456, allocations: 0.884 MB / 0.7571 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7456, allocations: 8 kB / 0.7571 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.7456, allocations: 12 kB / 0.7571 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.7471, allocations: 308.9 kB / 0.7574 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.7475, allocations: 131.7 kB / 0.7576 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.7487, allocations: 0.9279 MB / 0.7585 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.7492, allocations: 32.98 kB / 0.7585 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.7493, allocations: 67.98 kB / 0.7586 GB, free: 120 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000383/0.7497, allocations: 241.6 kB / 0.7588 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.7498, allocations: 71.58 kB / 0.7589 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.7516, allocations: 0.86 MB / 0.7597 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.7516, allocations: 4.875 kB / 0.7597 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7516, allocations: 8 kB / 0.7597 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.7516, allocations: 3.984 kB / 0.7597 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.7541, allocations: 1.449 MB / 0.7611 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7541, allocations: 4.188 kB / 0.7611 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.7554, allocations: 211.8 kB / 0.7613 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.7555, allocations: 24.84 kB / 0.7614 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.7555, allocations: 27.97 kB / 0.7614 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.7581, allocations: 2.865 MB / 0.7642 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7581, allocations: 8.188 kB / 0.7642 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.7596, allocations: 0.8195 MB / 0.765 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.7599, allocations: 192.7 kB / 0.7652 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.76, allocations: 11.98 kB / 0.7652 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.7604, allocations: 19.94 kB / 0.7652 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.7605, allocations: 43.83 kB / 0.7652 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.7606, allocations: 43.98 kB / 0.7653 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006745/0.7613, allocations: 439 kB / 0.7657 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7613, allocations: 4.062 kB / 0.7657 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001037/0.7623, allocations: 259.7 kB / 0.766 GB, free: 8.043 MB / 0.5762 GB 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002308/0.7646, allocations: 1.551 MB / 0.7675 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.7659, allocations: 0.5387 MB / 0.768 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7659, allocations: 0 / 0.768 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.7671, allocations: 403 kB / 0.7684 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.7688, allocations: 375.6 kB / 0.7687 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009801/0.7786, allocations: 6.323 MB / 0.7749 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.7792, allocations: 0.9337 MB / 0.7758 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001122/0.7804, allocations: 462.4 kB / 0.7763 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.7809, allocations: 283.3 kB / 0.7765 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.7809, allocations: 0 / 0.7765 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07123/0.8521, allocations: 24.47 MB / 0.8004 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.09, allocations: 3.75 kB / 0.8004 GB, free: 4.492 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.464975636918098]