Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1449, allocations: 65.99 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5399/0.6848, allocations: 177.8 MB / 0.729 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008576/0.6934, allocations: 5.351 MB / 0.7343 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008562/0.6942, allocations: 27.75 kB / 0.7343 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.6954, allocations: 321.9 kB / 0.7346 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.7, allocations: 1.354 MB / 0.7359 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.7032, allocations: 1.054 MB / 0.737 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.7062, allocations: 1.867 MB / 0.7388 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.7072, allocations: 405.4 kB / 0.7392 GB, free: 5.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.7101, allocations: 1.109 MB / 0.7402 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.7121, allocations: 0.7939 MB / 0.741 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.7123, allocations: 63.98 kB / 0.7411 GB, free: 3.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.7143, allocations: 0.632 MB / 0.7417 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004892/0.7148, allocations: 275.1 kB / 0.742 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008666/0.7157, allocations: 394.2 kB / 0.7423 GB, free: 1.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.7185, allocations: 1.304 MB / 0.7436 GB, free: 496 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7185, allocations: 0 / 0.7436 GB, free: 496 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7185, allocations: 0 / 0.7436 GB, free: 496 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.177e-05/0.7186, allocations: 3.938 kB / 0.7436 GB, free: 492 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.003634/0.7222, allocations: 1.117 MB / 0.7447 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.7223, allocations: 16.03 kB / 0.7447 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002476/0.7225, allocations: 98.5 kB / 0.7448 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.7235, allocations: 143.4 kB / 0.745 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.7247, allocations: 0.5396 MB / 0.7455 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.7248, allocations: 96.41 kB / 0.7456 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.7249, allocations: 48 kB / 0.7456 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.7264, allocations: 0.8136 MB / 0.7464 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.7264, allocations: 11.88 kB / 0.7464 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/0.7265, allocations: 20 kB / 0.7464 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/0.7266, allocations: 36.98 kB / 0.7465 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.7279, allocations: 0.6282 MB / 0.7471 GB, free: 12.73 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.005423/0.7333, allocations: 3.933 MB / 0.7509 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.734, allocations: 347.2 kB / 0.7513 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.7343, allocations: 165.2 kB / 0.7514 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.7345, allocations: 93.38 kB / 0.7515 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.7345, allocations: 42.83 kB / 0.7516 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/0.7345, allocations: 0 / 0.7516 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006255/0.7408, allocations: 1.668 MB / 0.7532 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.7409, allocations: 140.5 kB / 0.7533 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.7417, allocations: 0.6133 MB / 0.7539 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.7418, allocations: 33.7 kB / 0.7539 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.7421, allocations: 379.8 kB / 0.7543 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.7423, allocations: 150.7 kB / 0.7545 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.7426, allocations: 162.6 kB / 0.7546 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.7428, allocations: 370.8 kB / 0.755 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.7432, allocations: 205.8 kB / 0.7552 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.7438, allocations: 0.5124 MB / 0.7557 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.745, allocations: 0.7477 MB / 0.7564 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.745, allocations: 4 kB / 0.7564 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001671/0.7466, allocations: 0.8837 MB / 0.7573 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.7467, allocations: 8 kB / 0.7573 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.7467, allocations: 12 kB / 0.7573 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.7482, allocations: 317.2 kB / 0.7576 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.7486, allocations: 127.8 kB / 0.7577 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.7498, allocations: 0.9325 MB / 0.7586 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.7504, allocations: 24 kB / 0.7586 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.7505, allocations: 71.98 kB / 0.7587 GB, free: 100 kB / 0.5606 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.0003936/0.7508, allocations: 245.5 kB / 0.7589 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.751, allocations: 71.58 kB / 0.759 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.7527, allocations: 0.8543 MB / 0.7598 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.7528, allocations: 8 kB / 0.7598 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.7528, allocations: 0.625 kB / 0.7598 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.7528, allocations: 3.984 kB / 0.7598 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.7551, allocations: 1.469 MB / 0.7613 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.7551, allocations: 4 kB / 0.7613 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.7562, allocations: 208.8 kB / 0.7615 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.7563, allocations: 24.84 kB / 0.7615 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.7564, allocations: 24.17 kB / 0.7615 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.7588, allocations: 2.875 MB / 0.7643 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.7588, allocations: 11.95 kB / 0.7644 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.7602, allocations: 0.8229 MB / 0.7652 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.7606, allocations: 188.7 kB / 0.7653 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.7607, allocations: 11.98 kB / 0.7653 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.7611, allocations: 16 kB / 0.7654 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.7612, allocations: 39.89 kB / 0.7654 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.7613, allocations: 48.05 kB / 0.7654 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005882/0.7619, allocations: 439 kB / 0.7659 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7619, allocations: 0 / 0.7659 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001042/0.7629, allocations: 259.7 kB / 0.7661 GB, free: 8.016 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.00248/0.7654, allocations: 1.541 MB / 0.7676 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.7668, allocations: 0.5338 MB / 0.7681 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.7668, allocations: 4 kB / 0.7681 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.7679, allocations: 404 kB / 0.7685 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.7698, allocations: 369.5 kB / 0.7689 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.7802, allocations: 6.311 MB / 0.775 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.7809, allocations: 0.9531 MB / 0.776 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001199/0.7821, allocations: 462.3 kB / 0.7764 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.7826, allocations: 283.3 kB / 0.7767 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.7826, allocations: 0 / 0.7767 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0684/0.851, allocations: 24.48 MB / 0.8006 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.39, allocations: 4.812 kB / 0.8006 GB, free: 4.5 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/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_4.1.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.73792379605584]