Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001392/0.001391, allocations: 116.3 kB / 19.13 MB, free: 3.922 MB / 14.72 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.001607/0.001607, allocations: 209 kB / 22.08 MB, free: 0.9766 MB / 14.72 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.426/1.426, allocations: 227.5 MB / 252.4 MB, free: 4 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2239/0.2239, allocations: 46.15 MB / 351.8 MB, free: 14.26 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 85.5 kB / 490.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1146, allocations: 62.45 MB / 0.5404 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01195/0.1266, allocations: 8.411 MB / 0.5486 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.1414, allocations: 13 MB / 0.5613 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.1415, allocations: 4 kB / 0.5613 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.1417, allocations: 39.8 kB / 0.5613 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005506/0.1473, allocations: 2.1 MB / 0.5634 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.59e-06/0.1473, allocations: 0 / 0.5634 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1474, allocations: 55.59 kB / 0.5634 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.1474, allocations: 4 kB / 0.5634 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1476, allocations: 31.8 kB / 0.5634 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.1476, allocations: 19.91 kB / 0.5635 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1476, allocations: 0 / 0.5635 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.1582, allocations: 6.016 MB / 0.5693 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.1583, allocations: 4 kB / 0.5693 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.1584, allocations: 19.81 kB / 0.5694 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.1718, allocations: 4.795 MB / 0.574 GB, free: 1.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1719, allocations: 0 / 0.574 GB, free: 1.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1719, allocations: 0 / 0.574 GB, free: 1.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1719, allocations: 0 / 0.574 GB, free: 1.754 MB / 430.1 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.003024/0.1749, allocations: 0.6373 MB / 0.5747 GB, free: 1.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.175, allocations: 12.03 kB / 0.5747 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1751, allocations: 8 kB / 0.5747 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1753, allocations: 167 kB / 0.5748 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1753, allocations: 4 kB / 0.5748 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1753, allocations: 8 kB / 0.5749 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.1757, allocations: 105.6 kB / 0.575 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1757, allocations: 3.938 kB / 0.575 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1757, allocations: 11.88 kB / 0.575 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1757, allocations: 3.938 kB / 0.575 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.176, allocations: 123.9 kB / 0.5751 GB, free: 0.582 MB / 430.1 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.0006/0.1767, allocations: 404 kB / 0.5755 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1769, allocations: 74.47 kB / 0.5755 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1771, allocations: 44.89 kB / 0.5756 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003796/0.1809, allocations: 2.135 MB / 0.5777 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1809, allocations: 34.56 kB / 0.5777 GB, free: 13.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.181, allocations: 0 / 0.5777 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006633/0.1816, allocations: 141.6 kB / 0.5778 GB, free: 13.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1817, allocations: 55.41 kB / 0.5779 GB, free: 13.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.1818, allocations: 101.8 kB / 0.578 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1818, allocations: 25.7 kB / 0.578 GB, free: 13.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.1819, allocations: 96.05 kB / 0.5781 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1819, allocations: 23.78 kB / 0.5781 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.182, allocations: 25.72 kB / 0.5782 GB, free: 13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1821, allocations: 322.7 kB / 0.5785 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1822, allocations: 31.98 kB / 0.5785 GB, free: 12.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1823, allocations: 41.69 kB / 0.5785 GB, free: 12.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.1826, allocations: 58.17 kB / 0.5786 GB, free: 12.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1826, allocations: 0 / 0.5786 GB, free: 12.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003042/0.1829, allocations: 113.6 kB / 0.5787 GB, free: 12.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1829, allocations: 4 kB / 0.5787 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1829, allocations: 4 kB / 0.5787 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.183, allocations: 0 / 0.5787 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1831, allocations: 19.98 kB / 0.5787 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1831, allocations: 4 kB / 0.5787 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.1832, allocations: 7.938 kB / 0.5787 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1832, allocations: 4 kB / 0.5787 GB, free: 12.38 MB / 446.1 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 9.18e-05/0.1833, allocations: 125.8 kB / 0.5789 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.1833, allocations: 0 / 0.5789 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.1838, allocations: 247.8 kB / 0.5791 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.1839, allocations: 15.92 kB / 0.5791 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1839, allocations: 4 kB / 0.5791 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1839, allocations: 0 / 0.5791 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.1841, allocations: 225.5 kB / 0.5793 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1841, allocations: 0 / 0.5793 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.624e-05/0.1842, allocations: 23.92 kB / 0.5794 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1843, allocations: 0 / 0.5794 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1843, allocations: 8 kB / 0.5794 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1843, allocations: 0 / 0.5794 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1843, allocations: 0 / 0.5794 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.1847, allocations: 259.3 kB / 0.5796 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1847, allocations: 89 kB / 0.5797 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1848, allocations: 4 kB / 0.5797 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.1848, allocations: 0 / 0.5797 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.1849, allocations: 15.98 kB / 0.5797 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1849, allocations: 0 / 0.5797 GB, free: 11.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.335e-05/0.185, allocations: 83.27 kB / 0.5798 GB, free: 11.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.185, allocations: 4 kB / 0.5798 GB, free: 11.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002078/0.1871, allocations: 378.9 kB / 0.5802 GB, free: 10.82 MB / 446.1 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.01253/0.1996, allocations: 3.568 MB / 0.5836 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.2001, allocations: 99.89 kB / 0.5837 GB, free: 7.145 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2001, allocations: 0 / 0.5837 GB, free: 7.145 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.2002, allocations: 75.84 kB / 0.5838 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2006, allocations: 19.98 kB / 0.5838 GB, free: 7.051 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.2011, allocations: 275.3 kB / 0.5841 GB, free: 6.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2015, allocations: 0.7002 MB / 0.5848 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.2015, allocations: 19.44 kB / 0.5848 GB, free: 6.004 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2015, allocations: 0 / 0.5848 GB, free: 6.004 MB / 446.1 MB Notification: Performance of Templates: time 0.0243/0.2258, allocations: 16.9 MB / 0.6013 GB, free: 5.082 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 9.087542382068932]