Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 117.4 kB / 19.18 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 206.5 kB / 22.13 MB, free: 0.9258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.3 MB / 255.2 MB, free: 15.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2907/0.2907, allocations: 46.92 MB / 358.2 MB, free: 10.41 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 83.86 kB / 0.4925 GB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1446, allocations: 66 MB / 0.557 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5328/0.6774, allocations: 177.8 MB / 0.7306 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008132/0.6855, allocations: 5.358 MB / 0.7359 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006992/0.6862, allocations: 31.69 kB / 0.7359 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009703/0.6872, allocations: 318 kB / 0.7362 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.6909, allocations: 1.357 MB / 0.7375 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.6938, allocations: 1.051 MB / 0.7385 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002651/0.6964, allocations: 1.86 MB / 0.7404 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006759/0.6971, allocations: 406.8 kB / 0.7408 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.6996, allocations: 1.109 MB / 0.7418 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.7011, allocations: 0.79 MB / 0.7426 GB, free: 3.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.7012, allocations: 64 kB / 0.7427 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.7028, allocations: 0.6383 MB / 0.7433 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.7031, allocations: 271.2 kB / 0.7435 GB, free: 2.125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.7037, allocations: 394.2 kB / 0.7439 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.7057, allocations: 1.312 MB / 0.7452 GB, free: 432 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7057, allocations: 0 / 0.7452 GB, free: 432 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7057, allocations: 0 / 0.7452 GB, free: 432 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.7057, allocations: 0 / 0.7452 GB, free: 432 kB / 0.545 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.002457/0.7082, allocations: 1.121 MB / 0.7463 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7082, allocations: 8.031 kB / 0.7463 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/0.7091, allocations: 139.4 kB / 0.7464 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.71, allocations: 0.5318 MB / 0.747 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.7101, allocations: 104.4 kB / 0.7471 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.7102, allocations: 48.62 kB / 0.7471 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.7116, allocations: 0.8175 MB / 0.7479 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.7116, allocations: 7.875 kB / 0.7479 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.7117, allocations: 24 kB / 0.7479 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.7118, allocations: 40.97 kB / 0.748 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.7129, allocations: 0.6243 MB / 0.7486 GB, free: 12.78 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.005099/0.718, allocations: 3.933 MB / 0.7524 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.7187, allocations: 347.6 kB / 0.7528 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.719, allocations: 165.2 kB / 0.7529 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.7191, allocations: 89.38 kB / 0.753 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.7192, allocations: 38.84 kB / 0.753 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.7192, allocations: 0 / 0.753 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006163/0.7253, allocations: 1.676 MB / 0.7547 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.7254, allocations: 140.5 kB / 0.7548 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.7262, allocations: 0.6172 MB / 0.7554 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.7263, allocations: 29.7 kB / 0.7554 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.7266, allocations: 371.8 kB / 0.7558 GB, free: 5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.7267, allocations: 154.7 kB / 0.7559 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.727, allocations: 162.6 kB / 0.7561 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.7272, allocations: 374.8 kB / 0.7565 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.7276, allocations: 201.9 kB / 0.7566 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.7283, allocations: 0.5163 MB / 0.7571 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.7294, allocations: 0.7477 MB / 0.7579 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.7294, allocations: 7.625 kB / 0.7579 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001598/0.731, allocations: 0.8761 MB / 0.7587 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.7311, allocations: 8 kB / 0.7587 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.7311, allocations: 12 kB / 0.7588 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.7325, allocations: 315.4 kB / 0.7591 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.7329, allocations: 123.8 kB / 0.7592 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.7342, allocations: 0.9423 MB / 0.7601 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.7347, allocations: 24 kB / 0.7601 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.7348, allocations: 67.98 kB / 0.7602 GB, free: 160 kB / 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.0003882/0.7351, allocations: 245.5 kB / 0.7604 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.7353, allocations: 79.58 kB / 0.7605 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.737, allocations: 0.8574 MB / 0.7613 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.737, allocations: 8 kB / 0.7613 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.737, allocations: 0 / 0.7613 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.737, allocations: 0 / 0.7613 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.7393, allocations: 1.469 MB / 0.7628 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.7393, allocations: 4 kB / 0.7628 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.7404, allocations: 203.8 kB / 0.763 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.7405, allocations: 24.84 kB / 0.763 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.7405, allocations: 19.98 kB / 0.763 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.743, allocations: 2.88 MB / 0.7658 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.743, allocations: 7.969 kB / 0.7658 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.7445, allocations: 0.8346 MB / 0.7667 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.7448, allocations: 188.6 kB / 0.7668 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.7449, allocations: 12 kB / 0.7668 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.7453, allocations: 15.98 kB / 0.7669 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.7454, allocations: 35.91 kB / 0.7669 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/0.7455, allocations: 47.97 kB / 0.7669 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006204/0.7461, allocations: 443.1 kB / 0.7674 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7461, allocations: 0 / 0.7674 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009906/0.7471, allocations: 255.7 kB / 0.7676 GB, free: 8.07 MB / 0.5762 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.0007059/0.7478, allocations: 274.8 kB / 0.7679 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.7491, allocations: 0.5385 MB / 0.7684 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.7491, allocations: 4 kB / 0.7684 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.7501, allocations: 395.1 kB / 0.7688 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.7518, allocations: 371.9 kB / 0.7691 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.7543, allocations: 1.384 MB / 0.7705 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.7549, allocations: 0.9261 MB / 0.7714 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.7553, allocations: 135.4 kB / 0.7715 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.7553, allocations: 0 / 0.7715 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.02497/0.7803, allocations: 16.66 MB / 0.7878 GB, free: 3.379 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.187667579011759]