Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002623/0.002623, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2439/0.2439, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 67.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3478, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2056/0.5534, allocations: 153.8 MB / 0.712 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008584/0.562, allocations: 4.917 MB / 0.7169 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008505/0.5628, allocations: 31.69 kB / 0.7169 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5641, allocations: 298 kB / 0.7172 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004336/0.5684, allocations: 1.364 MB / 0.7185 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003287/0.5717, allocations: 1.067 MB / 0.7195 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002901/0.5746, allocations: 1.871 MB / 0.7214 GB, free: 192 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009406/0.5755, allocations: 385.7 kB / 0.7217 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.5785, allocations: 1.125 MB / 0.7228 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.5803, allocations: 0.7627 MB / 0.7236 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.5806, allocations: 64 kB / 0.7236 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.5824, allocations: 0.554 MB / 0.7242 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.5828, allocations: 263.2 kB / 0.7244 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007159/0.5836, allocations: 338.6 kB / 0.7248 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.5862, allocations: 1.304 MB / 0.726 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5862, allocations: 3.938 kB / 0.726 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.707e-06/0.5862, allocations: 7.922 kB / 0.726 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.428e-05/0.5863, allocations: 0 / 0.726 GB, free: 11.39 MB / 0.5606 GB 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.002914/0.5892, allocations: 1.045 MB / 0.7271 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5892, allocations: 8.031 kB / 0.7271 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009315/0.5902, allocations: 139.4 kB / 0.7272 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.5913, allocations: 477.3 kB / 0.7277 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.5915, allocations: 159.8 kB / 0.7278 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.5916, allocations: 52 kB / 0.7279 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.5934, allocations: 1.136 MB / 0.729 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.5934, allocations: 7.938 kB / 0.729 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.5935, allocations: 23.98 kB / 0.729 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-05/0.5935, allocations: 44.92 kB / 0.729 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.5948, allocations: 0.6127 MB / 0.7296 GB, free: 7.461 MB / 0.5606 GB 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.005144/0.5999, allocations: 3.219 MB / 0.7328 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.6006, allocations: 343.6 kB / 0.7331 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.6009, allocations: 161.3 kB / 0.7333 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.601, allocations: 8.281 kB / 0.7333 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.6011, allocations: 38.84 kB / 0.7333 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.297e-06/0.6011, allocations: 0 / 0.7333 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006602/0.6077, allocations: 1.598 MB / 0.7349 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.6078, allocations: 140.5 kB / 0.735 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.6086, allocations: 0.5299 MB / 0.7355 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/0.6087, allocations: 37.7 kB / 0.7356 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.6091, allocations: 384.2 kB / 0.7359 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.6092, allocations: 154.7 kB / 0.7361 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.6095, allocations: 158.6 kB / 0.7362 GB, free: 480 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002257/0.6097, allocations: 370.7 kB / 0.7366 GB, free: 100 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2688/0.8785, allocations: 199.7 kB / 0.7368 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.8791, allocations: 0.5876 MB / 0.7373 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.8802, allocations: 0.7551 MB / 0.7381 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.8802, allocations: 6.156 kB / 0.7381 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001717/0.8819, allocations: 0.8659 MB / 0.7389 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.8819, allocations: 13.22 kB / 0.7389 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.8819, allocations: 10.2 kB / 0.739 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.8833, allocations: 316.8 kB / 0.7393 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.8837, allocations: 125.6 kB / 0.7394 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009011/0.8846, allocations: 0.9346 MB / 0.7403 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.885, allocations: 26.41 kB / 0.7403 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/0.8851, allocations: 72.78 kB / 0.7404 GB, free: 173.5 MB / 0.5606 GB 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.0003046/0.8854, allocations: 245.7 kB / 0.7406 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.8855, allocations: 65.53 kB / 0.7407 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.8869, allocations: 0.8543 MB / 0.7415 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8869, allocations: 4.484 kB / 0.7415 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.887, allocations: 0.8125 kB / 0.7415 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.887, allocations: 2.016 kB / 0.7415 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.8886, allocations: 1.091 MB / 0.7426 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8886, allocations: 0 / 0.7426 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009441/0.8895, allocations: 207.9 kB / 0.7428 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.911e-05/0.8896, allocations: 31.67 kB / 0.7428 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.8896, allocations: 23.25 kB / 0.7428 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.8909, allocations: 2.622 MB / 0.7454 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8909, allocations: 3.938 kB / 0.7454 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.8919, allocations: 0.8099 MB / 0.7462 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.8921, allocations: 106.8 kB / 0.7463 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.8922, allocations: 15.94 kB / 0.7463 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.8926, allocations: 19.67 kB / 0.7463 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.8926, allocations: 39.03 kB / 0.7464 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.8927, allocations: 43.89 kB / 0.7464 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003093/0.893, allocations: 362.1 kB / 0.7467 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.893, allocations: 3.062 kB / 0.7468 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007778/0.8938, allocations: 259.3 kB / 0.747 GB, free: 168.1 MB / 0.5606 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.0005178/0.8943, allocations: 279.2 kB / 0.7473 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009432/0.8952, allocations: 0.5292 MB / 0.7478 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.8952, allocations: 0 / 0.7478 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.896, allocations: 401 kB / 0.7482 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.8973, allocations: 310.3 kB / 0.7485 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.899, allocations: 1.376 MB / 0.7498 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.8992, allocations: 332.2 kB / 0.7501 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.8995, allocations: 123.3 kB / 0.7502 GB, free: 165 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.8995, allocations: 0 / 0.7502 GB, free: 165 MB / 0.5606 GB Notification: Performance of Templates: time 0.01515/0.9146, allocations: 16.08 MB / 0.7659 GB, free: 148.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.243416406214237]