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.001305/0.001305, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001433/0.001433, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2729/0.2729, allocations: 46.98 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] 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.002081/0.002081, allocations: 59.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1954/0.5054, allocations: 153.8 MB / 0.712 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007661/0.5131, allocations: 4.922 MB / 0.7168 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006706/0.5138, allocations: 27.75 kB / 0.7169 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5148, allocations: 310 kB / 0.7172 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.5185, allocations: 1.359 MB / 0.7185 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.5213, allocations: 1.067 MB / 0.7195 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.5237, allocations: 1.879 MB / 0.7214 GB, free: 216 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007447/0.5244, allocations: 393.6 kB / 0.7217 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.5268, allocations: 1.121 MB / 0.7228 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.5282, allocations: 0.7822 MB / 0.7236 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.5284, allocations: 64 kB / 0.7237 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.5296, allocations: 0.5688 MB / 0.7242 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.5299, allocations: 271.1 kB / 0.7245 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.5303, allocations: 338.7 kB / 0.7248 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.532, allocations: 1.3 MB / 0.7261 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.532, allocations: 0 / 0.7261 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.532, allocations: 3.938 kB / 0.7261 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.532, allocations: 4 kB / 0.7261 GB, free: 11.38 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.002345/0.5344, allocations: 1.041 MB / 0.7271 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.5344, allocations: 12.03 kB / 0.7271 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/0.5353, allocations: 135.4 kB / 0.7272 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/0.5362, allocations: 481.4 kB / 0.7277 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.5364, allocations: 155.8 kB / 0.7278 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5365, allocations: 44 kB / 0.7279 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.5381, allocations: 1.148 MB / 0.729 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5381, allocations: 7.938 kB / 0.729 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.5382, allocations: 16 kB / 0.729 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.5382, allocations: 48.92 kB / 0.7291 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.5394, allocations: 0.6204 MB / 0.7297 GB, free: 7.441 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.00456/0.5439, allocations: 3.212 MB / 0.7328 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.5445, allocations: 335.6 kB / 0.7331 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.5448, allocations: 165.3 kB / 0.7333 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.323e-05/0.5449, allocations: 12.27 kB / 0.7333 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.545, allocations: 42.78 kB / 0.7334 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.545, allocations: 4 kB / 0.7334 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005833/0.5508, allocations: 1.602 MB / 0.7349 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/0.5509, allocations: 140.5 kB / 0.7351 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.5515, allocations: 0.5299 MB / 0.7356 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.5516, allocations: 33.7 kB / 0.7356 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.5519, allocations: 392.2 kB / 0.736 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.552, allocations: 150.7 kB / 0.7361 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.5523, allocations: 162.6 kB / 0.7363 GB, free: 452 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.5524, allocations: 370.8 kB / 0.7366 GB, free: 72 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2444/0.7968, allocations: 196.1 kB / 0.7368 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.7975, allocations: 0.5875 MB / 0.7374 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.7985, allocations: 0.7505 MB / 0.7381 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.7985, allocations: 3.438 kB / 0.7381 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001746/0.8003, allocations: 0.8732 MB / 0.739 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.8003, allocations: 8.375 kB / 0.739 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8003, allocations: 10.16 kB / 0.739 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.8018, allocations: 311.9 kB / 0.7393 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.8022, allocations: 122.9 kB / 0.7394 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009244/0.8031, allocations: 0.9349 MB / 0.7403 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.8036, allocations: 25.75 kB / 0.7404 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.8037, allocations: 70.44 kB / 0.7404 GB, free: 173.7 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.0003066/0.804, allocations: 245.5 kB / 0.7407 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.8041, allocations: 61.73 kB / 0.7407 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.8056, allocations: 0.8579 MB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8057, allocations: 4.938 kB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8057, allocations: 3.906 kB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8057, allocations: 1.688 kB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.8073, allocations: 1.091 MB / 0.7426 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.8073, allocations: 3.812 kB / 0.7426 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.8083, allocations: 200.7 kB / 0.7428 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.963e-05/0.8084, allocations: 31.95 kB / 0.7429 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.8085, allocations: 29.33 kB / 0.7429 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.8098, allocations: 2.613 MB / 0.7454 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8098, allocations: 7.969 kB / 0.7454 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009722/0.8107, allocations: 0.8172 MB / 0.7462 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.811, allocations: 105.6 kB / 0.7463 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-05/0.8111, allocations: 11.94 kB / 0.7463 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.8115, allocations: 29.36 kB / 0.7464 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.8115, allocations: 38.48 kB / 0.7464 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.8116, allocations: 47.55 kB / 0.7465 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003153/0.8119, allocations: 355.8 kB / 0.7468 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8119, allocations: 4 kB / 0.7468 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008133/0.8127, allocations: 248.1 kB / 0.747 GB, free: 168.3 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.0005754/0.8133, allocations: 277.7 kB / 0.7473 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009602/0.8143, allocations: 0.5255 MB / 0.7478 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8143, allocations: 4 kB / 0.7478 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009061/0.8152, allocations: 412.2 kB / 0.7482 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.8165, allocations: 305 kB / 0.7485 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.8182, allocations: 1.331 MB / 0.7498 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.8184, allocations: 344.2 kB / 0.7501 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007612/0.8192, allocations: 446.5 kB / 0.7506 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.8194, allocations: 119.1 kB / 0.7507 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.8194, allocations: 0 / 0.7507 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02039/0.8398, allocations: 16.93 MB / 0.7672 GB, free: 148.1 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 -s gbode -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: 6.084219741009292]