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.002445/0.002445, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002765/0.002765, allocations: 169.6 kB / 24.28 MB, free: 148 kB / 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 1.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3459/0.3459, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.423e-06/1.423e-06, allocations: 0 / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.161e-05, allocations: 2.312 kB / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01482/0.01485, allocations: 8.476 MB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.03366, allocations: 12.84 MB / 398.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.03371, allocations: 0 / 398.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.03396, allocations: 31.83 kB / 398.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007384/0.04135, allocations: 2.177 MB / 400.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.256e-06/0.04136, allocations: 0 / 400.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.04149, allocations: 51.61 kB / 400.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.04153, allocations: 4 kB / 400.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.04172, allocations: 43.83 kB / 400.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.04176, allocations: 8 kB / 400.9 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.04177, allocations: 4 kB / 400.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01194/0.05372, allocations: 5.89 MB / 406.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.05374, allocations: 7.922 kB / 406.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.05379, allocations: 12 kB / 406.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.06909, allocations: 5.075 MB / 411.9 MB, free: 276 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.06909, allocations: 0 / 411.9 MB, free: 276 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.06909, allocations: 0 / 411.9 MB, free: 276 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.0691, allocations: 0 / 411.9 MB, free: 276 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.003135/0.07223, allocations: 0.6539 MB / 412.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.07228, allocations: 8.031 kB / 412.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.07246, allocations: 31.77 kB / 412.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.07259, allocations: 120 kB / 412.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.07261, allocations: 4 kB / 412.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.07262, allocations: 4 kB / 412.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.07291, allocations: 89.64 kB / 412.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.07292, allocations: 0 / 412.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.07293, allocations: 0 / 412.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.07293, allocations: 3.938 kB / 412.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.07322, allocations: 87.94 kB / 412.9 MB, free: 15.2 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.0005927/0.07381, allocations: 339.5 kB / 413.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.07407, allocations: 75.02 kB / 413.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.132e-05/0.07416, allocations: 39.72 kB / 413.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0031/0.07726, allocations: 0.9046 MB / 414.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.07729, allocations: 33.39 kB / 414.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.07729, allocations: 4 kB / 414.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005691/0.07786, allocations: 137.8 kB / 414.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.07791, allocations: 59.41 kB / 414.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.07804, allocations: 157.9 kB / 414.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.07806, allocations: 29.64 kB / 414.6 MB, free: 13.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.07815, allocations: 138.8 kB / 414.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.07819, allocations: 31.77 kB / 414.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.07824, allocations: 27.38 kB / 414.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002567/0.0785, allocations: 496.1 kB / 415.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.07858, allocations: 28 kB / 415.3 MB, free: 12.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.731e-05/0.07867, allocations: 43.42 kB / 415.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.07883, allocations: 63.36 kB / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.07884, allocations: 0 / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002898/0.07913, allocations: 105.5 kB / 415.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.07914, allocations: 11.94 kB / 415.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.07915, allocations: 0 / 415.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.07916, allocations: 0 / 415.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.07926, allocations: 24.02 kB / 415.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.07927, allocations: 4 kB / 415.6 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.07931, allocations: 3.938 kB / 415.6 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.07933, allocations: 4 kB / 415.6 MB, free: 12.32 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.0001263/0.07946, allocations: 168.5 kB / 415.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.07951, allocations: 7.938 kB / 415.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.07993, allocations: 193.5 kB / 416 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.07993, allocations: 0 / 416 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.07993, allocations: 0 / 416 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.07994, allocations: 3.984 kB / 416 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.08018, allocations: 164.6 kB / 416.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.08018, allocations: 0 / 416.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.08027, allocations: 27.94 kB / 416.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.08028, allocations: 3.938 kB / 416.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.08029, allocations: 7.984 kB / 416.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.08029, allocations: 0 / 416.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.08029, allocations: 4 kB / 416.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.08067, allocations: 290.1 kB / 416.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.08069, allocations: 11.89 kB / 416.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.0807, allocations: 0 / 416.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.08077, allocations: 3.984 kB / 416.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.08082, allocations: 11.98 kB / 416.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.08083, allocations: 4 kB / 416.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.081e-05/0.0809, allocations: 123.4 kB / 416.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0809, allocations: 0 / 416.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002153/0.08305, allocations: 382.9 kB / 417 MB, free: 10.87 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.01308/0.09613, allocations: 3.625 MB / 420.6 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.09652, allocations: 87.55 kB / 420.7 MB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.09652, allocations: 4.062 kB / 420.7 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.09667, allocations: 63.59 kB / 420.7 MB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.09703, allocations: 26.7 kB / 420.8 MB, free: 7.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.09759, allocations: 242.1 kB / 421 MB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.244e-05/0.09768, allocations: 83.33 kB / 421.1 MB, free: 6.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.0978, allocations: 43.83 kB / 421.1 MB, free: 6.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.09786, allocations: 20.5 kB / 421.2 MB, free: 6.617 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.09786, allocations: 0 / 421.2 MB, free: 6.617 MB / 394.7 MB Notification: Performance of Templates: time 0.02848/0.1263, allocations: 16.55 MB / 437.7 MB, free: 6.062 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.2733747999882326]