Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.001063/0.001063, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001143/0.001143, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.9425/0.9425, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.294e-05, allocations: 5.406 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3057/0.3058, allocations: 144.7 MB / 470.6 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.3067, allocations: 1.08 MB / 471.7 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.3067, allocations: 3.25 kB / 471.7 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.307, allocations: 31.39 kB / 471.8 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.3075, allocations: 274.9 kB / 472 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.3077, allocations: 116.8 kB / 472.1 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3079, allocations: 183 kB / 472.3 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.308, allocations: 15.22 kB / 472.3 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3081, allocations: 120.8 kB / 472.4 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.3082, allocations: 48.56 kB / 472.5 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3082, allocations: 5.188 kB / 472.5 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.3086, allocations: 265.3 kB / 472.8 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.3086, allocations: 24.53 kB / 472.8 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3087, allocations: 34.98 kB / 472.8 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.309, allocations: 309 kB / 473.1 MB, free: 16.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.309, allocations: 0 / 473.1 MB, free: 16.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.309, allocations: 4 kB / 473.1 MB, free: 16.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.309, allocations: 0 / 473.1 MB, free: 16.23 MB / 410.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.0003141/0.3093, allocations: 314.6 kB / 473.4 MB, free: 15.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3093, allocations: 8.938 kB / 473.4 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.3104, allocations: 249.4 kB / 473.7 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3105, allocations: 125.3 kB / 473.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3105, allocations: 11.05 kB / 473.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.3105, allocations: 15.16 kB / 473.8 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3107, allocations: 264.2 kB / 474.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3107, allocations: 0 / 474.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3108, allocations: 7.062 kB / 474.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3108, allocations: 0 / 474.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3109, allocations: 86.12 kB / 474.2 MB, free: 15.64 MB / 410.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.0004313/0.3113, allocations: 430.5 kB / 474.6 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3114, allocations: 92.62 kB / 474.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.3115, allocations: 45.27 kB / 474.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3115, allocations: 3.344 kB / 474.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3115, allocations: 37.47 kB / 474.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.3115, allocations: 0 / 474.8 MB, free: 15.25 MB / 410.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.001961/0.3135, allocations: 0.8443 MB / 475.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.499e-05/0.3135, allocations: 55.41 kB / 475.7 MB, free: 14.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.847e-05/0.3135, allocations: 114.6 kB / 475.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3135, allocations: 29.2 kB / 475.8 MB, free: 14.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.3136, allocations: 98.16 kB / 475.9 MB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3136, allocations: 72.3 kB / 476 MB, free: 14.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.3136, allocations: 42.67 kB / 476 MB, free: 14.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.83e-05/0.3137, allocations: 321.4 kB / 476.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.3137, allocations: 28.75 kB / 476.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.3138, allocations: 65.61 kB / 476.4 MB, free: 14.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.3139, allocations: 119.7 kB / 476.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3139, allocations: 3.938 kB / 476.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001679/0.314, allocations: 151.9 kB / 476.7 MB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.314, allocations: 10.81 kB / 476.7 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.314, allocations: 0 / 476.7 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.3141, allocations: 28.44 kB / 476.7 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3144, allocations: 67.59 kB / 476.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007226/0.3216, allocations: 1.618 MB / 478.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.3217, allocations: 2.531 kB / 478.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.3217, allocations: 19.36 kB / 478.4 MB, free: 12.82 MB / 410.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 5.943e-05/0.3217, allocations: 132 kB / 478.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3218, allocations: 11.19 kB / 478.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.322, allocations: 201.8 kB / 478.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.322, allocations: 6.312 kB / 478.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.322, allocations: 0 / 478.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.322, allocations: 2.938 kB / 478.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.3224, allocations: 370.6 kB / 479.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3224, allocations: 0 / 479.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.3226, allocations: 64.64 kB / 479.2 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.618e-05/0.3226, allocations: 24.42 kB / 479.2 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3226, allocations: 9.781 kB / 479.2 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002934/0.3229, allocations: 1.155 MB / 480.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3229, allocations: 2.969 kB / 480.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.3231, allocations: 314.6 kB / 480.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.3231, allocations: 9.266 kB / 480.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3232, allocations: 6.25 kB / 480.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.3233, allocations: 5.266 kB / 480.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.3233, allocations: 25.86 kB / 480.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.3233, allocations: 18.7 kB / 480.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.3233, allocations: 12.58 kB / 480.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3233, allocations: 0 / 480.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.3235, allocations: 86.72 kB / 480.9 MB, free: 11.07 MB / 410.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.0002185/0.3238, allocations: 134.9 kB / 481 MB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.324, allocations: 245.4 kB / 481.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.324, allocations: 0 / 481.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.3241, allocations: 185.8 kB / 481.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3243, allocations: 62.23 kB / 481.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.3249, allocations: 381.6 kB / 481.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.325, allocations: 80.45 kB / 481.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.3251, allocations: 59.72 kB / 482 MB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3253, allocations: 111.4 kB / 482.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3253, allocations: 0 / 482.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of Templates: time 0.006837/0.3321, allocations: 6.243 MB / 488.3 MB, free: 9.773 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.1577307539992034]