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.001173/0.001173, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001144/0.001144, allocations: 194 kB / 18.12 MB, free: 5.363 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.326/1.326, allocations: 222.9 MB / 241.8 MB, free: 13.83 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.2173/0.2173, allocations: 44.17 MB / 336.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001454, allocations: 69.17 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1347, allocations: 60.82 MB / 468.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5185/0.6532, allocations: 172.5 MB / 0.6261 GB, free: 4.512 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009419/0.6627, allocations: 5.476 MB / 0.6315 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.6642, allocations: 27.81 kB / 0.6315 GB, free: 15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.6656, allocations: 278.5 kB / 0.6318 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004618/0.6702, allocations: 1.202 MB / 0.6329 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.674, allocations: 0.9569 MB / 0.6339 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.6775, allocations: 2.715 MB / 0.6365 GB, free: 9.855 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009553/0.6785, allocations: 397.3 kB / 0.6369 GB, free: 9.465 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.6813, allocations: 0.9651 MB / 0.6379 GB, free: 8.496 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.6836, allocations: 0.7705 MB / 0.6386 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.684, allocations: 36 kB / 0.6386 GB, free: 7.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.6864, allocations: 0.5304 MB / 0.6392 GB, free: 7.156 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007264/0.6871, allocations: 247.2 kB / 0.6394 GB, free: 6.914 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.6882, allocations: 362.2 kB / 0.6397 GB, free: 6.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.6912, allocations: 1.282 MB / 0.641 GB, free: 5.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6913, allocations: 0 / 0.641 GB, free: 5.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.6913, allocations: 0 / 0.641 GB, free: 5.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.813e-05/0.6913, allocations: 0 / 0.641 GB, free: 5.273 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.003337/0.6947, allocations: 1.098 MB / 0.6421 GB, free: 4.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.6947, allocations: 11.97 kB / 0.6421 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000267/0.695, allocations: 102.5 kB / 0.6422 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009796/0.696, allocations: 139 kB / 0.6423 GB, free: 3.863 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.697, allocations: 0.5002 MB / 0.6428 GB, free: 3.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.6971, allocations: 100.4 kB / 0.6429 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.6972, allocations: 55.89 kB / 0.6429 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.6987, allocations: 0.8183 MB / 0.6437 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.6987, allocations: 0 / 0.6437 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/0.6988, allocations: 27.94 kB / 0.6438 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.6989, allocations: 36.98 kB / 0.6438 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.7001, allocations: 0.6165 MB / 0.6444 GB, free: 1.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.005183/0.7053, allocations: 3.973 MB / 0.6483 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.706, allocations: 351.6 kB / 0.6486 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.7063, allocations: 173.3 kB / 0.6488 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.7064, allocations: 89.38 kB / 0.6489 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.7065, allocations: 47.7 kB / 0.6489 GB, free: 12.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.785e-06/0.7065, allocations: 0 / 0.6489 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006016/0.7125, allocations: 1.664 MB / 0.6505 GB, free: 10.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7127, allocations: 140.5 kB / 0.6507 GB, free: 10.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.7135, allocations: 0.6133 MB / 0.6513 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.7136, allocations: 33.7 kB / 0.6513 GB, free: 10.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.7139, allocations: 370.8 kB / 0.6517 GB, free: 9.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.7141, allocations: 149.9 kB / 0.6518 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.7144, allocations: 154.6 kB / 0.6519 GB, free: 9.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.7146, allocations: 374.8 kB / 0.6523 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.7151, allocations: 201.9 kB / 0.6525 GB, free: 8.859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.7158, allocations: 0.5125 MB / 0.653 GB, free: 8.199 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.717, allocations: 0.7523 MB / 0.6537 GB, free: 7.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.717, allocations: 8 kB / 0.6537 GB, free: 7.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001738/0.7187, allocations: 0.8839 MB / 0.6546 GB, free: 6.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.7188, allocations: 8.188 kB / 0.6546 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.7188, allocations: 16 kB / 0.6546 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.7203, allocations: 303.6 kB / 0.6549 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.7207, allocations: 139.7 kB / 0.6551 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.7219, allocations: 0.927 MB / 0.656 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.7225, allocations: 51.89 kB / 0.656 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.7227, allocations: 71.98 kB / 0.6561 GB, free: 4.875 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.0003837/0.7231, allocations: 241.5 kB / 0.6563 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.7233, allocations: 67.25 kB / 0.6564 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.7251, allocations: 0.8618 MB / 0.6572 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7251, allocations: 4 kB / 0.6572 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.7252, allocations: 0 / 0.6572 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.7252, allocations: 3.984 kB / 0.6572 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.7275, allocations: 1.458 MB / 0.6586 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.7275, allocations: 3.984 kB / 0.6586 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7286, allocations: 207.8 kB / 0.6588 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.7287, allocations: 32.97 kB / 0.6589 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.7287, allocations: 23.98 kB / 0.6589 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.7311, allocations: 2.68 MB / 0.6615 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7311, allocations: 256 / 0.6615 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.7324, allocations: 0.8167 MB / 0.6623 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.7328, allocations: 192.2 kB / 0.6625 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.7329, allocations: 12 kB / 0.6625 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.7334, allocations: 19.98 kB / 0.6625 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.7335, allocations: 43.95 kB / 0.6626 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/0.7336, allocations: 55.91 kB / 0.6626 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006039/0.7342, allocations: 435 kB / 0.663 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7342, allocations: 0 / 0.663 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001071/0.7353, allocations: 255.9 kB / 0.6633 GB, free: 13.01 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.002482/0.7377, allocations: 1.573 MB / 0.6648 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.739, allocations: 0.536 MB / 0.6653 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.739, allocations: 0 / 0.6653 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.74, allocations: 422.8 kB / 0.6657 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.7418, allocations: 343.9 kB / 0.6661 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.7519, allocations: 6.749 MB / 0.6727 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.7525, allocations: 0.93 MB / 0.6736 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001391/0.754, allocations: 466.3 kB / 0.674 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/0.7545, allocations: 289.5 kB / 0.6743 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.7545, allocations: 0 / 0.6743 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05088/0.8054, allocations: 23.42 MB / 0.6972 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/0.8058, allocations: 309.2 kB / 0.6975 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.214, allocations: 4 kB / 0.6975 GB, free: 9.809 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