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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 95.41 kB / 17 MB, free: 6.414 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.001957/0.001958, allocations: 188.7 kB / 17.89 MB, free: 5.945 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.401/1.401, allocations: 223.3 MB / 241.9 MB, free: 248 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.2086/0.2086, allocations: 44.24 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5451/0.6751, allocations: 159 MB / 0.6158 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.6827, allocations: 5.096 MB / 0.6208 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/0.6837, allocations: 23.81 kB / 0.6208 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000941/0.6847, allocations: 262.3 kB / 0.621 GB, free: 14.75 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003774/0.6885, allocations: 1.164 MB / 0.6222 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.6912, allocations: 0.8396 MB / 0.623 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003022/0.6942, allocations: 2.242 MB / 0.6252 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006945/0.6949, allocations: 373.7 kB / 0.6255 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.6973, allocations: 0.9049 MB / 0.6264 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.6986, allocations: 0.7278 MB / 0.6271 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.576e-05/0.6987, allocations: 32 kB / 0.6272 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.7001, allocations: 459.4 kB / 0.6276 GB, free: 8.016 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.7004, allocations: 235.2 kB / 0.6278 GB, free: 7.785 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.7007, allocations: 157.4 kB / 0.628 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.7023, allocations: 0.9274 MB / 0.6289 GB, free: 6.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.7023, allocations: 0 / 0.6289 GB, free: 6.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.7023, allocations: 4 kB / 0.6289 GB, free: 6.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.7023, allocations: 0 / 0.6289 GB, free: 6.691 MB / 462.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.002423/0.7047, allocations: 0.9588 MB / 0.6298 GB, free: 5.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.7048, allocations: 8.562 kB / 0.6298 GB, free: 5.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.7057, allocations: 131.1 kB / 0.63 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009202/0.7066, allocations: 0.4927 MB / 0.6304 GB, free: 5.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.7068, allocations: 96.41 kB / 0.6305 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.7069, allocations: 55.98 kB / 0.6306 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.7082, allocations: 0.8097 MB / 0.6314 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.7082, allocations: 7.922 kB / 0.6314 GB, free: 3.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/0.7083, allocations: 29.31 kB / 0.6314 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.496e-05/0.7084, allocations: 44.97 kB / 0.6315 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.7094, allocations: 0.6204 MB / 0.6321 GB, free: 3.27 MB / 462.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.004449/0.7139, allocations: 3.962 MB / 0.6359 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.7145, allocations: 351.6 kB / 0.6363 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.7149, allocations: 169.3 kB / 0.6364 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.7151, allocations: 101.3 kB / 0.6365 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.7151, allocations: 35.72 kB / 0.6366 GB, free: 14.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.953e-06/0.7151, allocations: 0 / 0.6366 GB, free: 14.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005216/0.7203, allocations: 1.658 MB / 0.6382 GB, free: 12.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.7205, allocations: 132.5 kB / 0.6383 GB, free: 12.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/0.7213, allocations: 0.6133 MB / 0.6389 GB, free: 11.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.7213, allocations: 33.7 kB / 0.6389 GB, free: 11.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.7216, allocations: 370.8 kB / 0.6393 GB, free: 11.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.7217, allocations: 138 kB / 0.6394 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.7218, allocations: 16 kB / 0.6394 GB, free: 11.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.722, allocations: 382.7 kB / 0.6398 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.7223, allocations: 197.9 kB / 0.64 GB, free: 10.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.7229, allocations: 0.5125 MB / 0.6405 GB, free: 10.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.7234, allocations: 288.6 kB / 0.6408 GB, free: 9.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.7234, allocations: 7.953 kB / 0.6408 GB, free: 9.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00143/0.7249, allocations: 0.8763 MB / 0.6416 GB, free: 8.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.7249, allocations: 15.98 kB / 0.6416 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.7249, allocations: 12.09 kB / 0.6417 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.7263, allocations: 320.6 kB / 0.642 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.7266, allocations: 119.8 kB / 0.6421 GB, free: 8.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.7277, allocations: 0.9373 MB / 0.643 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.7283, allocations: 39.98 kB / 0.643 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.7284, allocations: 63.98 kB / 0.6431 GB, free: 7.363 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003691/0.7288, allocations: 241.7 kB / 0.6433 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.7289, allocations: 71.11 kB / 0.6434 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.7307, allocations: 0.8726 MB / 0.6442 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7307, allocations: 4 kB / 0.6442 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7307, allocations: 0 / 0.6442 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.7307, allocations: 3.984 kB / 0.6442 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.7329, allocations: 1.453 MB / 0.6457 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.7329, allocations: 3.938 kB / 0.6457 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.7339, allocations: 211.8 kB / 0.6459 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.734, allocations: 32.97 kB / 0.6459 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.7341, allocations: 19.98 kB / 0.6459 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.7361, allocations: 2.692 MB / 0.6486 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7362, allocations: 0 / 0.6486 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.7375, allocations: 0.813 MB / 0.6493 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.7378, allocations: 192.2 kB / 0.6495 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-05/0.7379, allocations: 12 kB / 0.6495 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.7383, allocations: 27.91 kB / 0.6496 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.7384, allocations: 43.97 kB / 0.6496 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.7385, allocations: 47.97 kB / 0.6497 GB, free: 160 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005703/0.7391, allocations: 427 kB / 0.6501 GB, free: 15.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7391, allocations: 0 / 0.6501 GB, free: 15.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009461/0.74, allocations: 251.9 kB / 0.6503 GB, free: 15.5 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000737/0.7408, allocations: 293.2 kB / 0.6506 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.7419, allocations: 0.5539 MB / 0.6511 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7419, allocations: 448 / 0.6511 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009598/0.7429, allocations: 410.4 kB / 0.6515 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.7445, allocations: 344.6 kB / 0.6518 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.7468, allocations: 1.575 MB / 0.6534 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.7473, allocations: 0.93 MB / 0.6543 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001246/0.7486, allocations: 473.7 kB / 0.6547 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.7489, allocations: 111.4 kB / 0.6548 GB, free: 10.77 MB / 494.1 MB Notification: Performance of SimCode: time 7.22e-07/0.749, allocations: 0 / 0.6548 GB, free: 10.77 MB / 494.1 MB Notification: Performance of Templates: time 0.0283/0.7773, allocations: 16.18 MB / 0.6707 GB, free: 10.74 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/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