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.001441/0.001441, allocations: 112.7 kB / 17.33 MB, free: 5.984 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.001627/0.001627, allocations: 193.3 kB / 18.25 MB, free: 5.086 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: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.18 MB / 336.3 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 65.22 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1274, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4939/0.6213, allocations: 172.5 MB / 0.6263 GB, free: 4.383 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008882/0.6302, allocations: 5.406 MB / 0.6316 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.6314, allocations: 23.81 kB / 0.6316 GB, free: 14.94 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.6327, allocations: 278.5 kB / 0.6319 GB, free: 14.67 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.6373, allocations: 1.236 MB / 0.6331 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.6408, allocations: 0.9841 MB / 0.6341 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.6437, allocations: 1.861 MB / 0.6359 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/0.6448, allocations: 462.5 kB / 0.6363 GB, free: 10.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.6477, allocations: 1.059 MB / 0.6374 GB, free: 9.074 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.6497, allocations: 0.7901 MB / 0.6381 GB, free: 8.281 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003555/0.6501, allocations: 60 kB / 0.6382 GB, free: 8.223 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.6524, allocations: 0.5852 MB / 0.6388 GB, free: 7.637 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006406/0.6531, allocations: 263.3 kB / 0.639 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.6542, allocations: 402.2 kB / 0.6394 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.657, allocations: 1.309 MB / 0.6407 GB, free: 5.672 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.657, allocations: 0 / 0.6407 GB, free: 5.672 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6571, allocations: 0 / 0.6407 GB, free: 5.672 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.536e-05/0.6571, allocations: 0 / 0.6407 GB, free: 5.672 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.003454/0.6606, allocations: 1.095 MB / 0.6417 GB, free: 4.523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.6606, allocations: 8.031 kB / 0.6418 GB, free: 4.516 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003147/0.661, allocations: 102.5 kB / 0.6419 GB, free: 4.406 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.662, allocations: 135 kB / 0.642 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.6631, allocations: 0.5041 MB / 0.6425 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.6633, allocations: 100.4 kB / 0.6426 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.6634, allocations: 55.91 kB / 0.6426 GB, free: 3.562 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.665, allocations: 0.8174 MB / 0.6434 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.665, allocations: 3.938 kB / 0.6434 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6651, allocations: 27.98 kB / 0.6435 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.841e-05/0.6652, allocations: 40.98 kB / 0.6435 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.6664, allocations: 0.6243 MB / 0.6441 GB, free: 1.977 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.005351/0.6717, allocations: 3.957 MB / 0.648 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.6724, allocations: 359.6 kB / 0.6483 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.6727, allocations: 173.3 kB / 0.6485 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.6728, allocations: 89.38 kB / 0.6486 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.6729, allocations: 38.84 kB / 0.6486 GB, free: 13.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.205e-06/0.6729, allocations: 0 / 0.6486 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.00604/0.6789, allocations: 1.676 MB / 0.6502 GB, free: 11.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.679, allocations: 140.5 kB / 0.6504 GB, free: 11.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008177/0.6799, allocations: 0.6171 MB / 0.651 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/0.6799, allocations: 33.7 kB / 0.651 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.6802, allocations: 366.9 kB / 0.6514 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.6804, allocations: 145.9 kB / 0.6515 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.6806, allocations: 158.6 kB / 0.6516 GB, free: 9.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002623/0.6809, allocations: 370.8 kB / 0.652 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.6813, allocations: 201.9 kB / 0.6522 GB, free: 9.262 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.682, allocations: 0.5163 MB / 0.6527 GB, free: 8.598 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.6831, allocations: 0.7524 MB / 0.6534 GB, free: 7.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.6832, allocations: 4 kB / 0.6534 GB, free: 7.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001618/0.6848, allocations: 0.8873 MB / 0.6543 GB, free: 6.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.6848, allocations: 8 kB / 0.6543 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.6849, allocations: 15.94 kB / 0.6543 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.6863, allocations: 311.8 kB / 0.6546 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.6868, allocations: 123.8 kB / 0.6547 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.688, allocations: 0.9333 MB / 0.6556 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/0.6887, allocations: 43.88 kB / 0.6557 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6888, allocations: 68 kB / 0.6558 GB, free: 5.289 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.0004591/0.6893, allocations: 257.5 kB / 0.656 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.6895, allocations: 63.25 kB / 0.6561 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.6914, allocations: 0.8581 MB / 0.6569 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.6914, allocations: 4 kB / 0.6569 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.6914, allocations: 3.938 kB / 0.6569 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6914, allocations: 3.938 kB / 0.6569 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.6939, allocations: 1.465 MB / 0.6583 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6939, allocations: 0 / 0.6583 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.695, allocations: 207.8 kB / 0.6585 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.6951, allocations: 29.03 kB / 0.6586 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.6951, allocations: 20 kB / 0.6586 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.6974, allocations: 2.873 MB / 0.6614 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6974, allocations: 4.031 kB / 0.6614 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.6988, allocations: 0.8324 MB / 0.6622 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.6992, allocations: 192.2 kB / 0.6624 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.6993, allocations: 12.06 kB / 0.6624 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.6998, allocations: 27.97 kB / 0.6624 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.7, allocations: 39.91 kB / 0.6625 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.7, allocations: 47.97 kB / 0.6625 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006143/0.7007, allocations: 435 kB / 0.6629 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7007, allocations: 0 / 0.6629 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001149/0.7018, allocations: 260 kB / 0.6632 GB, free: 13.19 MB / 0.4981 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.002423/0.7043, allocations: 1.559 MB / 0.6647 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.7056, allocations: 0.5923 MB / 0.6653 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7056, allocations: 1.625 kB / 0.6653 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.7066, allocations: 422.7 kB / 0.6657 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.7085, allocations: 371.9 kB / 0.666 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009807/0.7183, allocations: 6.734 MB / 0.6726 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.7189, allocations: 0.9339 MB / 0.6735 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001322/0.7202, allocations: 462.4 kB / 0.674 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/0.7208, allocations: 293.3 kB / 0.6742 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of SimCode: time 1.203e-06/0.7208, allocations: 3.938 kB / 0.6742 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.7702, allocations: 23.97 MB / 0.6977 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.7705, allocations: 317.7 kB / 0.698 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.277, allocations: 0 / 0.698 GB, free: 9.406 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