Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 116.8 kB / 18.5 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 185.2 kB / 21.43 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.92 MB / 349.6 MB, free: 1.715 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 75.27 kB / 491.8 MB, free: 30.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1334, allocations: 64.26 MB / 0.543 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5307/0.6641, allocations: 174.9 MB / 0.7138 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008488/0.6726, allocations: 5.354 MB / 0.719 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007815/0.6734, allocations: 19.88 kB / 0.719 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.6744, allocations: 330 kB / 0.7194 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.6784, allocations: 1.349 MB / 0.7207 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.6815, allocations: 1.06 MB / 0.7217 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.6839, allocations: 1.848 MB / 0.7235 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006415/0.6845, allocations: 405.4 kB / 0.7239 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.6868, allocations: 1.09 MB / 0.725 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.6881, allocations: 0.8022 MB / 0.7258 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.6882, allocations: 64 kB / 0.7258 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.6897, allocations: 0.6281 MB / 0.7264 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.69, allocations: 271.2 kB / 0.7267 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.6905, allocations: 402.2 kB / 0.7271 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.6924, allocations: 1.312 MB / 0.7284 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6924, allocations: 0 / 0.7284 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6924, allocations: 0 / 0.7284 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.6925, allocations: 0 / 0.7284 GB, free: 0.6211 MB / 0.5137 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.002428/0.6949, allocations: 1.117 MB / 0.7294 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.6949, allocations: 12.03 kB / 0.7295 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.6951, allocations: 102.5 kB / 0.7296 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.6959, allocations: 131.5 kB / 0.7297 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.6969, allocations: 0.5435 MB / 0.7302 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.6971, allocations: 100.4 kB / 0.7303 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6972, allocations: 51.98 kB / 0.7304 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.6985, allocations: 0.8058 MB / 0.7311 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.6985, allocations: 7.938 kB / 0.7311 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/0.6986, allocations: 27.94 kB / 0.7312 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.12e-05/0.6987, allocations: 44.91 kB / 0.7312 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.6998, allocations: 0.6204 MB / 0.7318 GB, free: 12.88 MB / 0.5294 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.004901/0.7047, allocations: 3.958 MB / 0.7357 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.7053, allocations: 345.3 kB / 0.736 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.7056, allocations: 157.3 kB / 0.7362 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.7057, allocations: 101.3 kB / 0.7363 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.7057, allocations: 38.84 kB / 0.7363 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.7057, allocations: 0 / 0.7363 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005621/0.7114, allocations: 1.668 MB / 0.7379 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.7115, allocations: 136.5 kB / 0.7381 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/0.7123, allocations: 0.6133 MB / 0.7387 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.7124, allocations: 33.7 kB / 0.7387 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.7127, allocations: 379.8 kB / 0.7391 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.7128, allocations: 150.7 kB / 0.7392 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.7131, allocations: 150.6 kB / 0.7393 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.7133, allocations: 382.8 kB / 0.7397 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.7137, allocations: 201.9 kB / 0.7399 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.7145, allocations: 0.5168 MB / 0.7404 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.7156, allocations: 0.7484 MB / 0.7411 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.7156, allocations: 4 kB / 0.7411 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001578/0.7172, allocations: 0.8728 MB / 0.742 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.7172, allocations: 12 kB / 0.742 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.7172, allocations: 12.88 kB / 0.742 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.7187, allocations: 316.6 kB / 0.7423 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.7191, allocations: 131.2 kB / 0.7424 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.7203, allocations: 0.9288 MB / 0.7433 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.7208, allocations: 31.98 kB / 0.7434 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.721, allocations: 64 kB / 0.7434 GB, free: 244 kB / 0.5294 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.0004414/0.7214, allocations: 249.5 kB / 0.7437 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7215, allocations: 71.58 kB / 0.7437 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.7232, allocations: 0.8547 MB / 0.7446 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.7232, allocations: 5.062 kB / 0.7446 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.7232, allocations: 4 kB / 0.7446 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.7232, allocations: 7.922 kB / 0.7446 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.7255, allocations: 1.458 MB / 0.746 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7255, allocations: 7.938 kB / 0.746 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.7265, allocations: 211.9 kB / 0.7462 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.7266, allocations: 24.84 kB / 0.7463 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.7267, allocations: 20.86 kB / 0.7463 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.7292, allocations: 2.877 MB / 0.7491 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.7292, allocations: 4.031 kB / 0.7491 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.7306, allocations: 0.8258 MB / 0.7499 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.731, allocations: 188.6 kB / 0.7501 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7311, allocations: 16.06 kB / 0.7501 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.7315, allocations: 15.98 kB / 0.7501 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.7316, allocations: 47.89 kB / 0.7502 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.7317, allocations: 39.98 kB / 0.7502 GB, free: 8.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006166/0.7323, allocations: 439 kB / 0.7506 GB, free: 8.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7323, allocations: 0 / 0.7506 GB, free: 8.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009294/0.7332, allocations: 255.7 kB / 0.7509 GB, free: 8.156 MB / 0.545 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.002339/0.7356, allocations: 1.556 MB / 0.7524 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.7368, allocations: 0.5389 MB / 0.7529 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7368, allocations: 0 / 0.7529 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.7378, allocations: 407.2 kB / 0.7533 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.7394, allocations: 374.4 kB / 0.7536 GB, free: 5.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008954/0.7483, allocations: 6.333 MB / 0.7598 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.749, allocations: 0.9338 MB / 0.7607 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001023/0.75, allocations: 462.4 kB / 0.7612 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.7505, allocations: 287.3 kB / 0.7615 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.7505, allocations: 0 / 0.7615 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0657/0.8162, allocations: 24.51 MB / 0.7854 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.97, allocations: 23.55 kB / 0.7854 GB, free: 4.535 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.265240657143295]