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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 94.94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 168.5 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.25 MB / 337.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003298, allocations: 8 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4448/0.5678, allocations: 170.2 MB / 0.6276 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007946/0.5758, allocations: 5.424 MB / 0.6329 GB, free: 2.875 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009762/0.5768, allocations: 23.75 kB / 0.6329 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.5778, allocations: 274.5 kB / 0.6331 GB, free: 2.582 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.5814, allocations: 1.205 MB / 0.6343 GB, free: 1.379 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.5839, allocations: 0.9477 MB / 0.6352 GB, free: 444 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.5867, allocations: 2.71 MB / 0.6379 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007611/0.5875, allocations: 400.6 kB / 0.6383 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.5897, allocations: 0.9613 MB / 0.6392 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.5912, allocations: 0.7666 MB / 0.64 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.5914, allocations: 36 kB / 0.64 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.5927, allocations: 0.5329 MB / 0.6405 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.5931, allocations: 239.2 kB / 0.6407 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000588/0.5937, allocations: 403.9 kB / 0.6411 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.5954, allocations: 1.254 MB / 0.6424 GB, free: 9.129 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.5954, allocations: 0 / 0.6424 GB, free: 9.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5955, allocations: 0 / 0.6424 GB, free: 9.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.939e-05/0.5955, allocations: 0 / 0.6424 GB, free: 9.129 MB / 478.1 MB 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.002073/0.5976, allocations: 0.9504 MB / 0.6433 GB, free: 8.125 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5976, allocations: 11.97 kB / 0.6433 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001876/0.5978, allocations: 102.5 kB / 0.6434 GB, free: 8.004 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008537/0.5987, allocations: 135.1 kB / 0.6435 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007882/0.5995, allocations: 0.504 MB / 0.644 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/0.5996, allocations: 100.4 kB / 0.6441 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.5997, allocations: 44 kB / 0.6441 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.6009, allocations: 0.8183 MB / 0.6449 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.6009, allocations: 11.92 kB / 0.645 GB, free: 6.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.601, allocations: 24 kB / 0.645 GB, free: 6.246 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.601, allocations: 32.98 kB / 0.645 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.6021, allocations: 0.6282 MB / 0.6456 GB, free: 5.586 MB / 478.1 MB 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.004232/0.6063, allocations: 3.969 MB / 0.6495 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.6069, allocations: 354 kB / 0.6498 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.6071, allocations: 169.3 kB / 0.65 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.6073, allocations: 97.38 kB / 0.6501 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.6073, allocations: 38.84 kB / 0.6501 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.6073, allocations: 0 / 0.6501 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005336/0.6126, allocations: 1.675 MB / 0.6518 GB, free: 14.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.6127, allocations: 136.5 kB / 0.6519 GB, free: 14.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.6134, allocations: 0.6094 MB / 0.6525 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.6135, allocations: 33.7 kB / 0.6525 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.6137, allocations: 370.8 kB / 0.6529 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.6139, allocations: 142.1 kB / 0.653 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-05/0.614, allocations: 61.62 kB / 0.6531 GB, free: 13.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6141, allocations: 374.8 kB / 0.6534 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.6145, allocations: 209.9 kB / 0.6536 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.615, allocations: 0.5125 MB / 0.6541 GB, free: 12.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.616, allocations: 0.7563 MB / 0.6549 GB, free: 11.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.616, allocations: 0 / 0.6549 GB, free: 11.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001447/0.6175, allocations: 0.884 MB / 0.6557 GB, free: 10.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6175, allocations: 12.06 kB / 0.6557 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6175, allocations: 8 kB / 0.6557 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.6189, allocations: 316.6 kB / 0.6561 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.6192, allocations: 131.6 kB / 0.6562 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.6203, allocations: 0.9296 MB / 0.6571 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.6209, allocations: 51.81 kB / 0.6571 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.6209, allocations: 60 kB / 0.6572 GB, free: 8.98 MB / 494.1 MB 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.0003418/0.6213, allocations: 257.5 kB / 0.6574 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.6214, allocations: 67.25 kB / 0.6575 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.6232, allocations: 0.8658 MB / 0.6583 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6232, allocations: 4 kB / 0.6584 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6232, allocations: 4 kB / 0.6584 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6232, allocations: 0 / 0.6584 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.6251, allocations: 1.461 MB / 0.6598 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6251, allocations: 0 / 0.6598 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/0.6261, allocations: 215.9 kB / 0.66 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.459e-05/0.6262, allocations: 24.84 kB / 0.66 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.6263, allocations: 16 kB / 0.66 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.6281, allocations: 2.688 MB / 0.6627 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6281, allocations: 4.031 kB / 0.6627 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.6293, allocations: 0.8089 MB / 0.6634 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.6296, allocations: 196.2 kB / 0.6636 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/0.6297, allocations: 8 kB / 0.6636 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.6301, allocations: 27.98 kB / 0.6637 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.6302, allocations: 40.02 kB / 0.6637 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.6303, allocations: 47.92 kB / 0.6638 GB, free: 1.777 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004914/0.6308, allocations: 439 kB / 0.6642 GB, free: 1.352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6308, allocations: 0 / 0.6642 GB, free: 1.352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008568/0.6316, allocations: 259.9 kB / 0.6644 GB, free: 1.098 MB / 494.1 MB 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.002082/0.6337, allocations: 1.564 MB / 0.6659 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.6348, allocations: 0.5359 MB / 0.6665 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6348, allocations: 0 / 0.6665 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000929/0.6357, allocations: 422.3 kB / 0.6669 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.6376, allocations: 344 kB / 0.6672 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008512/0.6461, allocations: 6.848 MB / 0.6739 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.6466, allocations: 0.9261 MB / 0.6748 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001197/0.6478, allocations: 466.4 kB / 0.6752 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.6483, allocations: 279.3 kB / 0.6755 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.6483, allocations: 0 / 0.6755 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0444/0.6927, allocations: 23.2 MB / 0.6982 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.693, allocations: 319.5 kB / 0.6985 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.054, allocations: 0 / 0.6985 GB, free: 14.05 MB / 0.5294 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches