Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001405/0.001405, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.001681/0.001681, allocations: 211.2 kB / 23.78 MB, free: 4.438 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.487/1.487, allocations: 230.5 MB / 257.5 MB, free: 7.73 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.233/0.233, allocations: 46.95 MB / 360.9 MB, free: 3.883 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.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 79.88 kB / 0.4963 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3649, allocations: 66.09 MB / 0.5608 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1987/0.5636, allocations: 153.9 MB / 0.7111 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.5744, allocations: 4.918 MB / 0.7159 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008493/0.5753, allocations: 27.75 kB / 0.7159 GB, free: 4.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.5766, allocations: 306 kB / 0.7162 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004932/0.5816, allocations: 1.294 MB / 0.7174 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.5853, allocations: 0.9802 MB / 0.7184 GB, free: 1.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003925/0.5892, allocations: 1.864 MB / 0.7202 GB, free: 120 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.5903, allocations: 397.6 kB / 0.7206 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/0.5942, allocations: 1.117 MB / 0.7217 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.5961, allocations: 0.6889 MB / 0.7224 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.5963, allocations: 64 kB / 0.7224 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.5982, allocations: 0.5495 MB / 0.723 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005206/0.5988, allocations: 275.2 kB / 0.7232 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006588/0.5994, allocations: 330.6 kB / 0.7235 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.6024, allocations: 1.312 MB / 0.7248 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.6024, allocations: 0 / 0.7248 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.965e-06/0.6024, allocations: 0 / 0.7248 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.6025, allocations: 0 / 0.7248 GB, free: 11.39 MB / 0.5606 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.003598/0.6061, allocations: 1.041 MB / 0.7258 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.6061, allocations: 12.03 kB / 0.7259 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/0.6063, allocations: 98.5 kB / 0.7259 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.6077, allocations: 143.4 kB / 0.7261 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.6092, allocations: 477.4 kB / 0.7265 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.6094, allocations: 155.8 kB / 0.7267 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.6095, allocations: 51.98 kB / 0.7267 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.6117, allocations: 1.136 MB / 0.7278 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.6118, allocations: 7.938 kB / 0.7279 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.6119, allocations: 20 kB / 0.7279 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.182e-05/0.612, allocations: 48.86 kB / 0.7279 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.6136, allocations: 0.6205 MB / 0.7285 GB, free: 7.348 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.006479/0.6201, allocations: 3.305 MB / 0.7318 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008827/0.621, allocations: 338.4 kB / 0.7321 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.6214, allocations: 161.3 kB / 0.7322 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.6215, allocations: 16.27 kB / 0.7322 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.6216, allocations: 38.84 kB / 0.7323 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.986e-06/0.6216, allocations: 0 / 0.7323 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.007949/0.6295, allocations: 1.601 MB / 0.7338 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/0.6296, allocations: 132.5 kB / 0.734 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.6304, allocations: 0.6288 MB / 0.7346 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.6305, allocations: 37.7 kB / 0.7346 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.6308, allocations: 379.8 kB / 0.735 GB, free: 492 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.6309, allocations: 142.8 kB / 0.7351 GB, free: 348 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.6312, allocations: 162.6 kB / 0.7353 GB, free: 180 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2851/0.9163, allocations: 374.8 kB / 0.7356 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.9169, allocations: 201 kB / 0.7358 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.9176, allocations: 0.5868 MB / 0.7364 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.9186, allocations: 0.7516 MB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.9186, allocations: 2.812 kB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001925/0.9206, allocations: 0.8818 MB / 0.738 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.9206, allocations: 8.438 kB / 0.738 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.9206, allocations: 14.88 kB / 0.738 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.9221, allocations: 317.6 kB / 0.7383 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.9225, allocations: 123 kB / 0.7384 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009026/0.9234, allocations: 0.9309 MB / 0.7393 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.9239, allocations: 25.58 kB / 0.7394 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/0.924, allocations: 74.22 kB / 0.7394 GB, free: 173.2 MB / 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.0003108/0.9243, allocations: 249.2 kB / 0.7397 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.9244, allocations: 71.06 kB / 0.7397 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.9259, allocations: 0.8549 MB / 0.7406 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.9259, allocations: 7.031 kB / 0.7406 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9259, allocations: 0 / 0.7406 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.9259, allocations: 2.109 kB / 0.7406 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.9276, allocations: 1.144 MB / 0.7417 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.9276, allocations: 5.688 kB / 0.7417 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/0.9286, allocations: 212.6 kB / 0.7419 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.9286, allocations: 28.08 kB / 0.7419 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.9287, allocations: 23.19 kB / 0.742 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.93, allocations: 2.663 MB / 0.7446 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.93, allocations: 7.969 kB / 0.7446 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009597/0.931, allocations: 0.8236 MB / 0.7454 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.9312, allocations: 119.7 kB / 0.7455 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.9313, allocations: 12 kB / 0.7455 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.9317, allocations: 15.75 kB / 0.7455 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.9318, allocations: 42.52 kB / 0.7456 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.9319, allocations: 47.27 kB / 0.7456 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003756/0.9322, allocations: 443.8 kB / 0.746 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9322, allocations: 0 / 0.746 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008049/0.933, allocations: 253.6 kB / 0.7463 GB, free: 167.5 MB / 0.5606 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.001567/0.9346, allocations: 1.541 MB / 0.7478 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009935/0.9356, allocations: 0.5363 MB / 0.7483 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.9356, allocations: 0 / 0.7483 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000885/0.9365, allocations: 405.6 kB / 0.7487 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.938, allocations: 373.1 kB / 0.749 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.9446, allocations: 6.335 MB / 0.7552 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.9448, allocations: 336.4 kB / 0.7555 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008065/0.9456, allocations: 458.8 kB / 0.756 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.946, allocations: 288.4 kB / 0.7563 GB, free: 157 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.946, allocations: 0 / 0.7563 GB, free: 157 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.9985, allocations: 25.72 MB / 0.7814 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.78, allocations: 7.031 kB / 0.7814 GB, free: 131.6 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_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_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.992763296002522]