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.0006743/0.0006744, allocations: 92.78 kB / 17.35 MB, free: 6.371 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.000761/0.0007611, allocations: 176.6 kB / 18.25 MB, free: 5.523 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.368/1.368, allocations: 223.2 MB / 242.3 MB, free: 228 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.2138/0.2138, allocations: 44.24 MB / 337.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 9.219 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4776/0.6066, allocations: 170.3 MB / 0.6275 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0082/0.6149, allocations: 5.41 MB / 0.6328 GB, free: 2.898 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.6158, allocations: 27.75 kB / 0.6329 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.6167, allocations: 278.5 kB / 0.6331 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.62, allocations: 1.205 MB / 0.6343 GB, free: 1.391 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.6224, allocations: 0.9505 MB / 0.6352 GB, free: 460 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.625, allocations: 2.71 MB / 0.6379 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.6256, allocations: 398.4 kB / 0.6383 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.6275, allocations: 0.9534 MB / 0.6392 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.6286, allocations: 0.7705 MB / 0.6399 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.6287, allocations: 35.98 kB / 0.64 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.6301, allocations: 0.5305 MB / 0.6405 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.6304, allocations: 239.2 kB / 0.6407 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.6308, allocations: 411.9 kB / 0.6411 GB, free: 10.4 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.6324, allocations: 1.254 MB / 0.6423 GB, free: 9.141 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6324, allocations: 0 / 0.6423 GB, free: 9.141 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6324, allocations: 0 / 0.6423 GB, free: 9.141 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.6324, allocations: 0 / 0.6423 GB, free: 9.141 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.002028/0.6344, allocations: 0.9465 MB / 0.6433 GB, free: 8.145 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6345, allocations: 11.97 kB / 0.6433 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.6346, allocations: 95.33 kB / 0.6434 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007565/0.6354, allocations: 143.1 kB / 0.6435 GB, free: 7.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.6361, allocations: 0.504 MB / 0.644 GB, free: 7.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.6362, allocations: 100.4 kB / 0.6441 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6363, allocations: 51.98 kB / 0.6441 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.6376, allocations: 0.8174 MB / 0.6449 GB, free: 6.293 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.6376, allocations: 4 kB / 0.6449 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.6377, allocations: 27.94 kB / 0.645 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.6377, allocations: 36.98 kB / 0.645 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.6387, allocations: 0.623 MB / 0.6456 GB, free: 5.605 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.004459/0.6432, allocations: 3.969 MB / 0.6495 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.6438, allocations: 353.9 kB / 0.6498 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.6441, allocations: 165.3 kB / 0.65 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.6442, allocations: 97.38 kB / 0.6501 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6443, allocations: 50.77 kB / 0.6501 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.6443, allocations: 0 / 0.6501 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005406/0.6497, allocations: 1.667 MB / 0.6518 GB, free: 14.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.6498, allocations: 136.5 kB / 0.6519 GB, free: 14.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/0.6505, allocations: 0.6132 MB / 0.6525 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.6505, allocations: 37.7 kB / 0.6525 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.6508, allocations: 374.8 kB / 0.6529 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.6509, allocations: 138.1 kB / 0.653 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.97e-05/0.651, allocations: 57.69 kB / 0.6531 GB, free: 13.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6512, allocations: 374.8 kB / 0.6534 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.6515, allocations: 205.9 kB / 0.6536 GB, free: 12.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.6521, allocations: 0.5125 MB / 0.6541 GB, free: 12.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009446/0.6531, allocations: 0.7563 MB / 0.6549 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6531, allocations: 0 / 0.6549 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001379/0.6545, allocations: 0.8832 MB / 0.6557 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.6545, allocations: 12 kB / 0.6557 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6546, allocations: 8 kB / 0.6557 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.656, allocations: 317.4 kB / 0.656 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.6563, allocations: 131.7 kB / 0.6562 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.6574, allocations: 0.9221 MB / 0.6571 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.658, allocations: 59.81 kB / 0.6571 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.6581, allocations: 64 kB / 0.6572 GB, free: 8.996 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.0003622/0.6584, allocations: 249.5 kB / 0.6574 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.6585, allocations: 63.25 kB / 0.6575 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.6602, allocations: 0.8619 MB / 0.6583 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6602, allocations: 8 kB / 0.6583 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6603, allocations: 4 kB / 0.6583 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6603, allocations: 0 / 0.6583 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.6623, allocations: 1.461 MB / 0.6598 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.6623, allocations: 3.938 kB / 0.6598 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/0.6633, allocations: 211.8 kB / 0.66 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.901e-05/0.6634, allocations: 24.84 kB / 0.66 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.6634, allocations: 24.17 kB / 0.66 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.6653, allocations: 2.687 MB / 0.6626 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6653, allocations: 0 / 0.6626 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.6665, allocations: 0.8129 MB / 0.6634 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.6667, allocations: 196.2 kB / 0.6636 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.6668, allocations: 12 kB / 0.6636 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.6672, allocations: 27.98 kB / 0.6637 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/0.6673, allocations: 35.95 kB / 0.6637 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.6674, allocations: 47.97 kB / 0.6637 GB, free: 1.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005128/0.6679, allocations: 447 kB / 0.6642 GB, free: 1.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6679, allocations: 0 / 0.6642 GB, free: 1.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008933/0.6688, allocations: 255.9 kB / 0.6644 GB, free: 1.113 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.002014/0.6709, allocations: 1.558 MB / 0.6659 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.6719, allocations: 0.5437 MB / 0.6665 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6719, allocations: 0 / 0.6665 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.6728, allocations: 418.7 kB / 0.6669 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.6746, allocations: 346.7 kB / 0.6672 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008797/0.6834, allocations: 6.843 MB / 0.6739 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.684, allocations: 0.9378 MB / 0.6748 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001331/0.6853, allocations: 464.7 kB / 0.6752 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/0.6859, allocations: 287.3 kB / 0.6755 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.6859, allocations: 0 / 0.6755 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/0.7345, allocations: 23.19 MB / 0.6981 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.7348, allocations: 316.1 kB / 0.6985 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.098, allocations: 6.953 kB / 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches