Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001151/0.001151, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.004344/0.004344, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.9799/0.9799, allocations: 177 MB / 205.2 MB, free: 5.055 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.2522/0.2522, allocations: 34.86 MB / 296.6 MB, free: 480 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.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.608e-05, allocations: 5.406 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.02277/0.02279, allocations: 8.557 MB / 334.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.03732, allocations: 12.82 MB / 347.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.03736, allocations: 3.938 kB / 347.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.03757, allocations: 35.81 kB / 347.4 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004712/0.04228, allocations: 2.06 MB / 349.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.04228, allocations: 4 kB / 349.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.165e-05/0.04236, allocations: 47.62 kB / 349.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.04239, allocations: 3.984 kB / 349.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.04252, allocations: 43.83 kB / 349.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.155e-05/0.04254, allocations: 15.94 kB / 349.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.04255, allocations: 0 / 349.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/0.04856, allocations: 6.031 MB / 355.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.04857, allocations: 4 kB / 355.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.0486, allocations: 15.92 kB / 355.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006081/0.05468, allocations: 5.079 MB / 360.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.05468, allocations: 0 / 360.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.05469, allocations: 0 / 360.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.05469, allocations: 0 / 360.7 MB, free: 4.332 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001432/0.05612, allocations: 0.5368 MB / 361.2 MB, free: 3.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.05616, allocations: 8.031 kB / 361.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.05626, allocations: 27.88 kB / 361.2 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.05633, allocations: 113.1 kB / 361.3 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.05635, allocations: 11.94 kB / 361.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.05636, allocations: 0 / 361.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.05651, allocations: 97.17 kB / 361.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.05652, allocations: 0 / 361.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.05653, allocations: 4 kB / 361.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.05653, allocations: 7.938 kB / 361.5 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.05662, allocations: 49.92 kB / 361.5 MB, free: 3.422 MB / 330.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.0003089/0.05693, allocations: 229.8 kB / 361.7 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.05703, allocations: 52.33 kB / 361.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.05705, allocations: 12.86 kB / 361.8 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00421/0.06126, allocations: 3.136 MB / 364.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.06128, allocations: 42.5 kB / 365 MB, free: 15.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.06128, allocations: 0 / 365 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000244/0.06153, allocations: 101.5 kB / 365.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.06155, allocations: 51.41 kB / 365.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/0.0616, allocations: 110.6 kB / 365.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.06161, allocations: 33.7 kB / 365.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.06164, allocations: 92.03 kB / 365.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.06166, allocations: 19.84 kB / 365.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.06169, allocations: 21.7 kB / 365.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.06176, allocations: 314.8 kB / 365.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.06178, allocations: 21.38 kB / 365.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.0618, allocations: 21.72 kB / 365.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.06184, allocations: 33.7 kB / 365.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.06185, allocations: 4 kB / 365.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.434e-05/0.06194, allocations: 78.19 kB / 365.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.06195, allocations: 7.938 kB / 365.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.06196, allocations: 0 / 365.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.06197, allocations: 4 kB / 365.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.294e-05/0.06202, allocations: 15.98 kB / 365.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.06203, allocations: 4.484 kB / 365.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.06205, allocations: 7.953 kB / 365.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.06206, allocations: 7.938 kB / 365.9 MB, free: 14.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.06211, allocations: 117.9 kB / 366 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.06214, allocations: 11.88 kB / 366 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.06232, allocations: 186.2 kB / 366.2 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.06233, allocations: 4 kB / 366.2 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.06233, allocations: 0 / 366.2 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.06233, allocations: 4 kB / 366.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.06244, allocations: 113.8 kB / 366.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.06245, allocations: 0 / 366.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.06249, allocations: 23.92 kB / 366.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.06249, allocations: 0 / 366.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.06249, allocations: 4 kB / 366.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.0625, allocations: 7.938 kB / 366.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0625, allocations: 0 / 366.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.06262, allocations: 228.6 kB / 366.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.06263, allocations: 11.89 kB / 366.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.06264, allocations: 8 kB / 366.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.074e-05/0.06267, allocations: 7.938 kB / 366.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.0627, allocations: 15.97 kB / 366.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.06271, allocations: 0 / 366.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.817e-06/0.06271, allocations: 9.047 kB / 366.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06271, allocations: 0 / 366.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008938/0.06361, allocations: 374.9 kB / 367 MB, free: 13.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007027/0.07063, allocations: 3.659 MB / 370.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.07073, allocations: 56.72 kB / 370.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.07073, allocations: 0 / 370.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.07077, allocations: 40.78 kB / 370.8 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.07094, allocations: 23.97 kB / 370.8 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.07151, allocations: 259.3 kB / 371 MB, free: 9.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.675e-05/0.07155, allocations: 67.28 kB / 371.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.07178, allocations: 47.83 kB / 371.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.07184, allocations: 67.36 kB / 371.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of SimCode: time 9.11e-07/0.07184, allocations: 0 / 371.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of Templates: time 0.01663/0.08847, allocations: 18.52 MB / 389.7 MB, free: 6.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.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.6304069487378]