Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.001965/0.001965, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002442/0.002442, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.472/1.472, allocations: 230.5 MB / 257.4 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.2599/0.2599, allocations: 46.94 MB / 360.8 MB, free: 3.914 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.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 79.88 kB / 0.4962 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.325, allocations: 66.09 MB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2049/0.5299, allocations: 153.8 MB / 0.7109 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008226/0.5382, allocations: 4.914 MB / 0.7157 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006302/0.5388, allocations: 27.75 kB / 0.7157 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009715/0.5398, allocations: 313.9 kB / 0.716 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.544, allocations: 1.368 MB / 0.7174 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.547, allocations: 1.058 MB / 0.7184 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.5495, allocations: 1.871 MB / 0.7202 GB, free: 32 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007226/0.5502, allocations: 389.6 kB / 0.7206 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.5529, allocations: 1.129 MB / 0.7217 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.5543, allocations: 0.7627 MB / 0.7225 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.5545, allocations: 60 kB / 0.7225 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.5559, allocations: 0.5501 MB / 0.7231 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.5562, allocations: 275.2 kB / 0.7233 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.5565, allocations: 326.6 kB / 0.7236 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.5583, allocations: 1.312 MB / 0.7249 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5583, allocations: 0 / 0.7249 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5583, allocations: 0 / 0.7249 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.5583, allocations: 0 / 0.7249 GB, free: 11.23 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.002379/0.5607, allocations: 1.038 MB / 0.7259 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.5607, allocations: 12.03 kB / 0.7259 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.5609, allocations: 102.5 kB / 0.726 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007906/0.5617, allocations: 139.4 kB / 0.7262 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009592/0.5626, allocations: 477.4 kB / 0.7266 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.5628, allocations: 163.8 kB / 0.7268 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.5629, allocations: 47.94 kB / 0.7268 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.5644, allocations: 1.14 MB / 0.7279 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.5644, allocations: 0 / 0.7279 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.5645, allocations: 24 kB / 0.728 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/0.5646, allocations: 44.86 kB / 0.728 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.5657, allocations: 0.6166 MB / 0.7286 GB, free: 7.195 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.00471/0.5704, allocations: 3.308 MB / 0.7318 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.571, allocations: 330.4 kB / 0.7322 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.5713, allocations: 161.3 kB / 0.7323 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.5714, allocations: 16.22 kB / 0.7323 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.5714, allocations: 42.83 kB / 0.7324 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.385e-06/0.5714, allocations: 0 / 0.7324 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005832/0.5773, allocations: 1.616 MB / 0.7339 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.5774, allocations: 132.5 kB / 0.7341 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/0.5782, allocations: 0.6288 MB / 0.7347 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.5782, allocations: 37.58 kB / 0.7347 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.5785, allocations: 375.8 kB / 0.7351 GB, free: 328 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.5787, allocations: 150.7 kB / 0.7352 GB, free: 176 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.5789, allocations: 166.6 kB / 0.7354 GB, free: 4 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2611/0.84, allocations: 370.4 kB / 0.7357 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.8405, allocations: 200.8 kB / 0.7359 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.8411, allocations: 0.5863 MB / 0.7365 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.8421, allocations: 0.7569 MB / 0.7372 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.8421, allocations: 3.312 kB / 0.7372 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001626/0.8437, allocations: 0.8706 MB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.8437, allocations: 12.81 kB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.8438, allocations: 9.609 kB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.8451, allocations: 314.1 kB / 0.7384 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.8454, allocations: 126.4 kB / 0.7385 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008382/0.8463, allocations: 0.9338 MB / 0.7394 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.8467, allocations: 25.72 kB / 0.7395 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.8468, allocations: 65.36 kB / 0.7395 GB, free: 173.4 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.0002905/0.8471, allocations: 247.7 kB / 0.7398 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.8472, allocations: 70.94 kB / 0.7398 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.8486, allocations: 0.8669 MB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8486, allocations: 5.188 kB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8486, allocations: 2.594 kB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8486, allocations: 2.156 kB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.8501, allocations: 1.146 MB / 0.7418 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.8501, allocations: 3.75 kB / 0.7418 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009449/0.8511, allocations: 215.4 kB / 0.742 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.794e-05/0.8511, allocations: 18.58 kB / 0.742 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.8512, allocations: 23.75 kB / 0.7421 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.8524, allocations: 2.661 MB / 0.7447 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.8524, allocations: 7.969 kB / 0.7447 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009259/0.8533, allocations: 0.8275 MB / 0.7455 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.8536, allocations: 118.3 kB / 0.7456 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.8537, allocations: 11.94 kB / 0.7456 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.854, allocations: 19.97 kB / 0.7456 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.8541, allocations: 42.84 kB / 0.7457 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.8542, allocations: 47.31 kB / 0.7457 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003834/0.8546, allocations: 436.5 kB / 0.7461 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8546, allocations: 0 / 0.7461 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007521/0.8553, allocations: 261.3 kB / 0.7464 GB, free: 167.7 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.001541/0.8568, allocations: 1.528 MB / 0.7479 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009145/0.8578, allocations: 0.5341 MB / 0.7484 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8578, allocations: 0 / 0.7484 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.8586, allocations: 409 kB / 0.7488 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.001454/0.86, allocations: 374.5 kB / 0.7491 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.8661, allocations: 6.332 MB / 0.7553 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.8664, allocations: 336.7 kB / 0.7556 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008235/0.8672, allocations: 476 kB / 0.7561 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.8676, allocations: 283.3 kB / 0.7564 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.8676, allocations: 0 / 0.7564 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05288/0.9205, allocations: 25.64 MB / 0.7814 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.75, allocations: 3.609 kB / 0.7814 GB, free: 131.8 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_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_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.934579658787698]