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.001283/0.001283, allocations: 112 kB / 20.48 MB, free: 1.27 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.001407/0.001407, allocations: 210.6 kB / 23.77 MB, free: 4.441 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2407/0.2407, allocations: 46.96 MB / 360.9 MB, free: 3.91 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.002256/0.002256, allocations: 88.05 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3335, allocations: 66.07 MB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2014/0.5348, allocations: 153.9 MB / 0.711 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008007/0.5428, allocations: 4.922 MB / 0.7158 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.5436, allocations: 27.75 kB / 0.7159 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.5446, allocations: 306 kB / 0.7162 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.5484, allocations: 1.29 MB / 0.7174 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.5521, allocations: 0.9806 MB / 0.7184 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004071/0.5562, allocations: 1.871 MB / 0.7202 GB, free: 156 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.5573, allocations: 393.6 kB / 0.7206 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.5609, allocations: 1.113 MB / 0.7217 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.5626, allocations: 0.6967 MB / 0.7223 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.5627, allocations: 60 kB / 0.7224 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.5643, allocations: 0.5462 MB / 0.7229 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.5647, allocations: 275.2 kB / 0.7232 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.5652, allocations: 330.6 kB / 0.7235 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.5673, allocations: 1.304 MB / 0.7248 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5673, allocations: 3.938 kB / 0.7248 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5673, allocations: 0 / 0.7248 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.5673, allocations: 4 kB / 0.7248 GB, free: 11.43 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.002556/0.5699, allocations: 1.038 MB / 0.7258 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5699, allocations: 16.03 kB / 0.7258 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.57, allocations: 98.5 kB / 0.7259 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008486/0.5709, allocations: 139.4 kB / 0.7261 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/0.5719, allocations: 473.4 kB / 0.7265 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.572, allocations: 159.8 kB / 0.7267 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.364e-05/0.5721, allocations: 51.94 kB / 0.7267 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.5736, allocations: 1.144 MB / 0.7278 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.5736, allocations: 4 kB / 0.7278 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.5737, allocations: 24 kB / 0.7278 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/0.5738, allocations: 44.86 kB / 0.7279 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.5748, allocations: 0.6166 MB / 0.7285 GB, free: 7.391 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.00479/0.5796, allocations: 3.304 MB / 0.7317 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.5803, allocations: 334.4 kB / 0.732 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.5805, allocations: 161.3 kB / 0.7322 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.5807, allocations: 24.2 kB / 0.7322 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.5807, allocations: 38.84 kB / 0.7323 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.016e-06/0.5807, allocations: 0 / 0.7323 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005894/0.5866, allocations: 1.604 MB / 0.7338 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5867, allocations: 132.5 kB / 0.7339 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008767/0.5876, allocations: 0.6327 MB / 0.7346 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.5876, allocations: 37.7 kB / 0.7346 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.588, allocations: 375.8 kB / 0.735 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.5881, allocations: 146.8 kB / 0.7351 GB, free: 384 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.5884, allocations: 158.6 kB / 0.7353 GB, free: 220 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2587/0.8471, allocations: 374.8 kB / 0.7356 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.8479, allocations: 199.3 kB / 0.7358 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007897/0.8487, allocations: 0.5864 MB / 0.7364 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.8501, allocations: 0.7511 MB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.8501, allocations: 6.375 kB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00194/0.852, allocations: 0.8788 MB / 0.738 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.852, allocations: 11.16 kB / 0.738 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.8521, allocations: 10.98 kB / 0.738 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.8534, allocations: 313.9 kB / 0.7383 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.8538, allocations: 130.5 kB / 0.7384 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000865/0.8547, allocations: 0.9338 MB / 0.7393 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.8552, allocations: 26.23 kB / 0.7394 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/0.8552, allocations: 67.5 kB / 0.7394 GB, free: 173.3 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.0003014/0.8556, allocations: 246.3 kB / 0.7396 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.8557, allocations: 68.92 kB / 0.7397 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.857, allocations: 0.8688 MB / 0.7406 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.857, allocations: 3.812 kB / 0.7406 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.8571, allocations: 4.531 kB / 0.7406 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8571, allocations: 1.969 kB / 0.7406 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.8587, allocations: 1.14 MB / 0.7417 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.8587, allocations: 3.609 kB / 0.7417 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009592/0.8597, allocations: 210.5 kB / 0.7419 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.629e-05/0.8598, allocations: 30.38 kB / 0.7419 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.8598, allocations: 21.86 kB / 0.7419 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.8612, allocations: 2.666 MB / 0.7445 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8612, allocations: 3.938 kB / 0.7445 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/0.8622, allocations: 0.831 MB / 0.7454 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.8624, allocations: 109.2 kB / 0.7455 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.8625, allocations: 19.64 kB / 0.7455 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.8629, allocations: 12 kB / 0.7455 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.863, allocations: 43.12 kB / 0.7455 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.863, allocations: 46.52 kB / 0.7456 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004516/0.8635, allocations: 440.4 kB / 0.746 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8635, allocations: 0 / 0.746 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008895/0.8644, allocations: 259.2 kB / 0.7462 GB, free: 167.6 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.001679/0.8661, allocations: 1.528 MB / 0.7477 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.8671, allocations: 0.5361 MB / 0.7483 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8671, allocations: 4 kB / 0.7483 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008247/0.8679, allocations: 407.5 kB / 0.7487 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.8694, allocations: 373.8 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.006439/0.8759, allocations: 6.334 MB / 0.7552 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.8761, allocations: 336.4 kB / 0.7555 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008766/0.877, allocations: 462.5 kB / 0.756 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.8774, allocations: 291.2 kB / 0.7562 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.372e-06/0.8774, allocations: 0 / 0.7562 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05803/0.9354, allocations: 25.73 MB / 0.7814 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.56, allocations: 7.875 kB / 0.7814 GB, free: 131.6 MB / 0.5606 GB " [Timeout remaining time 645] (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.73770070215687]