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.0008308/0.0008311, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009358/0.0009361, allocations: 185.3 kB / 16.92 MB, free: 6.918 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.418/1.418, allocations: 205.4 MB / 223.1 MB, free: 5.566 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.3513/0.3513, allocations: 43.58 MB / 315 MB, free: 8.734 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.0005582/0.0005588, allocations: 12 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1461, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5041/0.6502, allocations: 175.7 MB / 0.6048 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008419/0.6587, allocations: 5.832 MB / 0.6105 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.6599, allocations: 27.75 kB / 0.6105 GB, free: 5.492 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.6609, allocations: 274.5 kB / 0.6108 GB, free: 5.223 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.6653, allocations: 1.406 MB / 0.6121 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.6687, allocations: 1.109 MB / 0.6132 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003206/0.672, allocations: 2.707 MB / 0.6159 GB, free: 20 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006594/0.6726, allocations: 402.3 kB / 0.6163 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.6752, allocations: 1.097 MB / 0.6173 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.6766, allocations: 0.7744 MB / 0.6181 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.522e-05/0.6767, allocations: 32 kB / 0.6181 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.6783, allocations: 0.6981 MB / 0.6188 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.6786, allocations: 239.2 kB / 0.619 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.679, allocations: 395.9 kB / 0.6194 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.6807, allocations: 1.375 MB / 0.6207 GB, free: 11.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6807, allocations: 0 / 0.6207 GB, free: 11.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.6807, allocations: 0 / 0.6207 GB, free: 11.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.6807, allocations: 7.875 kB / 0.6207 GB, free: 11 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.002117/0.6828, allocations: 0.9793 MB / 0.6217 GB, free: 9.973 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6829, allocations: 12.03 kB / 0.6217 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.6831, allocations: 102.5 kB / 0.6218 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007705/0.6838, allocations: 131.1 kB / 0.6219 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.6846, allocations: 0.5079 MB / 0.6224 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.6848, allocations: 111.5 kB / 0.6225 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.435e-05/0.6849, allocations: 44 kB / 0.6226 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.6862, allocations: 0.8252 MB / 0.6234 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6862, allocations: 0 / 0.6234 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.6863, allocations: 24 kB / 0.6234 GB, free: 8.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.6863, allocations: 44.91 kB / 0.6235 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6874, allocations: 0.6205 MB / 0.6241 GB, free: 7.426 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.004488/0.6919, allocations: 3.983 MB / 0.6279 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.6925, allocations: 351.6 kB / 0.6283 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.6927, allocations: 169.3 kB / 0.6284 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/0.6932, allocations: 369.4 kB / 0.6288 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.6932, allocations: 38.84 kB / 0.6288 GB, free: 2.215 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.423e-06/0.6932, allocations: 0 / 0.6288 GB, free: 2.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005477/0.6987, allocations: 1.669 MB / 0.6305 GB, free: 488 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.6988, allocations: 140.5 kB / 0.6306 GB, free: 316 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2099/0.9087, allocations: 0.608 MB / 0.6312 GB, free: 155.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.9089, allocations: 35.02 kB / 0.6312 GB, free: 155.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.9091, allocations: 363.6 kB / 0.6316 GB, free: 155.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.9093, allocations: 143.2 kB / 0.6317 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9094, allocations: 63.86 kB / 0.6318 GB, free: 155.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.9095, allocations: 371.7 kB / 0.6321 GB, free: 155.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.9099, allocations: 208.6 kB / 0.6323 GB, free: 155.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.9103, allocations: 0.5096 MB / 0.6328 GB, free: 155 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.9111, allocations: 0.7441 MB / 0.6335 GB, free: 154.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9112, allocations: 2.906 kB / 0.6336 GB, free: 154.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001328/0.9125, allocations: 0.8888 MB / 0.6344 GB, free: 154.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.9125, allocations: 13.66 kB / 0.6344 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.9125, allocations: 8.906 kB / 0.6344 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.914, allocations: 320.9 kB / 0.6347 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.9143, allocations: 122.3 kB / 0.6349 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009995/0.9153, allocations: 0.9368 MB / 0.6358 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/0.9159, allocations: 48.33 kB / 0.6358 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/0.916, allocations: 68.03 kB / 0.6359 GB, free: 153.9 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.0003048/0.9163, allocations: 245.7 kB / 0.6361 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.9164, allocations: 65.81 kB / 0.6362 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.9178, allocations: 0.6788 MB / 0.6368 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.9178, allocations: 8.188 kB / 0.6369 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9178, allocations: 0 / 0.6369 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.9178, allocations: 6.359 kB / 0.6369 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.9198, allocations: 1.608 MB / 0.6384 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.9199, allocations: 2.781 kB / 0.6384 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/0.9208, allocations: 211.5 kB / 0.6386 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-05/0.9209, allocations: 22.23 kB / 0.6387 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.921, allocations: 21.05 kB / 0.6387 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.9226, allocations: 2.688 MB / 0.6413 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9226, allocations: 0 / 0.6413 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.9237, allocations: 0.8059 MB / 0.6421 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.924, allocations: 197.7 kB / 0.6423 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.9241, allocations: 9.281 kB / 0.6423 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.9245, allocations: 28.41 kB / 0.6423 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.9246, allocations: 41.3 kB / 0.6424 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.97e-05/0.9246, allocations: 43.91 kB / 0.6424 GB, free: 150 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004663/0.9251, allocations: 440.5 kB / 0.6428 GB, free: 149.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9251, allocations: 0 / 0.6428 GB, free: 149.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001024/0.9261, allocations: 296.2 kB / 0.6431 GB, free: 149.9 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.00217/0.9283, allocations: 1.6 MB / 0.6447 GB, free: 149.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.9294, allocations: 0.5388 MB / 0.6452 GB, free: 149.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9294, allocations: 3.188 kB / 0.6452 GB, free: 149.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.9303, allocations: 428.1 kB / 0.6456 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.9321, allocations: 351.5 kB / 0.6459 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.9411, allocations: 6.808 MB / 0.6526 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.9416, allocations: 0.9285 MB / 0.6535 GB, free: 143.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.9427, allocations: 268 kB / 0.6537 GB, free: 143.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.9432, allocations: 278 kB / 0.654 GB, free: 143.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.9432, allocations: 0 / 0.654 GB, free: 143.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/1.003, allocations: 24.2 MB / 0.6776 GB, free: 137.9 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.003, allocations: 310.5 kB / 0.6779 GB, free: 137.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.536, allocations: 0 / 0.6779 GB, free: 137.5 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