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.0009926/0.0009926, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001086/0.001086, allocations: 161 kB / 24.56 MB, free: 8 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 0.9942/0.9942, allocations: 177.1 MB / 205 MB, free: 5.602 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.2669/0.2669, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.763e-06/1.763e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.478e-05, allocations: 5.828 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.009102/0.009127, allocations: 8.534 MB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009881/0.01901, allocations: 12.84 MB / 399.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.01905, allocations: 0 / 399.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.01925, allocations: 35.77 kB / 399.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005019/0.02426, allocations: 2.189 MB / 401.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.874e-06/0.02427, allocations: 0 / 401.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.02436, allocations: 47.62 kB / 401.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.0244, allocations: 3.984 kB / 401.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.02453, allocations: 47.83 kB / 401.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.02456, allocations: 8 kB / 401.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.02457, allocations: 4 kB / 401.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006767/0.03134, allocations: 5.894 MB / 407.6 MB, free: 4.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.03136, allocations: 3.938 kB / 407.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.0314, allocations: 8 kB / 407.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008923/0.04032, allocations: 5.075 MB / 412.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.04032, allocations: 0 / 412.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04033, allocations: 0 / 412.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.04033, allocations: 0 / 412.7 MB, free: 15.84 MB / 394.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.002197/0.04253, allocations: 0.6498 MB / 413.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.04257, allocations: 19.97 kB / 413.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.04271, allocations: 31.81 kB / 413.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.04279, allocations: 108 kB / 413.5 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.0428, allocations: 8 kB / 413.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.04282, allocations: 4 kB / 413.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.04303, allocations: 94.34 kB / 413.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.04304, allocations: 0 / 413.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.04305, allocations: 8 kB / 413.6 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.04306, allocations: 3.938 kB / 413.6 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.04317, allocations: 67.94 kB / 413.7 MB, free: 14.78 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.0004373/0.0436, allocations: 327.5 kB / 414 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.04373, allocations: 67.14 kB / 414.1 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.04377, allocations: 39.55 kB / 414.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/0.04533, allocations: 0.9008 MB / 415 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.04536, allocations: 33.39 kB / 415.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.04536, allocations: 0 / 415.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003356/0.04569, allocations: 137.6 kB / 415.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.04572, allocations: 51.41 kB / 415.2 MB, free: 13.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.04579, allocations: 165.9 kB / 415.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.0458, allocations: 29.7 kB / 415.4 MB, free: 12.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.04585, allocations: 134.8 kB / 415.6 MB, free: 12.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.04587, allocations: 31.78 kB / 415.6 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.04591, allocations: 31.38 kB / 415.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.04602, allocations: 492.1 kB / 416.1 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.04605, allocations: 19.98 kB / 416.1 MB, free: 12.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.04609, allocations: 43.42 kB / 416.2 MB, free: 12.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.735e-05/0.04616, allocations: 51.31 kB / 416.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.04616, allocations: 0 / 416.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001317/0.04629, allocations: 101.5 kB / 416.3 MB, free: 12.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.04631, allocations: 6.031 kB / 416.3 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.04631, allocations: 0 / 416.3 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.04633, allocations: 0 / 416.3 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.0464, allocations: 23.92 kB / 416.3 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.04641, allocations: 0 / 416.3 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.04643, allocations: 7.938 kB / 416.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.04644, allocations: 4 kB / 416.4 MB, free: 11.97 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 6.918e-05/0.04651, allocations: 160.6 kB / 416.5 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.04654, allocations: 19.91 kB / 416.5 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.04678, allocations: 188.2 kB / 416.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.04679, allocations: 4 kB / 416.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.04679, allocations: 0 / 416.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.04679, allocations: 3.938 kB / 416.7 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.04693, allocations: 168.5 kB / 416.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.04693, allocations: 4 kB / 416.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.04697, allocations: 15.98 kB / 416.9 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.04697, allocations: 7.938 kB / 416.9 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.04698, allocations: 4 kB / 416.9 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.04698, allocations: 0 / 416.9 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.04698, allocations: 0 / 416.9 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.04716, allocations: 271.8 kB / 417.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.04717, allocations: 11.88 kB / 417.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.04718, allocations: 4 kB / 417.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.04721, allocations: 7.938 kB / 417.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.04725, allocations: 11.98 kB / 417.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.04726, allocations: 8 kB / 417.2 MB, free: 11.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.04729, allocations: 127.2 kB / 417.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04729, allocations: 0 / 417.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001521/0.04882, allocations: 374.9 kB / 417.7 MB, free: 10.53 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.008262/0.05708, allocations: 3.621 MB / 421.3 MB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.05729, allocations: 75.55 kB / 421.4 MB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.05729, allocations: 0 / 421.4 MB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.05736, allocations: 51.88 kB / 421.5 MB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.05761, allocations: 28.52 kB / 421.5 MB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.0584, allocations: 266.1 kB / 421.8 MB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.05844, allocations: 63.34 kB / 421.8 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.777e-05/0.05853, allocations: 46.3 kB / 421.9 MB, free: 6.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.05856, allocations: 20.48 kB / 421.9 MB, free: 6.301 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.05856, allocations: 0 / 421.9 MB, free: 6.301 MB / 394.7 MB Notification: Performance of Templates: time 0.01672/0.07528, allocations: 16.55 MB / 438.4 MB, free: 5.738 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.068041204009205]