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.0008503/0.0008503, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 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.0008689/0.0008689, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 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 0.9108/0.9108, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2643/0.2643, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 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 2.344e-06/2.344e-06, allocations: 0 / 376.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.913e-05/4.148e-05, allocations: 4.844 kB / 376.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3061/0.3062, allocations: 153.8 MB / 0.5181 GB, free: 9.781 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.3115, allocations: 4.918 MB / 0.5229 GB, free: 6.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.3123, allocations: 26.94 kB / 0.5229 GB, free: 6.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008307/0.3131, allocations: 318.8 kB / 0.5232 GB, free: 6.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.3164, allocations: 1.397 MB / 0.5246 GB, free: 5.508 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.3189, allocations: 1.075 MB / 0.5256 GB, free: 4.973 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.3214, allocations: 1.879 MB / 0.5274 GB, free: 4.109 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009365/0.3224, allocations: 413.8 kB / 0.5278 GB, free: 3.859 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.325, allocations: 1.35 MB / 0.5292 GB, free: 3.277 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3262, allocations: 0.7228 MB / 0.5299 GB, free: 3.047 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.3264, allocations: 61.34 kB / 0.5299 GB, free: 3.047 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3276, allocations: 0.5675 MB / 0.5305 GB, free: 2.879 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.3279, allocations: 281.3 kB / 0.5307 GB, free: 2.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.3282, allocations: 287.4 kB / 0.531 GB, free: 2.641 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.3298, allocations: 1.388 MB / 0.5324 GB, free: 2.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3298, allocations: 0 / 0.5324 GB, free: 2.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3298, allocations: 3.406 kB / 0.5324 GB, free: 2.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.767e-05/0.3299, allocations: 0 / 0.5324 GB, free: 2.168 MB / 410.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.001879/0.3318, allocations: 1.039 MB / 0.5334 GB, free: 1.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3318, allocations: 10.95 kB / 0.5334 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3319, allocations: 95.42 kB / 0.5335 GB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.3326, allocations: 225 kB / 0.5337 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.3333, allocations: 494.8 kB / 0.5342 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.3334, allocations: 162.8 kB / 0.5343 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.3334, allocations: 48.09 kB / 0.5344 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/0.3344, allocations: 1.139 MB / 0.5355 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.3344, allocations: 9.359 kB / 0.5355 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.3344, allocations: 28.14 kB / 0.5355 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/0.3345, allocations: 42.36 kB / 0.5356 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.3353, allocations: 0.6162 MB / 0.5362 GB, free: 15.64 MB / 426.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.003669/0.3389, allocations: 3.311 MB / 0.5394 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.3394, allocations: 342.2 kB / 0.5397 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3396, allocations: 161.2 kB / 0.5399 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3397, allocations: 13.59 kB / 0.5399 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3397, allocations: 37.5 kB / 0.5399 GB, free: 12.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.475e-06/0.3397, allocations: 0 / 0.5399 GB, free: 12.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003705/0.3434, allocations: 1.613 MB / 0.5415 GB, free: 11.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.3435, allocations: 135.4 kB / 0.5416 GB, free: 11.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.3441, allocations: 0.6331 MB / 0.5423 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.3442, allocations: 37.08 kB / 0.5423 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.3444, allocations: 375.2 kB / 0.5426 GB, free: 10.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.3445, allocations: 145.8 kB / 0.5428 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3447, allocations: 157.3 kB / 0.5429 GB, free: 10.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3449, allocations: 382.5 kB / 0.5433 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.3451, allocations: 203.9 kB / 0.5435 GB, free: 10.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.3456, allocations: 0.5889 MB / 0.5441 GB, free: 9.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.3464, allocations: 0.7466 MB / 0.5448 GB, free: 8.789 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.3464, allocations: 2.938 kB / 0.5448 GB, free: 8.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00124/0.3476, allocations: 0.9107 MB / 0.5457 GB, free: 8.328 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.3476, allocations: 10.5 kB / 0.5457 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3476, allocations: 9.031 kB / 0.5457 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009642/0.3486, allocations: 317.8 kB / 0.546 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3489, allocations: 130.9 kB / 0.5461 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009582/0.3498, allocations: 0.9328 MB / 0.5471 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.3503, allocations: 28.03 kB / 0.5471 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.3503, allocations: 63.55 kB / 0.5471 GB, free: 7.422 MB / 426.7 MB 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.0003789/0.3507, allocations: 249.8 kB / 0.5474 GB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3508, allocations: 87.83 kB / 0.5475 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.3519, allocations: 0.8632 MB / 0.5483 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3519, allocations: 5.188 kB / 0.5483 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3519, allocations: 0 / 0.5483 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.3519, allocations: 3.984 kB / 0.5483 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.3534, allocations: 1.149 MB / 0.5494 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.3535, allocations: 4 kB / 0.5494 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.354, allocations: 207.8 kB / 0.5496 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.084e-05/0.3541, allocations: 28.78 kB / 0.5497 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.3541, allocations: 16 kB / 0.5497 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.3558, allocations: 2.669 MB / 0.5523 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3558, allocations: 0 / 0.5523 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.3568, allocations: 0.843 MB / 0.5531 GB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.357, allocations: 111.5 kB / 0.5532 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.3571, allocations: 11.94 kB / 0.5532 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3573, allocations: 19.73 kB / 0.5532 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3574, allocations: 47.88 kB / 0.5533 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.3575, allocations: 43.98 kB / 0.5533 GB, free: 1.371 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005023/0.358, allocations: 443 kB / 0.5538 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.358, allocations: 0 / 0.5538 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007824/0.3587, allocations: 255.7 kB / 0.554 GB, free: 0.6953 MB / 426.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 (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.001658/0.3604, allocations: 1.553 MB / 0.5555 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008308/0.3612, allocations: 0.5277 MB / 0.556 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3612, allocations: 0 / 0.556 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.3618, allocations: 418.2 kB / 0.5564 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/0.3628, allocations: 375.5 kB / 0.5568 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/0.3696, allocations: 6.319 MB / 0.563 GB, free: 7.074 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.3698, allocations: 332.7 kB / 0.5633 GB, free: 6.723 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008449/0.3707, allocations: 464.9 kB / 0.5637 GB, free: 6.273 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.371, allocations: 288.4 kB / 0.564 GB, free: 5.992 MB / 442.7 MB Notification: Performance of SimCode: time 1.914e-06/0.371, allocations: 0 / 0.564 GB, free: 5.992 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/0.417, allocations: 25.83 MB / 0.5892 GB, free: 12.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/9.061, allocations: 4.062 kB / 0.5892 GB, free: 12.46 MB / 474.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/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: 11.13544118590653]