Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.001352/0.001352, allocations: 109 kB / 21.22 MB, free: 0.7344 MB / 14.72 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.001467/0.001467, allocations: 212.2 kB / 24.52 MB, free: 4.074 MB / 14.72 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.228/1.228, allocations: 120.6 MB / 435.3 MB, free: 0.8281 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.83 kB / 0.608 GB, free: 10.46 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1743, allocations: 85.86 MB / 0.6919 GB, free: 4.379 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001619/0.1759, allocations: 393.3 kB / 0.6922 GB, free: 3.996 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.1762, allocations: 35.12 kB / 0.6923 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.1762, allocations: 0 / 0.6923 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.1762, allocations: 0 / 0.6923 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.1763, allocations: 3.938 kB / 0.6923 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.1764, allocations: 4 kB / 0.6923 GB, free: 3.957 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.1765, allocations: 8 kB / 0.6923 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.1766, allocations: 3.984 kB / 0.6923 GB, free: 3.945 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.1766, allocations: 3.984 kB / 0.6923 GB, free: 3.941 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.1766, allocations: 8 kB / 0.6923 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1766, allocations: 0 / 0.6923 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.371e-05/0.1767, allocations: 7.984 kB / 0.6923 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.1767, allocations: 0 / 0.6923 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.1767, allocations: 3.938 kB / 0.6923 GB, free: 3.922 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.604e-05/0.1768, allocations: 8 kB / 0.6923 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1768, allocations: 0 / 0.6923 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1768, allocations: 4 kB / 0.6923 GB, free: 3.91 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1769, allocations: 0 / 0.6923 GB, free: 3.91 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003518/0.1772, allocations: 242.4 kB / 0.6925 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1772, allocations: 8.031 kB / 0.6926 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.1773, allocations: 0.9375 kB / 0.6926 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1774, allocations: 114.5 kB / 0.6927 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1774, allocations: 384 / 0.6927 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1774, allocations: 384 / 0.6927 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1775, allocations: 34.25 kB / 0.6927 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1775, allocations: 192 / 0.6927 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1775, allocations: 7.875 kB / 0.6927 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1775, allocations: 0 / 0.6927 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.1776, allocations: 8 kB / 0.6927 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1777, allocations: 116.8 kB / 0.6928 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/0.1778, allocations: 34.53 kB / 0.6929 GB, free: 3.242 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.1778, allocations: 4.859 kB / 0.6929 GB, free: 3.234 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.178, allocations: 16.03 kB / 0.6929 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.1781, allocations: 38.5 kB / 0.6929 GB, free: 3.172 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1781, allocations: 0 / 0.6929 GB, free: 3.172 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.1782, allocations: 41.64 kB / 0.693 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1783, allocations: 55.34 kB / 0.693 GB, free: 3.059 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.1783, allocations: 89.86 kB / 0.6931 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1783, allocations: 29.7 kB / 0.6931 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.1784, allocations: 84.12 kB / 0.6932 GB, free: 2.84 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1784, allocations: 7.891 kB / 0.6932 GB, free: 2.832 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1784, allocations: 21.83 kB / 0.6932 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1786, allocations: 314.8 kB / 0.6935 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.1786, allocations: 0 / 0.6935 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.1786, allocations: 4 kB / 0.6935 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.1786, allocations: 12.86 kB / 0.6935 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1786, allocations: 0 / 0.6935 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.927e-05/0.1787, allocations: 37.69 kB / 0.6936 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1787, allocations: 4 kB / 0.6936 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1787, allocations: 96 / 0.6936 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1787, allocations: 11.88 kB / 0.6936 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-05/0.1788, allocations: 4 kB / 0.6936 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1788, allocations: 0 / 0.6936 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.1788, allocations: 0 / 0.6936 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.1788, allocations: 4 kB / 0.6936 GB, free: 2.402 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.427e-05/0.1789, allocations: 109.8 kB / 0.6937 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.1789, allocations: 0 / 0.6937 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.179, allocations: 56.73 kB / 0.6938 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.179, allocations: 0 / 0.6938 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.179, allocations: 0 / 0.6938 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.179, allocations: 0 / 0.6938 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1791, allocations: 120.8 kB / 0.6939 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1791, allocations: 0 / 0.6939 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.1792, allocations: 11.94 kB / 0.6939 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1792, allocations: 0 / 0.6939 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1792, allocations: 3.938 kB / 0.6939 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1792, allocations: 0 / 0.6939 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1792, allocations: 0 / 0.6939 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.649e-05/0.1792, allocations: 77.05 kB / 0.694 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-06/0.1793, allocations: 3.938 kB / 0.694 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1793, allocations: 3.938 kB / 0.694 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.1793, allocations: 4 kB / 0.694 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.1793, allocations: 0 / 0.694 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1793, allocations: 4 kB / 0.694 GB, free: 1.938 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.1793, allocations: 75.28 kB / 0.6941 GB, free: 1.863 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.1793, allocations: 4.031 kB / 0.6941 GB, free: 1.859 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001906/0.1795, allocations: 4 kB / 0.6941 GB, free: 1.855 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001243/0.1796, allocations: 95.23 kB / 0.6941 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.307e-05/0.1797, allocations: 11.94 kB / 0.6942 GB, free: 1.738 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1797, allocations: 0 / 0.6942 GB, free: 1.738 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.1797, allocations: 4 kB / 0.6942 GB, free: 1.734 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1799, allocations: 4 kB / 0.6942 GB, free: 1.73 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.1801, allocations: 89.11 kB / 0.6943 GB, free: 1.617 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1804, allocations: 0.669 MB / 0.6949 GB, free: 0.9219 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.1804, allocations: 4 kB / 0.6949 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.1804, allocations: 7.438 kB / 0.6949 GB, free: 0.9102 MB / 0.5139 GB Notification: Performance of SimCode: time 3.1e-07/0.1804, allocations: 0 / 0.6949 GB, free: 0.9102 MB / 0.5139 GB Notification: Performance of Templates: time 0.002696/0.1831, allocations: 298.4 kB / 0.6952 GB, free: 0.6211 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.086061395006254]