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.001598/0.001598, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001885/0.001885, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.496/1.496, allocations: 230.2 MB / 255.2 MB, free: 15.43 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.2425/0.2425, allocations: 46.88 MB / 358.1 MB, free: 10.56 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.002262/0.002262, allocations: 79.33 kB / 0.4924 GB, free: 26.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1579, allocations: 65.99 MB / 0.5568 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.6052/0.7631, allocations: 177.8 MB / 0.7305 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008418/0.7715, allocations: 5.368 MB / 0.7357 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/0.7722, allocations: 19.88 kB / 0.7357 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.7732, allocations: 326 kB / 0.736 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.777, allocations: 1.349 MB / 0.7373 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.7802, allocations: 1.079 MB / 0.7384 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002822/0.783, allocations: 1.856 MB / 0.7402 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007633/0.7838, allocations: 413.4 kB / 0.7406 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.7867, allocations: 1.094 MB / 0.7417 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.7885, allocations: 0.7977 MB / 0.7424 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.7886, allocations: 63.94 kB / 0.7425 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.7904, allocations: 0.632 MB / 0.7431 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.7908, allocations: 275.2 kB / 0.7434 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00064/0.7914, allocations: 398.2 kB / 0.7438 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.7939, allocations: 1.308 MB / 0.745 GB, free: 13.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7939, allocations: 0 / 0.745 GB, free: 13.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7939, allocations: 0 / 0.745 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.7939, allocations: 4 kB / 0.7451 GB, free: 13.27 MB / 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.002499/0.7964, allocations: 1.125 MB / 0.7461 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7964, allocations: 12.03 kB / 0.7462 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.7973, allocations: 139.4 kB / 0.7463 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.7982, allocations: 0.5279 MB / 0.7468 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.7984, allocations: 112.2 kB / 0.7469 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.7985, allocations: 44 kB / 0.747 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.7999, allocations: 0.8136 MB / 0.7478 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.8, allocations: 7.938 kB / 0.7478 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.8001, allocations: 24 kB / 0.7478 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/0.8001, allocations: 40.97 kB / 0.7478 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.8013, allocations: 0.6243 MB / 0.7484 GB, free: 9.625 MB / 0.545 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.00529/0.8065, allocations: 3.933 MB / 0.7523 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.8072, allocations: 343.6 kB / 0.7526 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.8075, allocations: 165.2 kB / 0.7528 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.8076, allocations: 89.39 kB / 0.7528 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.8077, allocations: 42.83 kB / 0.7529 GB, free: 4.785 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.8077, allocations: 0 / 0.7529 GB, free: 4.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.006537/0.8142, allocations: 1.68 MB / 0.7545 GB, free: 3.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.8143, allocations: 140.5 kB / 0.7547 GB, free: 2.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000886/0.8152, allocations: 0.6133 MB / 0.7553 GB, free: 2.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.8153, allocations: 45.64 kB / 0.7553 GB, free: 2.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.8156, allocations: 371.8 kB / 0.7557 GB, free: 1.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.8158, allocations: 150.7 kB / 0.7558 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.816, allocations: 158.6 kB / 0.756 GB, free: 1.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.8162, allocations: 374.8 kB / 0.7563 GB, free: 1.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.8166, allocations: 205.9 kB / 0.7565 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.8174, allocations: 0.5202 MB / 0.757 GB, free: 268 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.8186, allocations: 0.736 MB / 0.7577 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.8186, allocations: 4 kB / 0.7577 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001727/0.8203, allocations: 0.8854 MB / 0.7586 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.8203, allocations: 8 kB / 0.7586 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8204, allocations: 12 kB / 0.7586 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.8218, allocations: 323.6 kB / 0.7589 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.8223, allocations: 123.8 kB / 0.759 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.8237, allocations: 0.9386 MB / 0.76 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.8243, allocations: 20 kB / 0.76 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.8244, allocations: 71.98 kB / 0.76 GB, free: 12.98 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.000429/0.8248, allocations: 241.6 kB / 0.7603 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.8249, allocations: 71.58 kB / 0.7603 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.8267, allocations: 0.8648 MB / 0.7612 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.8267, allocations: 4 kB / 0.7612 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8267, allocations: 0 / 0.7612 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.8268, allocations: 3.984 kB / 0.7612 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.8293, allocations: 1.465 MB / 0.7626 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8293, allocations: 7.938 kB / 0.7626 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.8304, allocations: 203.8 kB / 0.7628 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.635e-05/0.8305, allocations: 21.03 kB / 0.7629 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.8306, allocations: 28.86 kB / 0.7629 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/0.8333, allocations: 2.887 MB / 0.7657 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8333, allocations: 0 / 0.7657 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.8349, allocations: 0.8268 MB / 0.7665 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.8353, allocations: 192.6 kB / 0.7667 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.8354, allocations: 8 kB / 0.7667 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.8358, allocations: 23.94 kB / 0.7667 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.8359, allocations: 43.95 kB / 0.7668 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.807e-05/0.836, allocations: 43.98 kB / 0.7668 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006183/0.8366, allocations: 439 kB / 0.7672 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8366, allocations: 0 / 0.7672 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001019/0.8376, allocations: 259.7 kB / 0.7675 GB, free: 4.887 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.0009195/0.8385, allocations: 292 kB / 0.7678 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.8398, allocations: 0.5346 MB / 0.7683 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.8398, allocations: 7.859 kB / 0.7683 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.8408, allocations: 394.7 kB / 0.7687 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.8426, allocations: 372.9 kB / 0.769 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.8452, allocations: 1.389 MB / 0.7704 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.8458, allocations: 0.9261 MB / 0.7713 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.8462, allocations: 127.4 kB / 0.7714 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.8462, allocations: 0 / 0.7714 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of Templates: time 0.02643/0.8726, allocations: 16.7 MB / 0.7877 GB, free: 164 kB / 0.5762 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.632567538879812]