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.001491/0.001491, allocations: 110 kB / 20.43 MB, free: 1.453 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.001447/0.001447, allocations: 210.1 kB / 23.74 MB, free: 4.66 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 8 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.2242/0.2242, allocations: 46.93 MB / 360.8 MB, free: 4.203 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.00228/0.00228, allocations: 80.16 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3441, allocations: 66.08 MB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2134/0.5574, allocations: 178 MB / 0.7346 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3541/0.9115, allocations: 5.364 MB / 0.7398 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.9121, allocations: 27.38 kB / 0.7399 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.913, allocations: 325.4 kB / 0.7402 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.9163, allocations: 1.377 MB / 0.7415 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.9187, allocations: 1.081 MB / 0.7426 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.9208, allocations: 1.883 MB / 0.7444 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005509/0.9213, allocations: 399.5 kB / 0.7448 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.9235, allocations: 1.114 MB / 0.7459 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.9247, allocations: 0.8018 MB / 0.7467 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.9248, allocations: 61.5 kB / 0.7467 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.9262, allocations: 0.6406 MB / 0.7474 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.9264, allocations: 270.2 kB / 0.7476 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.9267, allocations: 399 kB / 0.748 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.9282, allocations: 1.306 MB / 0.7493 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9282, allocations: 0.9688 kB / 0.7493 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9282, allocations: 1.203 kB / 0.7493 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.9282, allocations: 0.875 kB / 0.7493 GB, free: 1.539 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.002204/0.9304, allocations: 1.048 MB / 0.7503 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.9304, allocations: 13.05 kB / 0.7503 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.9305, allocations: 99.3 kB / 0.7504 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007627/0.9313, allocations: 142.3 kB / 0.7505 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.9322, allocations: 472.6 kB / 0.751 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.9323, allocations: 151.8 kB / 0.7511 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.9324, allocations: 49.73 kB / 0.7512 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.9335, allocations: 0.8191 MB / 0.752 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.9335, allocations: 6.594 kB / 0.752 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.9336, allocations: 25.73 kB / 0.752 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.9336, allocations: 37.61 kB / 0.752 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.9345, allocations: 0.6219 MB / 0.7527 GB, free: 16.38 MB / 0.5762 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.004468/0.939, allocations: 3.894 MB / 0.7565 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.9395, allocations: 342.8 kB / 0.7568 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.9397, allocations: 162.8 kB / 0.7569 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.647e-05/0.9398, allocations: 18.48 kB / 0.757 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.9398, allocations: 38 kB / 0.757 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.9398, allocations: 3.656 kB / 0.757 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004981/0.9448, allocations: 1.602 MB / 0.7586 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.9449, allocations: 139 kB / 0.7587 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.9455, allocations: 0.6132 MB / 0.7593 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.9456, allocations: 35.83 kB / 0.7593 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.9458, allocations: 378.8 kB / 0.7597 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.9459, allocations: 147.5 kB / 0.7598 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.9461, allocations: 155.8 kB / 0.76 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.9463, allocations: 382.7 kB / 0.7603 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.9466, allocations: 204.4 kB / 0.7605 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/0.9472, allocations: 0.5116 MB / 0.761 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/0.9481, allocations: 0.7499 MB / 0.7618 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.9482, allocations: 5.531 kB / 0.7618 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00133/0.9495, allocations: 0.8815 MB / 0.7626 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.9495, allocations: 9.156 kB / 0.7626 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.9495, allocations: 11.5 kB / 0.7627 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.9508, allocations: 316.5 kB / 0.763 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.9512, allocations: 124.3 kB / 0.7631 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.9525, allocations: 0.9349 MB / 0.764 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.953, allocations: 27.61 kB / 0.764 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.9531, allocations: 67.88 kB / 0.7641 GB, free: 10.98 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.0004419/0.9536, allocations: 239.7 kB / 0.7643 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.9537, allocations: 75.77 kB / 0.7644 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.9553, allocations: 0.8643 MB / 0.7652 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.9553, allocations: 4.375 kB / 0.7652 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9553, allocations: 3 kB / 0.7652 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.9553, allocations: 3.609 kB / 0.7652 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.9573, allocations: 1.213 MB / 0.7664 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.9573, allocations: 7.031 kB / 0.7664 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/0.9583, allocations: 210.1 kB / 0.7666 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.507e-05/0.9584, allocations: 22.02 kB / 0.7666 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.9584, allocations: 20.06 kB / 0.7667 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.9606, allocations: 2.673 MB / 0.7693 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9606, allocations: 3.406 kB / 0.7693 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.9619, allocations: 0.8129 MB / 0.7701 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.9622, allocations: 126.1 kB / 0.7702 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.9623, allocations: 13.31 kB / 0.7702 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.9626, allocations: 17.92 kB / 0.7702 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.9627, allocations: 37.88 kB / 0.7703 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.9628, allocations: 41.88 kB / 0.7703 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005615/0.9634, allocations: 440 kB / 0.7707 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9634, allocations: 0 / 0.7707 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009823/0.9643, allocations: 259.6 kB / 0.771 GB, free: 7.5 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.002009/0.9663, allocations: 1.545 MB / 0.7725 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.9674, allocations: 0.5337 MB / 0.773 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9674, allocations: 2.297 kB / 0.773 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.9683, allocations: 415.6 kB / 0.7734 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.9699, allocations: 359.8 kB / 0.7737 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008015/0.9779, allocations: 6.333 MB / 0.7799 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.9785, allocations: 0.9353 MB / 0.7808 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001034/0.9795, allocations: 458.7 kB / 0.7813 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000411/0.9799, allocations: 288.8 kB / 0.7815 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.9799, allocations: 0 / 0.7815 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06556/1.045, allocations: 25 MB / 0.806 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.32, allocations: 16.45 kB / 0.806 GB, free: 6.785 MB / 0.5919 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: 18.504344934000983]