Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.0007783/0.0007783, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001814, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001051/0.001051, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.00238, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9591/0.9591, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.061, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.2596/0.2596, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04015/0.2997, allocations: 13.09 MB / 291.3 MB, free: 7.367 MB / 282.7 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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.196e-05, allocations: 2.312 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1468/0.1468, allocations: 145.1 MB / 437.7 MB, free: 4.629 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009952/0.1478, allocations: 1.086 MB / 438.8 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.1478, allocations: 0 / 438.8 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.148, allocations: 31.77 kB / 438.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005303/0.1486, allocations: 274.2 kB / 439.1 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1488, allocations: 119.6 kB / 439.2 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1491, allocations: 183.2 kB / 439.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1491, allocations: 7.938 kB / 439.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1493, allocations: 119.6 kB / 439.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.1494, allocations: 51.81 kB / 439.6 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1494, allocations: 12 kB / 439.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.1498, allocations: 267.6 kB / 439.9 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.1498, allocations: 15.92 kB / 439.9 MB, free: 2.473 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.1499, allocations: 31.94 kB / 439.9 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1502, allocations: 259.3 kB / 440.2 MB, free: 2.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.1502, allocations: 0 / 440.2 MB, free: 2.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1502, allocations: 0 / 440.2 MB, free: 2.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1502, allocations: 0 / 440.2 MB, free: 2.188 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004256/0.1506, allocations: 345.2 kB / 440.5 MB, free: 1.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1507, allocations: 16.03 kB / 440.5 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.1517, allocations: 326 kB / 440.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.1518, allocations: 129.7 kB / 441 MB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1519, allocations: 8.125 kB / 441 MB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1519, allocations: 8 kB / 441 MB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1521, allocations: 265.9 kB / 441.2 MB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1521, allocations: 0 / 441.2 MB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1522, allocations: 7.938 kB / 441.2 MB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1522, allocations: 4 kB / 441.2 MB, free: 1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1523, allocations: 83.89 kB / 441.3 MB, free: 0.918 MB / 426.7 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.0005094/0.1528, allocations: 432 kB / 441.7 MB, free: 484 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1529, allocations: 90.55 kB / 441.8 MB, free: 384 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.153, allocations: 44.83 kB / 441.9 MB, free: 336 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.153, allocations: 4 kB / 441.9 MB, free: 332 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.153, allocations: 30.56 kB / 441.9 MB, free: 292 kB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.153, allocations: 4 kB / 441.9 MB, free: 288 kB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.189/0.342, allocations: 0.8163 MB / 442.7 MB, free: 5.609 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.342, allocations: 56.88 kB / 442.8 MB, free: 5.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.3421, allocations: 120.9 kB / 442.9 MB, free: 5.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.3421, allocations: 26.8 kB / 442.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.3421, allocations: 99.95 kB / 443 MB, free: 5.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3421, allocations: 66.02 kB / 443.1 MB, free: 5.285 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.3422, allocations: 46.16 kB / 443.1 MB, free: 5.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.3422, allocations: 322.6 kB / 443.5 MB, free: 4.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.3423, allocations: 33.17 kB / 443.5 MB, free: 4.957 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.586e-05/0.3423, allocations: 59.14 kB / 443.5 MB, free: 4.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.3424, allocations: 113.5 kB / 443.7 MB, free: 4.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3424, allocations: 3.938 kB / 443.7 MB, free: 4.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001744/0.3426, allocations: 147.9 kB / 443.8 MB, free: 4.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3426, allocations: 13.66 kB / 443.8 MB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3426, allocations: 0 / 443.8 MB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.3427, allocations: 22 kB / 443.8 MB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.343, allocations: 74.56 kB / 443.9 MB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006803/0.3437, allocations: 1.244 MB / 445.2 MB, free: 19.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.3437, allocations: 6.875 kB / 445.2 MB, free: 19.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3437, allocations: 10.95 kB / 445.2 MB, free: 19.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/0.3438, allocations: 135.7 kB / 445.3 MB, free: 19.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3438, allocations: 11.75 kB / 445.3 MB, free: 19.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.3441, allocations: 190.5 kB / 445.5 MB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3441, allocations: 4.25 kB / 445.5 MB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3441, allocations: 0 / 445.5 MB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3441, allocations: 6.219 kB / 445.5 MB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.3444, allocations: 368.1 kB / 445.9 MB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3445, allocations: 0 / 445.9 MB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.3446, allocations: 70.06 kB / 445.9 MB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.3446, allocations: 8.234 kB / 445.9 MB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.326e-05/0.3447, allocations: 24.67 kB / 446 MB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3447, allocations: 8.469 kB / 446 MB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000439/0.3452, allocations: 1.16 MB / 447.1 MB, free: 18.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3452, allocations: 2.469 kB / 447.1 MB, free: 18.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.3454, allocations: 313.8 kB / 447.4 MB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3454, allocations: 9.469 kB / 447.5 MB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.3455, allocations: 6.469 kB / 447.5 MB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.3455, allocations: 20.81 kB / 447.5 MB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3455, allocations: 15.66 kB / 447.5 MB, free: 17.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.353e-05/0.3455, allocations: 15.38 kB / 447.5 MB, free: 17.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3455, allocations: 3.188 kB / 447.5 MB, free: 17.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.3458, allocations: 78.5 kB / 447.6 MB, free: 17.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (20): * Single equations (assignments): 19 * 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): 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.0002154/0.346, allocations: 124.8 kB / 447.7 MB, free: 17.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3462, allocations: 237.2 kB / 447.9 MB, free: 17.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.3463, allocations: 3.531 kB / 447.9 MB, free: 17.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3464, allocations: 184.8 kB / 448.1 MB, free: 17.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3466, allocations: 70.23 kB / 448.2 MB, free: 17.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.3485, allocations: 384.2 kB / 448.6 MB, free: 17.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.071e-05/0.3485, allocations: 70.88 kB / 448.6 MB, free: 17.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.3487, allocations: 52.41 kB / 448.7 MB, free: 17.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.3488, allocations: 108.7 kB / 448.8 MB, free: 17.35 MB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3488, allocations: 0 / 448.8 MB, free: 17.35 MB / 442.7 MB Notification: Performance of Templates: time 0.006644/0.3555, allocations: 5.601 MB / 454.4 MB, free: 17.06 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0797376688569784]