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.001117/0.001117, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002752, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001141/0.001141, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002595, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.035/1.035, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1151/1.15, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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.2934/0.2934, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0326/0.326, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.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.542e-06/1.542e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.973e-05, allocations: 4.984 kB / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1642/0.1642, allocations: 145.1 MB / 439 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1653, allocations: 1.082 MB / 440 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.1653, allocations: 0 / 440 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1655, allocations: 31.77 kB / 440.1 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004763/0.166, allocations: 278.3 kB / 440.3 MB, free: 2.145 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1663, allocations: 121.3 kB / 440.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1665, allocations: 183.2 kB / 440.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.1666, allocations: 7.984 kB / 440.6 MB, free: 1.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.1668, allocations: 119.6 kB / 440.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.1669, allocations: 51.88 kB / 440.8 MB, free: 1.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1669, allocations: 4 kB / 440.8 MB, free: 1.668 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.1673, allocations: 275.5 kB / 441.1 MB, free: 1.398 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.1673, allocations: 15.94 kB / 441.1 MB, free: 1.383 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.1674, allocations: 24 kB / 441.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.1677, allocations: 267.3 kB / 441.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-05/0.1677, allocations: 0 / 441.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1677, allocations: 4 kB / 441.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.1677, allocations: 0 / 441.4 MB, free: 1.094 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.0004882/0.1682, allocations: 345.2 kB / 441.7 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1682, allocations: 11.44 kB / 441.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1696, allocations: 334 kB / 442.1 MB, free: 392 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1698, allocations: 125.7 kB / 442.2 MB, free: 240 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1698, allocations: 8.125 kB / 442.2 MB, free: 232 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.1699, allocations: 8 kB / 442.2 MB, free: 224 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2347/0.4046, allocations: 261.7 kB / 442.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4046, allocations: 0 / 442.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.4046, allocations: 2.719 kB / 442.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.4047, allocations: 4.688 kB / 442.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.4049, allocations: 84.02 kB / 442.5 MB, free: 4.82 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.000723/0.4056, allocations: 429.6 kB / 443 MB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.4058, allocations: 98.91 kB / 443.1 MB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.4059, allocations: 44.06 kB / 443.1 MB, free: 4.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.4059, allocations: 3 kB / 443.1 MB, free: 4.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.4059, allocations: 32.75 kB / 443.1 MB, free: 4.441 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/0.4059, allocations: 0 / 443.1 MB, free: 4.441 MB / 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.00211/0.4081, allocations: 0.822 MB / 444 MB, free: 4.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.4081, allocations: 55.41 kB / 444 MB, free: 4.094 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.4082, allocations: 118.6 kB / 444.1 MB, free: 19.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.4083, allocations: 30.23 kB / 444.2 MB, free: 19.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.4083, allocations: 93.33 kB / 444.3 MB, free: 19.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.4083, allocations: 72.2 kB / 444.3 MB, free: 19.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.4084, allocations: 46.77 kB / 444.4 MB, free: 19.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.4085, allocations: 325.8 kB / 444.7 MB, free: 19.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.4085, allocations: 29.66 kB / 444.7 MB, free: 19.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.4086, allocations: 66.39 kB / 444.8 MB, free: 19.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.4087, allocations: 108 kB / 444.9 MB, free: 19.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4087, allocations: 1.453 kB / 444.9 MB, free: 19.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001808/0.4088, allocations: 153.9 kB / 445 MB, free: 19.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4089, allocations: 12.47 kB / 445.1 MB, free: 19.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4089, allocations: 6.516 kB / 445.1 MB, free: 19.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.409, allocations: 21.44 kB / 445.1 MB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.4092, allocations: 70.91 kB / 445.1 MB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007392/0.4099, allocations: 1.258 MB / 446.4 MB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.41, allocations: 10.97 kB / 446.4 MB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.41, allocations: 14.27 kB / 446.4 MB, free: 18.21 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.967e-05/0.4101, allocations: 124.2 kB / 446.6 MB, free: 18.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.4101, allocations: 11.19 kB / 446.6 MB, free: 18.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.4104, allocations: 187.3 kB / 446.7 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.4104, allocations: 9.062 kB / 446.8 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4104, allocations: 0 / 446.8 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4104, allocations: 3.938 kB / 446.8 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.4108, allocations: 373.4 kB / 447.1 MB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4108, allocations: 0 / 447.1 MB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.411, allocations: 68.77 kB / 447.2 MB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.411, allocations: 12.23 kB / 447.2 MB, free: 17.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.799e-05/0.411, allocations: 23.44 kB / 447.2 MB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4111, allocations: 5.281 kB / 447.2 MB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004562/0.4115, allocations: 1.15 MB / 448.4 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4115, allocations: 0.9375 kB / 448.4 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.4117, allocations: 309.3 kB / 448.7 MB, free: 16.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4118, allocations: 7.172 kB / 448.7 MB, free: 16.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.4118, allocations: 16.12 kB / 448.7 MB, free: 16.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.4119, allocations: 15.8 kB / 448.7 MB, free: 16.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.4119, allocations: 16.42 kB / 448.7 MB, free: 16.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.469e-05/0.4119, allocations: 16.17 kB / 448.8 MB, free: 16.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4119, allocations: 0.8438 kB / 448.8 MB, free: 16.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.4121, allocations: 77.17 kB / 448.8 MB, free: 16.5 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.0002276/0.4124, allocations: 130.5 kB / 449 MB, free: 16.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.4126, allocations: 238.6 kB / 449.2 MB, free: 16.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.4126, allocations: 4.531 kB / 449.2 MB, free: 16.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4128, allocations: 183 kB / 449.4 MB, free: 16.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.413, allocations: 66 kB / 449.4 MB, free: 16.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.4148, allocations: 374.8 kB / 449.8 MB, free: 16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.4149, allocations: 72.8 kB / 449.9 MB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.415, allocations: 56.16 kB / 449.9 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.4152, allocations: 112.4 kB / 450 MB, free: 15.87 MB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4152, allocations: 1.031 kB / 450 MB, free: 15.87 MB / 442.7 MB Notification: Performance of Templates: time 0.00704/0.4222, allocations: 5.593 MB / 455.6 MB, free: 15.56 MB / 442.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 -emit_protected -ignoreHideResult -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.3777375109493732]