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.0009158/0.0009158, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002192, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007252/0.0007252, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.00173, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9826/0.9826, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.085, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2722/0.2722, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02708/0.2992, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.222e-06/1.222e-06, allocations: 0 / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.536e-05, allocations: 4.812 kB / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1337/0.1337, allocations: 145.1 MB / 437.9 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1349, allocations: 1.091 MB / 439 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.1349, allocations: 0 / 439 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1351, allocations: 31.77 kB / 439.1 MB, free: 3.402 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.1355, allocations: 266.3 kB / 439.3 MB, free: 3.141 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1358, allocations: 123.6 kB / 439.4 MB, free: 3.02 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.136, allocations: 183.2 kB / 439.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.1361, allocations: 4 kB / 439.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.1363, allocations: 123.6 kB / 439.7 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.1364, allocations: 59.8 kB / 439.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1364, allocations: 4 kB / 439.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.1367, allocations: 267.6 kB / 440.1 MB, free: 2.391 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.1368, allocations: 19.94 kB / 440.1 MB, free: 2.371 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1368, allocations: 24 kB / 440.1 MB, free: 2.348 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1371, allocations: 263.2 kB / 440.4 MB, free: 2.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.1371, allocations: 0 / 440.4 MB, free: 2.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1371, allocations: 0 / 440.4 MB, free: 2.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1371, allocations: 0 / 440.4 MB, free: 2.09 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.0003951/0.1375, allocations: 353.2 kB / 440.7 MB, free: 1.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1375, allocations: 8.031 kB / 440.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.1385, allocations: 326 kB / 441 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1387, allocations: 125.7 kB / 441.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1387, allocations: 12.12 kB / 441.2 MB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1387, allocations: 8 kB / 441.2 MB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.139, allocations: 261.9 kB / 441.4 MB, free: 0.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.139, allocations: 3.938 kB / 441.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.139, allocations: 8 kB / 441.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.139, allocations: 0 / 441.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1391, allocations: 87.94 kB / 441.5 MB, free: 0.8203 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.0004913/0.1396, allocations: 432 kB / 442 MB, free: 384 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1397, allocations: 90.53 kB / 442 MB, free: 284 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.1398, allocations: 40.84 kB / 442.1 MB, free: 240 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1398, allocations: 4 kB / 442.1 MB, free: 236 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1398, allocations: 38.56 kB / 442.1 MB, free: 188 kB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.1398, allocations: 0 / 442.1 MB, free: 188 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.2003/0.3401, allocations: 0.8215 MB / 443 MB, free: 7.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.3402, allocations: 56.25 kB / 443 MB, free: 7.773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.3402, allocations: 118.2 kB / 443.1 MB, free: 7.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3402, allocations: 31.02 kB / 443.2 MB, free: 7.637 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.3403, allocations: 92.58 kB / 443.2 MB, free: 7.551 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3403, allocations: 78.19 kB / 443.3 MB, free: 7.512 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.3404, allocations: 48.11 kB / 443.4 MB, free: 7.496 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.3404, allocations: 318.1 kB / 443.7 MB, free: 7.184 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.3404, allocations: 31.23 kB / 443.7 MB, free: 7.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.3405, allocations: 64.31 kB / 443.8 MB, free: 7.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.3406, allocations: 116.4 kB / 443.9 MB, free: 7.117 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3406, allocations: 0.875 kB / 443.9 MB, free: 7.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001724/0.3408, allocations: 153.9 kB / 444 MB, free: 7.074 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3408, allocations: 5.344 kB / 444 MB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3408, allocations: 3.938 kB / 444 MB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001129/0.3409, allocations: 23.52 kB / 444.1 MB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.3411, allocations: 75.33 kB / 444.1 MB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005512/0.3417, allocations: 1.25 MB / 445.4 MB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.3418, allocations: 8.625 kB / 445.4 MB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.3418, allocations: 14.34 kB / 445.4 MB, free: 5.91 MB / 426.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 6.274e-05/0.3419, allocations: 131.2 kB / 445.5 MB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3419, allocations: 13.27 kB / 445.6 MB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.3421, allocations: 191.8 kB / 445.7 MB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3421, allocations: 0 / 445.7 MB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3421, allocations: 3.625 kB / 445.7 MB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3421, allocations: 3.688 kB / 445.7 MB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.3424, allocations: 372.2 kB / 446.1 MB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3425, allocations: 4.078 kB / 446.1 MB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.3426, allocations: 67.28 kB / 446.2 MB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.3427, allocations: 10.89 kB / 446.2 MB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.976e-05/0.3427, allocations: 18.3 kB / 446.2 MB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3427, allocations: 9.234 kB / 446.2 MB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002938/0.343, allocations: 1.155 MB / 447.4 MB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.343, allocations: 2 kB / 447.4 MB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.3432, allocations: 310.9 kB / 447.7 MB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3432, allocations: 5.062 kB / 447.7 MB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.3433, allocations: 7.656 kB / 447.7 MB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.3434, allocations: 25.03 kB / 447.7 MB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3434, allocations: 12.31 kB / 447.7 MB, free: 4.207 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.039e-05/0.3434, allocations: 18.67 kB / 447.7 MB, free: 4.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3434, allocations: 0.875 kB / 447.7 MB, free: 4.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.3436, allocations: 76.72 kB / 447.8 MB, free: 4.199 MB / 426.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.0002101/0.3438, allocations: 133.3 kB / 448 MB, free: 4.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3441, allocations: 241.8 kB / 448.2 MB, free: 4.012 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.3441, allocations: 1.328 kB / 448.2 MB, free: 4.012 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3442, allocations: 201.2 kB / 448.4 MB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3444, allocations: 158.2 kB / 448.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3462, allocations: 365.7 kB / 448.9 MB, free: 3.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.3463, allocations: 74.92 kB / 449 MB, free: 3.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.3464, allocations: 50.83 kB / 449 MB, free: 3.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3466, allocations: 108.6 kB / 449.1 MB, free: 3.48 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3466, allocations: 0.9062 kB / 449.1 MB, free: 3.48 MB / 426.7 MB Notification: Performance of Templates: time 0.006422/0.353, allocations: 5.597 MB / 454.7 MB, free: 3.184 MB / 426.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.11634623631835]