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.001999/0.001999, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.00218/0.00218, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.8/1.8, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3253/0.3253, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 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.473e-06/1.473e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.511e-05, allocations: 8.844 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01426/0.01429, allocations: 8.476 MB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.03249, allocations: 12.84 MB / 398.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.03253, allocations: 0 / 398.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.03273, allocations: 27.83 kB / 398.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006379/0.03911, allocations: 2.173 MB / 400.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.392e-06/0.03911, allocations: 0 / 400.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.03922, allocations: 51.61 kB / 400.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.03925, allocations: 4 kB / 400.8 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.03943, allocations: 51.77 kB / 400.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.03947, allocations: 8 kB / 400.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.03948, allocations: 4 kB / 400.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.05075, allocations: 5.89 MB / 406.7 MB, free: 5.297 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.05077, allocations: 3.938 kB / 406.7 MB, free: 5.293 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.05082, allocations: 16 kB / 406.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.06534, allocations: 5.068 MB / 411.8 MB, free: 208 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.06535, allocations: 0 / 411.8 MB, free: 208 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.06535, allocations: 4 kB / 411.8 MB, free: 204 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.06536, allocations: 0 / 411.8 MB, free: 204 kB / 378.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.002741/0.0681, allocations: 0.6616 MB / 412.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.06813, allocations: 8.031 kB / 412.5 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.06833, allocations: 35.8 kB / 412.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.06845, allocations: 112.1 kB / 412.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.06846, allocations: 0 / 412.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.06848, allocations: 4 kB / 412.6 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.06877, allocations: 89.64 kB / 412.7 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.06878, allocations: 7.938 kB / 412.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.06879, allocations: 4 kB / 412.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.0688, allocations: 3.938 kB / 412.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.06934, allocations: 83.94 kB / 412.8 MB, free: 15.12 MB / 394.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.000713/0.07006, allocations: 339.5 kB / 413.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.07033, allocations: 74.97 kB / 413.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.07043, allocations: 35.61 kB / 413.3 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/0.07362, allocations: 0.8969 MB / 414.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.07366, allocations: 41.38 kB / 414.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.07366, allocations: 0 / 414.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006198/0.07428, allocations: 141.5 kB / 414.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.07433, allocations: 59.39 kB / 414.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.07446, allocations: 165.9 kB / 414.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.07448, allocations: 29.7 kB / 414.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.07456, allocations: 130.8 kB / 414.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.07459, allocations: 23.8 kB / 414.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.07465, allocations: 31.36 kB / 414.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/0.07491, allocations: 496.1 kB / 415.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.07499, allocations: 23.98 kB / 415.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.0751, allocations: 39.47 kB / 415.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.07527, allocations: 79.69 kB / 415.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.07527, allocations: 4 kB / 415.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002759/0.07555, allocations: 101.5 kB / 415.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.07556, allocations: 8 kB / 415.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.07557, allocations: 0 / 415.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.07558, allocations: 0 / 415.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.07569, allocations: 23.98 kB / 415.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.07569, allocations: 0 / 415.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.07573, allocations: 3.938 kB / 415.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.07575, allocations: 4 kB / 415.5 MB, free: 12.25 MB / 394.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 0.0001241/0.07587, allocations: 164.6 kB / 415.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.07593, allocations: 7.938 kB / 415.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.07638, allocations: 197.4 kB / 415.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.07638, allocations: 0 / 415.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.07638, allocations: 0 / 415.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.07639, allocations: 192 / 415.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.07663, allocations: 172.6 kB / 416.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.07663, allocations: 0 / 416.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.051e-05/0.07672, allocations: 19.98 kB / 416.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.07673, allocations: 7.922 kB / 416.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.07674, allocations: 8 kB / 416.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.07675, allocations: 4 kB / 416.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.07675, allocations: 0 / 416.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.07715, allocations: 294.9 kB / 416.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.07717, allocations: 11.89 kB / 416.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.07719, allocations: 0 / 416.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.07726, allocations: 8 kB / 416.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.07731, allocations: 11.97 kB / 416.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.07732, allocations: 4 kB / 416.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.653e-05/0.0774, allocations: 127.2 kB / 416.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0774, allocations: 0 / 416.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002054/0.07945, allocations: 378.9 kB / 416.9 MB, free: 10.79 MB / 394.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.01339/0.09284, allocations: 3.617 MB / 420.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.0932, allocations: 91.53 kB / 420.6 MB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.0932, allocations: 0 / 420.6 MB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.09334, allocations: 63.59 kB / 420.7 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.0937, allocations: 19.98 kB / 420.7 MB, free: 6.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.0943, allocations: 238.3 kB / 420.9 MB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.879e-05/0.0944, allocations: 79.27 kB / 421 MB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.09453, allocations: 51.83 kB / 421.1 MB, free: 6.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.09458, allocations: 16.48 kB / 421.1 MB, free: 6.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.09458, allocations: 4 kB / 421.1 MB, free: 6.551 MB / 394.7 MB Notification: Performance of Templates: time 0.02858/0.1232, allocations: 16.53 MB / 437.6 MB, free: 6.008 MB / 410.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.349027112009935]