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.000823/0.000823, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00347/0.00347, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8213/0.8213, allocations: 177.1 MB / 205 MB, free: 5.73 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.2197/0.2197, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.242e-06/1.242e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.437e-05, allocations: 3.266 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.1512/0.1512, allocations: 8.036 MB / 451.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005374/0.1566, allocations: 11.45 MB / 462.9 MB, free: 33.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.1566, allocations: 0 / 462.9 MB, free: 33.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.1567, allocations: 31.59 kB / 462.9 MB, free: 33.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.1591, allocations: 2.176 MB / 465.1 MB, free: 32.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.1591, allocations: 0 / 465.1 MB, free: 32.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.1591, allocations: 61.09 kB / 465.2 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.1592, allocations: 2.906 kB / 465.2 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.1593, allocations: 38.22 kB / 465.2 MB, free: 32.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.245e-05/0.1593, allocations: 16.39 kB / 465.2 MB, free: 32.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1593, allocations: 0 / 465.2 MB, free: 32.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.1634, allocations: 5.888 MB / 471.1 MB, free: 31.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.1634, allocations: 3.938 kB / 471.1 MB, free: 31.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.1634, allocations: 13.78 kB / 471.1 MB, free: 31.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004951/0.1684, allocations: 5.069 MB / 476.2 MB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1684, allocations: 0 / 476.2 MB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1684, allocations: 3 kB / 476.2 MB, free: 30.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1684, allocations: 0 / 476.2 MB, free: 30.66 MB / 410.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.001068/0.1694, allocations: 0.5607 MB / 476.8 MB, free: 30.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1695, allocations: 8.562 kB / 476.8 MB, free: 30.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.1695, allocations: 16.75 kB / 476.8 MB, free: 30.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.492e-05/0.1696, allocations: 111.5 kB / 476.9 MB, free: 30.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1696, allocations: 2.719 kB / 476.9 MB, free: 30.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.1696, allocations: 6.812 kB / 476.9 MB, free: 30.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1698, allocations: 113.3 kB / 477 MB, free: 30.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1698, allocations: 0 / 477 MB, free: 30.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1698, allocations: 6.938 kB / 477 MB, free: 30.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.1698, allocations: 6.969 kB / 477 MB, free: 30.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.17, allocations: 127.1 kB / 477.2 MB, free: 29.98 MB / 410.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.0003167/0.1703, allocations: 292.7 kB / 477.4 MB, free: 29.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1704, allocations: 71.73 kB / 477.5 MB, free: 29.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.1705, allocations: 42.75 kB / 477.6 MB, free: 29.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.1718, allocations: 0.8694 MB / 478.4 MB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.1719, allocations: 36.27 kB / 478.5 MB, free: 29.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1719, allocations: 0 / 478.5 MB, free: 29.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003354/0.1722, allocations: 141.4 kB / 478.6 MB, free: 29.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.1722, allocations: 64.17 kB / 478.7 MB, free: 29.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.714e-05/0.1723, allocations: 97.52 kB / 478.8 MB, free: 29.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.1723, allocations: 27.05 kB / 478.8 MB, free: 29.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.963e-05/0.1723, allocations: 89.47 kB / 478.9 MB, free: 29.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.1723, allocations: 25.84 kB / 478.9 MB, free: 29.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.1723, allocations: 24.97 kB / 478.9 MB, free: 29.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.286e-05/0.1723, allocations: 316.1 kB / 479.2 MB, free: 28.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.1724, allocations: 28.56 kB / 479.3 MB, free: 28.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.1724, allocations: 39.67 kB / 479.3 MB, free: 28.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.61e-05/0.1725, allocations: 66.86 kB / 479.4 MB, free: 28.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1725, allocations: 0 / 479.4 MB, free: 28.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001367/0.1727, allocations: 111.2 kB / 479.5 MB, free: 28.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1727, allocations: 5.938 kB / 479.5 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1727, allocations: 0 / 479.5 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1727, allocations: 1.469 kB / 479.5 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.1728, allocations: 16.59 kB / 479.5 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1728, allocations: 1.469 kB / 479.5 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.1728, allocations: 13.92 kB / 479.5 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1728, allocations: 7.312 kB / 479.5 MB, free: 28.61 MB / 410.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 3.424e-05/0.1728, allocations: 112.6 kB / 479.6 MB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.1729, allocations: 10.73 kB / 479.6 MB, free: 28.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.1731, allocations: 258.6 kB / 479.9 MB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1731, allocations: 1.031 kB / 479.9 MB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1731, allocations: 1.062 kB / 479.9 MB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1731, allocations: 3.422 kB / 479.9 MB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.872e-05/0.1732, allocations: 170.9 kB / 480.1 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1732, allocations: 1.375 kB / 480.1 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.1733, allocations: 24.59 kB / 480.1 MB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1733, allocations: 3.938 kB / 480.1 MB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1733, allocations: 6.656 kB / 480.1 MB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1733, allocations: 3.938 kB / 480.1 MB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1733, allocations: 3.047 kB / 480.1 MB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.1734, allocations: 253.4 kB / 480.4 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.1734, allocations: 15.64 kB / 480.4 MB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.1734, allocations: 5.125 kB / 480.4 MB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.1735, allocations: 5.219 kB / 480.4 MB, free: 28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.1735, allocations: 8.156 kB / 480.4 MB, free: 28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1735, allocations: 7.031 kB / 480.4 MB, free: 28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.214e-05/0.1735, allocations: 81.52 kB / 480.5 MB, free: 27.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1735, allocations: 0 / 480.5 MB, free: 27.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007729/0.1743, allocations: 379.5 kB / 480.8 MB, free: 27.83 MB / 410.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.006989/0.1813, allocations: 3.625 MB / 484.5 MB, free: 25.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1815, allocations: 96.55 kB / 484.6 MB, free: 25.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1815, allocations: 1.188 kB / 484.6 MB, free: 25.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.1815, allocations: 60.25 kB / 484.6 MB, free: 25.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1817, allocations: 19.2 kB / 484.6 MB, free: 25.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.1821, allocations: 264.3 kB / 484.9 MB, free: 25.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.1821, allocations: 80.22 kB / 485 MB, free: 25.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.1821, allocations: 25.31 kB / 485 MB, free: 25.62 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1821, allocations: 0 / 485 MB, free: 25.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01488/0.197, allocations: 17.02 MB / 0.4903 GB, free: 21.77 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] 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: 5.6664280984550714]