Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.0009833/0.0009833, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001089/0.001089, allocations: 165.9 kB / 24.99 MB, free: 8.793 MB / 18.57 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.9652/0.9652, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.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.2906/0.2906, allocations: 34.26 MB / 296 MB, free: 0.7656 MB / 266.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.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378 MB, free: 3.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.944e-05, allocations: 2.312 kB / 378 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.0119/0.01193, allocations: 8.522 MB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009912/0.02184, allocations: 12.84 MB / 399.4 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.0219, allocations: 0 / 399.4 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.02211, allocations: 35.81 kB / 399.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.02741, allocations: 2.17 MB / 401.6 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.982e-06/0.02742, allocations: 3.938 kB / 401.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.02753, allocations: 55.59 kB / 401.6 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.02757, allocations: 4 kB / 401.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.02771, allocations: 39.84 kB / 401.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.02774, allocations: 15.98 kB / 401.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.02775, allocations: 0 / 401.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006386/0.03413, allocations: 5.894 MB / 407.6 MB, free: 5.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.03415, allocations: 3.938 kB / 407.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.03419, allocations: 11.98 kB / 407.6 MB, free: 5.328 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006869/0.04106, allocations: 5.079 MB / 412.7 MB, free: 248 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.04106, allocations: 0 / 412.7 MB, free: 248 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.04107, allocations: 0 / 412.7 MB, free: 248 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.04107, allocations: 0 / 412.7 MB, free: 248 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.002103/0.04318, allocations: 0.6498 MB / 413.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.04322, allocations: 12.03 kB / 413.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.04336, allocations: 27.83 kB / 413.4 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.69e-05/0.04345, allocations: 116 kB / 413.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.04346, allocations: 4 kB / 413.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.04347, allocations: 8 kB / 413.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.0437, allocations: 94.34 kB / 413.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.0437, allocations: 0 / 413.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.04372, allocations: 3.984 kB / 413.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.04373, allocations: 7.938 kB / 413.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.04384, allocations: 63.95 kB / 413.6 MB, free: 15.19 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.000421/0.04426, allocations: 339.5 kB / 414 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.0444, allocations: 67.03 kB / 414 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.04443, allocations: 35.61 kB / 414.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/0.04594, allocations: 0.9046 MB / 415 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.04596, allocations: 33.39 kB / 415 MB, free: 13.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.04596, allocations: 0 / 415 MB, free: 13.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000354/0.04632, allocations: 129.7 kB / 415.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.04635, allocations: 55.39 kB / 415.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.04643, allocations: 157.9 kB / 415.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.04644, allocations: 25.7 kB / 415.4 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.04649, allocations: 138.8 kB / 415.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.04651, allocations: 31.83 kB / 415.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.04656, allocations: 31.38 kB / 415.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.04669, allocations: 0.4884 MB / 416.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.04673, allocations: 12 kB / 416.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.04678, allocations: 39.42 kB / 416.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.361e-05/0.04686, allocations: 59.34 kB / 416.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.04687, allocations: 4 kB / 416.2 MB, free: 12.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001741/0.04704, allocations: 89.52 kB / 416.3 MB, free: 12.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.04706, allocations: 12.03 kB / 416.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.04706, allocations: 4 kB / 416.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.04708, allocations: 0 / 416.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.04716, allocations: 15.98 kB / 416.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.04717, allocations: 4 kB / 416.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.0472, allocations: 3.938 kB / 416.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.04721, allocations: 11.98 kB / 416.3 MB, free: 12.37 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 8.12e-05/0.0473, allocations: 160.5 kB / 416.5 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.04735, allocations: 15.89 kB / 416.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.04765, allocations: 185.5 kB / 416.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.04766, allocations: 0 / 416.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.04766, allocations: 0 / 416.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.04766, allocations: 4 kB / 416.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.04784, allocations: 168.5 kB / 416.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.04784, allocations: 0 / 416.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.0479, allocations: 23.94 kB / 416.9 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.04791, allocations: 3.938 kB / 416.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.04792, allocations: 11.94 kB / 416.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.04792, allocations: 3.984 kB / 416.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.04792, allocations: 0 / 416.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.04814, allocations: 266.2 kB / 417.1 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.04815, allocations: 11.89 kB / 417.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.04817, allocations: 4 kB / 417.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.04822, allocations: 4.188 kB / 417.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.04827, allocations: 11.97 kB / 417.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.04828, allocations: 11.98 kB / 417.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.04831, allocations: 123.2 kB / 417.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04831, allocations: 0 / 417.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001785/0.05009, allocations: 378.9 kB / 417.7 MB, free: 10.93 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.01007/0.06017, allocations: 3.625 MB / 421.3 MB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.06036, allocations: 71.61 kB / 421.4 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.06037, allocations: 0 / 421.4 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.06044, allocations: 51.61 kB / 421.4 MB, free: 7.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.06074, allocations: 28.3 kB / 421.4 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.06159, allocations: 258.2 kB / 421.7 MB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.06163, allocations: 63.34 kB / 421.8 MB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.739e-05/0.06173, allocations: 50.41 kB / 421.8 MB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.06177, allocations: 20.5 kB / 421.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.06177, allocations: 3.938 kB / 421.8 MB, free: 6.703 MB / 394.7 MB Notification: Performance of Templates: time 0.02493/0.08669, allocations: 16.56 MB / 438.4 MB, free: 6.137 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 4.059963590931147]