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.001621/0.001621, allocations: 127.4 kB / 17.79 MB, free: 5.242 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.001949/0.001949, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.523/1.523, allocations: 230.4 MB / 254 MB, free: 15.04 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.2317/0.2317, allocations: 46.93 MB / 357 MB, free: 10.18 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.003886/0.003886, allocations: 75.88 kB / 0.491 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1795, allocations: 66.05 MB / 0.5555 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5766/0.7562, allocations: 177.8 MB / 0.7291 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008513/0.7647, allocations: 5.35 MB / 0.7344 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/0.7656, allocations: 27.75 kB / 0.7344 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.7668, allocations: 325.9 kB / 0.7347 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.771, allocations: 1.355 MB / 0.736 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.7742, allocations: 1.049 MB / 0.737 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.7773, allocations: 1.86 MB / 0.7389 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.7784, allocations: 401.4 kB / 0.7392 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.7815, allocations: 1.125 MB / 0.7403 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.7834, allocations: 0.7861 MB / 0.7411 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.7837, allocations: 60 kB / 0.7412 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.7856, allocations: 0.6359 MB / 0.7418 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.7861, allocations: 271.2 kB / 0.742 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008655/0.787, allocations: 394.2 kB / 0.7424 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.7898, allocations: 1.308 MB / 0.7437 GB, free: 224 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7898, allocations: 0 / 0.7437 GB, free: 224 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7898, allocations: 0 / 0.7437 GB, free: 224 kB / 0.545 GB Notification: Performance of Transformations before backend: time 3.868e-05/0.7898, allocations: 4 kB / 0.7437 GB, free: 220 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.003043/0.7929, allocations: 1.121 MB / 0.7448 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/0.7929, allocations: 8.031 kB / 0.7448 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002081/0.7931, allocations: 94.52 kB / 0.7449 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009602/0.7941, allocations: 147.4 kB / 0.745 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.7951, allocations: 0.5434 MB / 0.7456 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.7953, allocations: 96.41 kB / 0.7457 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.7954, allocations: 47.98 kB / 0.7457 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.7969, allocations: 0.8136 MB / 0.7465 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.7969, allocations: 3.938 kB / 0.7465 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.797, allocations: 24 kB / 0.7465 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/0.797, allocations: 36.98 kB / 0.7466 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.7982, allocations: 0.6243 MB / 0.7472 GB, free: 12.48 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.005235/0.8035, allocations: 3.929 MB / 0.751 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.8041, allocations: 359.9 kB / 0.7514 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.8044, allocations: 161.3 kB / 0.7515 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.8046, allocations: 89.38 kB / 0.7516 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.8046, allocations: 42.83 kB / 0.7516 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.8046, allocations: 0 / 0.7516 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006357/0.811, allocations: 1.672 MB / 0.7533 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.8111, allocations: 140.5 kB / 0.7534 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009005/0.812, allocations: 0.6133 MB / 0.754 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.8121, allocations: 33.7 kB / 0.754 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.8124, allocations: 375.8 kB / 0.7544 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.8125, allocations: 146.8 kB / 0.7545 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.8128, allocations: 162.6 kB / 0.7547 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.813, allocations: 374.8 kB / 0.755 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.8134, allocations: 205.9 kB / 0.7552 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.8141, allocations: 0.5086 MB / 0.7557 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.8152, allocations: 0.7477 MB / 0.7565 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.8153, allocations: 4 kB / 0.7565 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001743/0.817, allocations: 0.88 MB / 0.7573 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.817, allocations: 9.719 kB / 0.7573 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.817, allocations: 12 kB / 0.7573 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.8185, allocations: 316.3 kB / 0.7576 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.8189, allocations: 131.7 kB / 0.7578 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.8202, allocations: 0.9347 MB / 0.7587 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.8208, allocations: 27.19 kB / 0.7587 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.8209, allocations: 71.98 kB / 0.7588 GB, free: 15.85 MB / 0.5762 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.000448/0.8213, allocations: 242.2 kB / 0.759 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.8215, allocations: 71.58 kB / 0.7591 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.8234, allocations: 0.861 MB / 0.7599 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.8234, allocations: 4 kB / 0.7599 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8234, allocations: 7.938 kB / 0.7599 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.8234, allocations: 3.984 kB / 0.7599 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.8261, allocations: 1.457 MB / 0.7614 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.8261, allocations: 8.719 kB / 0.7614 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.8272, allocations: 207.8 kB / 0.7616 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.8273, allocations: 32.77 kB / 0.7616 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.8274, allocations: 23.98 kB / 0.7616 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.8299, allocations: 2.866 MB / 0.7644 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.8299, allocations: 16.11 kB / 0.7644 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.8315, allocations: 0.8274 MB / 0.7652 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.832, allocations: 184.6 kB / 0.7654 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.8322, allocations: 15.92 kB / 0.7654 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.8327, allocations: 12 kB / 0.7654 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.8328, allocations: 43.89 kB / 0.7655 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/0.8329, allocations: 43.98 kB / 0.7655 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007051/0.8336, allocations: 439 kB / 0.7659 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8336, allocations: 4.062 kB / 0.766 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001081/0.8347, allocations: 251.8 kB / 0.7662 GB, free: 7.77 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.00257/0.8372, allocations: 1.545 MB / 0.7677 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.8387, allocations: 0.5385 MB / 0.7682 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.8387, allocations: 4 kB / 0.7682 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.8399, allocations: 403.1 kB / 0.7686 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.8419, allocations: 374.5 kB / 0.769 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.8524, allocations: 6.322 MB / 0.7751 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.8531, allocations: 0.9376 MB / 0.7761 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001184/0.8543, allocations: 466.3 kB / 0.7765 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.8548, allocations: 283.3 kB / 0.7768 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/0.8548, allocations: 0 / 0.7768 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/0.9275, allocations: 24.47 MB / 0.8007 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.2, allocations: 8 kB / 0.8007 GB, free: 4.211 MB / 0.6075 GB " [Timeout remaining time 646] (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.597143277991563]