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.0009777/0.0009777, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.0009306/0.0009306, allocations: 173 kB / 24.25 MB, free: 308 kB / 18.57 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.8846/0.8846, allocations: 158.6 MB / 186 MB, free: 2.891 MB / 170.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.1351/0.1351, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.714e-06/1.714e-06, allocations: 0 / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.814e-05, allocations: 4.281 kB / 347.6 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2945/0.2946, allocations: 143.3 MB / 490.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2957, allocations: 0.9731 MB / 491.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.2958, allocations: 0 / 491.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.2961, allocations: 32.17 kB / 491.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.2967, allocations: 249.2 kB / 492.2 MB, free: 9.148 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.297, allocations: 120.9 kB / 492.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.2972, allocations: 170 kB / 492.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.2973, allocations: 5.375 kB / 492.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.2975, allocations: 117.5 kB / 492.6 MB, free: 9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.2976, allocations: 46.69 kB / 492.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2976, allocations: 3.531 kB / 492.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.298, allocations: 258.8 kB / 492.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.298, allocations: 22.95 kB / 492.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.2981, allocations: 37.02 kB / 492.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.2985, allocations: 297.8 kB / 493.2 MB, free: 8.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2985, allocations: 0 / 493.2 MB, free: 8.809 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2985, allocations: 0 / 493.2 MB, free: 8.809 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.2985, allocations: 0 / 493.2 MB, free: 8.809 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.0004076/0.2989, allocations: 442.5 kB / 493.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2989, allocations: 8.438 kB / 493.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.3003, allocations: 207.5 kB / 493.9 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3006, allocations: 156.5 kB / 494 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3006, allocations: 6.656 kB / 494 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.3006, allocations: 12.12 kB / 494 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.3009, allocations: 298.7 kB / 494.3 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.301, allocations: 0 / 494.3 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.301, allocations: 6.5 kB / 494.3 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.301, allocations: 0 / 494.3 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.3012, allocations: 133.9 kB / 494.5 MB, free: 7.895 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.0006842/0.3019, allocations: 0.6391 MB / 495.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.3021, allocations: 123.2 kB / 495.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.3022, allocations: 63.69 kB / 495.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3022, allocations: 6.766 kB / 495.3 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.3023, allocations: 36.11 kB / 495.3 MB, free: 7.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.3023, allocations: 0 / 495.3 MB, free: 7.203 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.002973/0.3052, allocations: 0.9792 MB / 496.3 MB, free: 6.727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.3053, allocations: 58.69 kB / 496.4 MB, free: 6.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.3053, allocations: 165.3 kB / 496.5 MB, free: 6.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3053, allocations: 29.2 kB / 496.6 MB, free: 6.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.3054, allocations: 148.9 kB / 496.7 MB, free: 6.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.3054, allocations: 72.31 kB / 496.8 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.3055, allocations: 56.62 kB / 496.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.3056, allocations: 498.4 kB / 497.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.3056, allocations: 48.59 kB / 497.4 MB, free: 5.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.3057, allocations: 90.98 kB / 497.5 MB, free: 5.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3059, allocations: 161.5 kB / 497.6 MB, free: 5.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3059, allocations: 0 / 497.6 MB, free: 5.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003344/0.3063, allocations: 219.2 kB / 497.8 MB, free: 5.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3063, allocations: 9.156 kB / 497.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3063, allocations: 0 / 497.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.3064, allocations: 38.59 kB / 497.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.3066, allocations: 53.03 kB / 497.9 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002285/0.3068, allocations: 0.8099 MB / 498.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.734e-05/0.3069, allocations: 6.125 kB / 498.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.307, allocations: 18.36 kB / 498.8 MB, free: 4.688 MB / 362.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/0.3071, allocations: 172.4 kB / 498.9 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.3071, allocations: 15.2 kB / 499 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.3075, allocations: 279.4 kB / 499.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3076, allocations: 2.594 kB / 499.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3076, allocations: 0 / 499.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3076, allocations: 3.984 kB / 499.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.3081, allocations: 0.5485 MB / 499.8 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3081, allocations: 3.062 kB / 499.8 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.3084, allocations: 58.42 kB / 499.8 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.287e-05/0.3084, allocations: 28.14 kB / 499.9 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3085, allocations: 5.531 kB / 499.9 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000503/0.309, allocations: 1.725 MB / 0.4898 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.309, allocations: 3.125 kB / 0.4898 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.3094, allocations: 432 kB / 0.4903 GB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.3094, allocations: 13.47 kB / 0.4903 GB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3094, allocations: 9.734 kB / 0.4903 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3095, allocations: 6.688 kB / 0.4903 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.3096, allocations: 23.72 kB / 0.4903 GB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.3096, allocations: 20.95 kB / 0.4903 GB, free: 1.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.547e-05/0.3096, allocations: 132.6 kB / 0.4905 GB, free: 1.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3096, allocations: 0 / 0.4905 GB, free: 1.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.31, allocations: 84.05 kB / 0.4905 GB, free: 1.777 MB / 362.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.0002983/0.3103, allocations: 161.6 kB / 0.4907 GB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.3106, allocations: 166 kB / 0.4908 GB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3106, allocations: 0 / 0.4908 GB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3108, allocations: 264 kB / 0.4911 GB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3112, allocations: 60.83 kB / 0.4912 GB, free: 1.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.3122, allocations: 404.7 kB / 0.4915 GB, free: 1.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.3122, allocations: 66.88 kB / 0.4916 GB, free: 1.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.3124, allocations: 68.25 kB / 0.4917 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3125, allocations: 39.2 kB / 0.4917 GB, free: 0.957 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3125, allocations: 4 kB / 0.4917 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of Templates: time 0.008727/0.3212, allocations: 5.339 MB / 0.4969 GB, free: 14.26 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 -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.32704109698534]