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.001211/0.001211, allocations: 110.4 kB / 21.1 MB, free: 0.7891 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.001356/0.001356, allocations: 205.4 kB / 24.38 MB, free: 4.203 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.436/1.436, allocations: 230.2 MB / 257.7 MB, free: 8.289 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.2319/0.2319, allocations: 46.89 MB / 361 MB, free: 4.484 MB / 286.1 MB " [Timeout remaining time 179] 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.002492/0.002492, allocations: 71.88 kB / 0.4962 GB, free: 8.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3943, allocations: 66.02 MB / 0.5607 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2283/0.6226, allocations: 176.1 MB / 0.7326 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4151/1.038, allocations: 5.319 MB / 0.7378 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/1.039, allocations: 28.34 kB / 0.7379 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/1.04, allocations: 324 kB / 0.7382 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/1.044, allocations: 1.382 MB / 0.7395 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/1.047, allocations: 1.068 MB / 0.7406 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003426/1.05, allocations: 1.886 MB / 0.7424 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009044/1.051, allocations: 398.3 kB / 0.7428 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/1.054, allocations: 1.117 MB / 0.7439 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/1.055, allocations: 0.8052 MB / 0.7447 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/1.055, allocations: 59.78 kB / 0.7447 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/1.057, allocations: 0.5682 MB / 0.7453 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003204/1.057, allocations: 269.1 kB / 0.7455 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005556/1.058, allocations: 396.3 kB / 0.7459 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/1.06, allocations: 1.296 MB / 0.7472 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.06, allocations: 0.8125 kB / 0.7472 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/1.06, allocations: 0 / 0.7472 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.06, allocations: 0 / 0.7472 GB, free: 1.586 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.002365/1.062, allocations: 1.119 MB / 0.7483 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.062, allocations: 8.469 kB / 0.7483 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/1.062, allocations: 106.2 kB / 0.7484 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/1.063, allocations: 139.2 kB / 0.7485 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/1.064, allocations: 0.5359 MB / 0.749 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/1.064, allocations: 99.94 kB / 0.7491 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/1.064, allocations: 50 kB / 0.7492 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/1.065, allocations: 0.8229 MB / 0.75 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.065, allocations: 3.188 kB / 0.75 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/1.065, allocations: 27.64 kB / 0.75 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/1.065, allocations: 39.58 kB / 0.75 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/1.066, allocations: 0.6163 MB / 0.7506 GB, free: 16.32 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.004393/1.071, allocations: 3.929 MB / 0.7545 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/1.071, allocations: 343.6 kB / 0.7548 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/1.071, allocations: 165.2 kB / 0.755 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/1.072, allocations: 92.52 kB / 0.7551 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/1.072, allocations: 40.5 kB / 0.7551 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/1.072, allocations: 0 / 0.7551 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005042/1.077, allocations: 1.685 MB / 0.7567 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/1.077, allocations: 139.2 kB / 0.7569 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/1.077, allocations: 0.6128 MB / 0.7575 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/1.077, allocations: 33.27 kB / 0.7575 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/1.078, allocations: 379.6 kB / 0.7579 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/1.078, allocations: 150.9 kB / 0.758 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/1.078, allocations: 159.6 kB / 0.7582 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.078, allocations: 375.1 kB / 0.7585 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/1.079, allocations: 202.6 kB / 0.7587 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/1.079, allocations: 0.5139 MB / 0.7592 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/1.08, allocations: 0.7478 MB / 0.7599 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.08, allocations: 2.844 kB / 0.7599 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001331/1.081, allocations: 0.8816 MB / 0.7608 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.081, allocations: 12.89 kB / 0.7608 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.081, allocations: 10.66 kB / 0.7608 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/1.083, allocations: 308.1 kB / 0.7611 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/1.083, allocations: 125.4 kB / 0.7612 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/1.084, allocations: 0.9322 MB / 0.7622 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/1.085, allocations: 41.61 kB / 0.7622 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.818e-05/1.085, allocations: 65.12 kB / 0.7623 GB, free: 10.71 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.0003619/1.085, allocations: 247 kB / 0.7625 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.085, allocations: 71.11 kB / 0.7626 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/1.087, allocations: 0.8636 MB / 0.7634 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.087, allocations: 9.234 kB / 0.7634 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.087, allocations: 0 / 0.7634 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.087, allocations: 5.984 kB / 0.7634 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1.088, allocations: 1.463 MB / 0.7648 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.088, allocations: 0 / 0.7648 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009266/1.089, allocations: 206.9 kB / 0.765 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.439e-05/1.089, allocations: 28.27 kB / 0.7651 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/1.089, allocations: 19.92 kB / 0.7651 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/1.092, allocations: 2.876 MB / 0.7679 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.092, allocations: 9.516 kB / 0.7679 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/1.093, allocations: 0.8111 MB / 0.7687 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/1.093, allocations: 193.5 kB / 0.7689 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-05/1.093, allocations: 19.02 kB / 0.7689 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/1.093, allocations: 15 kB / 0.7689 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/1.094, allocations: 44.45 kB / 0.769 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/1.094, allocations: 42.94 kB / 0.769 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004729/1.094, allocations: 442.8 kB / 0.7694 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/1.094, allocations: 0 / 0.7694 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008969/1.095, allocations: 255.3 kB / 0.7697 GB, free: 6.559 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.001874/1.097, allocations: 1.545 MB / 0.7712 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.098, allocations: 0.5303 MB / 0.7717 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.098, allocations: 0 / 0.7717 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008612/1.099, allocations: 409.1 kB / 0.7721 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/1.1, allocations: 362.6 kB / 0.7724 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009635/1.11, allocations: 6.332 MB / 0.7786 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/1.11, allocations: 0.9333 MB / 0.7795 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001026/1.111, allocations: 469.8 kB / 0.78 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/1.112, allocations: 287.7 kB / 0.7802 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/1.112, allocations: 4 kB / 0.7802 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05937/1.171, allocations: 24.96 MB / 0.8046 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.04, allocations: 7.422 kB / 0.8046 GB, free: 6.992 MB / 0.5919 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.0.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] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 17.281007129931822]