Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_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.005617/0.005617, allocations: 99.64 kB / 15.87 MB, free: 6.289 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.00145/0.00145, allocations: 197.1 kB / 16.79 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 222.7 MB, free: 4.934 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3497/0.3497, allocations: 43.49 MB / 313.5 MB, free: 8.688 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00177/0.001769, allocations: 67.91 kB / 382.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1411, allocations: 57.78 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.466/0.6072, allocations: 178.1 MB / 0.6036 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008762/0.616, allocations: 5.926 MB / 0.6093 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.6172, allocations: 27.81 kB / 0.6094 GB, free: 4.164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.6183, allocations: 274.5 kB / 0.6096 GB, free: 3.895 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.6226, allocations: 1.405 MB / 0.611 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.626, allocations: 1.099 MB / 0.6121 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.6296, allocations: 2.721 MB / 0.6147 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.6303, allocations: 403.3 kB / 0.6151 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.6333, allocations: 1.094 MB / 0.6162 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.6346, allocations: 0.7784 MB / 0.6169 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-05/0.6347, allocations: 32 kB / 0.617 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.6365, allocations: 0.702 MB / 0.6177 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.6368, allocations: 235.2 kB / 0.6179 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.6374, allocations: 378.2 kB / 0.6182 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.6391, allocations: 1.387 MB / 0.6196 GB, free: 9.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6391, allocations: 0 / 0.6196 GB, free: 9.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.6391, allocations: 0 / 0.6196 GB, free: 9.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.6391, allocations: 4 kB / 0.6196 GB, free: 9.68 MB / 494.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.002342/0.6415, allocations: 1.123 MB / 0.6207 GB, free: 8.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.6416, allocations: 12.03 kB / 0.6207 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.6417, allocations: 115.7 kB / 0.6208 GB, free: 8.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/0.6425, allocations: 131.1 kB / 0.6209 GB, free: 8.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.6433, allocations: 0.5196 MB / 0.6215 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6434, allocations: 96.41 kB / 0.6215 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.442e-05/0.6435, allocations: 44 kB / 0.6216 GB, free: 7.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.6448, allocations: 0.8214 MB / 0.6224 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.6449, allocations: 7.938 kB / 0.6224 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.6449, allocations: 20 kB / 0.6224 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/0.645, allocations: 36.98 kB / 0.6225 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009939/0.646, allocations: 0.6166 MB / 0.6231 GB, free: 5.957 MB / 494.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.004556/0.6506, allocations: 3.992 MB / 0.627 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.6511, allocations: 355.6 kB / 0.6273 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.6514, allocations: 174.2 kB / 0.6275 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/0.6519, allocations: 361.4 kB / 0.6278 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.652, allocations: 42.83 kB / 0.6278 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.415e-06/0.652, allocations: 0 / 0.6278 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.2117/0.8637, allocations: 1.656 MB / 0.6295 GB, free: 159.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.8638, allocations: 137.9 kB / 0.6296 GB, free: 159.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/0.8646, allocations: 0.6166 MB / 0.6302 GB, free: 159.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.8647, allocations: 35.64 kB / 0.6302 GB, free: 159.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.8649, allocations: 366 kB / 0.6306 GB, free: 158.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.865, allocations: 141.1 kB / 0.6307 GB, free: 158.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.8652, allocations: 153.9 kB / 0.6309 GB, free: 158.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8653, allocations: 376.1 kB / 0.6312 GB, free: 158.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.8657, allocations: 202.8 kB / 0.6314 GB, free: 158.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.8661, allocations: 0.5139 MB / 0.6319 GB, free: 158.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.8669, allocations: 0.7428 MB / 0.6326 GB, free: 157.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8669, allocations: 2.969 kB / 0.6326 GB, free: 157.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001318/0.8682, allocations: 0.8866 MB / 0.6335 GB, free: 157.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.8683, allocations: 7.844 kB / 0.6335 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.8683, allocations: 16.33 kB / 0.6335 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.8696, allocations: 310.2 kB / 0.6338 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.8699, allocations: 121.9 kB / 0.6339 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009265/0.8709, allocations: 0.9355 MB / 0.6349 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.8714, allocations: 52.42 kB / 0.6349 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.8715, allocations: 65.58 kB / 0.635 GB, free: 157.1 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.0002781/0.8718, allocations: 241.2 kB / 0.6352 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.8719, allocations: 71.06 kB / 0.6353 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.8732, allocations: 0.6848 MB / 0.6359 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.8733, allocations: 6.844 kB / 0.6359 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8733, allocations: 6.719 kB / 0.6359 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.8733, allocations: 3.375 kB / 0.636 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.8752, allocations: 1.609 MB / 0.6375 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8753, allocations: 3.062 kB / 0.6375 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009733/0.8762, allocations: 207 kB / 0.6377 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.803e-05/0.8764, allocations: 24.94 kB / 0.6377 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.8764, allocations: 20.53 kB / 0.6378 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.8781, allocations: 2.686 MB / 0.6404 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8781, allocations: 7.781 kB / 0.6404 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.8792, allocations: 0.8065 MB / 0.6412 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.8794, allocations: 196.7 kB / 0.6414 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.8795, allocations: 9.938 kB / 0.6414 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.8799, allocations: 23 kB / 0.6414 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.88, allocations: 39.06 kB / 0.6414 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.8801, allocations: 41.72 kB / 0.6415 GB, free: 152.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004583/0.8805, allocations: 440.9 kB / 0.6419 GB, free: 152.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.8805, allocations: 0 / 0.6419 GB, free: 152.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001004/0.8816, allocations: 301 kB / 0.6422 GB, free: 152 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002043/0.8836, allocations: 1.6 MB / 0.6438 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.8847, allocations: 0.5373 MB / 0.6443 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.8847, allocations: 6.844 kB / 0.6443 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008673/0.8856, allocations: 415.8 kB / 0.6447 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.8871, allocations: 353.8 kB / 0.645 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/0.8948, allocations: 6.713 MB / 0.6516 GB, free: 146.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.8952, allocations: 0.9279 MB / 0.6525 GB, free: 145.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.8962, allocations: 268.3 kB / 0.6527 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.8966, allocations: 276.7 kB / 0.653 GB, free: 145.5 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.8966, allocations: 3.938 kB / 0.653 GB, free: 145.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07566/0.9723, allocations: 24.42 MB / 0.6769 GB, free: 139.2 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.9725, allocations: 303.6 kB / 0.6771 GB, free: 138.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.374, allocations: 0 / 0.6771 GB, free: 138.8 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches