Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001338/0.001338, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002099/0.003436, allocations: 447.8 kB / 10.35 MB, free: 348 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.001024/0.001024, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.002028, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9571/0.9571, allocations: 158.6 MB / 171 MB, free: 2.191 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1928/1.15, allocations: 49.51 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1492/0.1492, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02507/0.1742, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 267.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.55e-05, allocations: 2.312 kB / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2982/0.2982, allocations: 143.4 MB / 410.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009692/0.2992, allocations: 0.9946 MB / 411.5 MB, free: 6.648 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.2992, allocations: 0 / 411.5 MB, free: 6.648 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2994, allocations: 27.83 kB / 411.6 MB, free: 6.621 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005288/0.2999, allocations: 248.1 kB / 411.8 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.3002, allocations: 121.4 kB / 411.9 MB, free: 6.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.3004, allocations: 171.2 kB / 412.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.3005, allocations: 7.984 kB / 412.1 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.3007, allocations: 116.2 kB / 412.2 MB, free: 5.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.3008, allocations: 43.89 kB / 412.3 MB, free: 5.938 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3008, allocations: 4 kB / 412.3 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.3012, allocations: 275.5 kB / 412.5 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.3012, allocations: 11.98 kB / 412.5 MB, free: 5.652 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.3013, allocations: 27.94 kB / 412.6 MB, free: 5.625 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.3016, allocations: 255.3 kB / 412.8 MB, free: 5.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.856e-05/0.3016, allocations: 0 / 412.8 MB, free: 5.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3016, allocations: 0 / 412.8 MB, free: 5.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.3016, allocations: 0 / 412.8 MB, free: 5.375 MB / 362.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.0004863/0.3021, allocations: 348.9 kB / 413.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.3022, allocations: 11.97 kB / 413.2 MB, free: 5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.3032, allocations: 321.5 kB / 413.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.3034, allocations: 129.7 kB / 413.6 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3034, allocations: 4.375 kB / 413.6 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.3035, allocations: 12.56 kB / 413.6 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.3037, allocations: 272.7 kB / 413.9 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3037, allocations: 0 / 413.9 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.3038, allocations: 7.984 kB / 413.9 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3038, allocations: 0 / 413.9 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3039, allocations: 87.89 kB / 414 MB, free: 4.105 MB / 362.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.00055/0.3044, allocations: 428.4 kB / 414.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3046, allocations: 97.19 kB / 414.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.3047, allocations: 41.53 kB / 414.5 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3047, allocations: 8 kB / 414.6 MB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.3047, allocations: 34.56 kB / 414.6 MB, free: 3.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.3047, allocations: 0 / 414.6 MB, free: 3.469 MB / 362.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.00198/0.3067, allocations: 0.8093 MB / 415.4 MB, free: 2.613 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.3067, allocations: 55.41 kB / 415.4 MB, free: 2.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.3068, allocations: 110.7 kB / 415.6 MB, free: 2.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3068, allocations: 29.7 kB / 415.6 MB, free: 2.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.3069, allocations: 99.97 kB / 415.7 MB, free: 2.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.3069, allocations: 75.36 kB / 415.8 MB, free: 2.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.307, allocations: 41.69 kB / 415.8 MB, free: 2.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.307, allocations: 322.8 kB / 416.1 MB, free: 1.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.3071, allocations: 35.78 kB / 416.1 MB, free: 1.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.3071, allocations: 55.41 kB / 416.2 MB, free: 1.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.3075, allocations: 122.1 kB / 416.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3075, allocations: 0 / 416.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001765/0.3077, allocations: 146.4 kB / 416.5 MB, free: 1.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3077, allocations: 8 kB / 416.5 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3077, allocations: 3.938 kB / 416.5 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.3079, allocations: 24.94 kB / 416.5 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.3081, allocations: 75.86 kB / 416.6 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007296/0.3088, allocations: 1.261 MB / 417.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.3089, allocations: 7.875 kB / 417.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3089, allocations: 16 kB / 417.9 MB, free: 15.97 MB / 378.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 8.372e-05/0.309, allocations: 128.6 kB / 418 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.309, allocations: 15.98 kB / 418 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.3093, allocations: 188.3 kB / 418.2 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3093, allocations: 4.031 kB / 418.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3093, allocations: 0 / 418.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3093, allocations: 4 kB / 418.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.3097, allocations: 373.1 kB / 418.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3097, allocations: 4 kB / 418.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.3099, allocations: 64.03 kB / 418.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.3099, allocations: 11.94 kB / 418.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.777e-05/0.31, allocations: 24.78 kB / 418.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.31, allocations: 4 kB / 418.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004675/0.3104, allocations: 1.162 MB / 419.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3104, allocations: 0 / 419.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.3107, allocations: 299.1 kB / 420.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3107, allocations: 4 kB / 420.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.3108, allocations: 4 kB / 420.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.3108, allocations: 27.89 kB / 420.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3108, allocations: 8.75 kB / 420.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.734e-05/0.3109, allocations: 16.84 kB / 420.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3109, allocations: 0 / 420.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000231/0.3111, allocations: 76.03 kB / 420.3 MB, free: 13.41 MB / 378.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.0002232/0.3113, allocations: 136.2 kB / 420.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3116, allocations: 229.4 kB / 420.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.3116, allocations: 7.984 kB / 420.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.3117, allocations: 183.3 kB / 420.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.3119, allocations: 77.88 kB / 420.9 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.3137, allocations: 367.5 kB / 421.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.3138, allocations: 71.94 kB / 421.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.3139, allocations: 57.45 kB / 421.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3141, allocations: 107.3 kB / 421.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3141, allocations: 4 kB / 421.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of Templates: time 0.007048/0.3212, allocations: 5.547 MB / 427 MB, free: 6.602 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1516993502154946]