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.00136/0.00136, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001452/0.001452, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8899/0.8899, allocations: 120.6 MB / 430.8 MB, free: 160 kB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-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.002061/0.002061, allocations: 75.88 kB / 0.602 GB, free: 11.04 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.779, allocations: 85.81 MB / 0.6858 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001573/0.7806, allocations: 395.2 kB / 0.6862 GB, free: 11.17 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002316/0.7808, allocations: 35.25 kB / 0.6862 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.7809, allocations: 0.9062 kB / 0.6862 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.7809, allocations: 0 / 0.6862 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.781, allocations: 0 / 0.6862 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.7811, allocations: 14.72 kB / 0.6862 GB, free: 11.13 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.7812, allocations: 6.734 kB / 0.6862 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.7813, allocations: 0.9375 kB / 0.6863 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.7813, allocations: 4.922 kB / 0.6863 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.7813, allocations: 5.75 kB / 0.6863 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.7813, allocations: 0 / 0.6863 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.7814, allocations: 13.55 kB / 0.6863 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.7814, allocations: 0 / 0.6863 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.7814, allocations: 0.9062 kB / 0.6863 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.047e-05/0.7815, allocations: 8.141 kB / 0.6863 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7815, allocations: 0 / 0.6863 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7815, allocations: 4 kB / 0.6863 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.7816, allocations: 0.9062 kB / 0.6863 GB, free: 11.11 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.0002787/0.7818, allocations: 315.2 kB / 0.6866 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7819, allocations: 9.25 kB / 0.6866 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.7819, allocations: 1.844 kB / 0.6866 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.996e-05/0.782, allocations: 161.3 kB / 0.6868 GB, free: 10.55 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.782, allocations: 384 / 0.6868 GB, free: 10.55 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.782, allocations: 1.312 kB / 0.6868 GB, free: 10.55 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.7821, allocations: 45.88 kB / 0.6868 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.7821, allocations: 192 / 0.6868 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.7821, allocations: 7.875 kB / 0.6868 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7821, allocations: 0.9375 kB / 0.6868 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.7821, allocations: 2.75 kB / 0.6868 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.7822, allocations: 152.1 kB / 0.687 GB, free: 10.31 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.7823, allocations: 23.17 kB / 0.687 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.7823, allocations: 6.734 kB / 0.687 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.7825, allocations: 94.53 kB / 0.6871 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.7825, allocations: 31.5 kB / 0.6871 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7825, allocations: 0.9375 kB / 0.6871 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.7827, allocations: 49.84 kB / 0.6872 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.7827, allocations: 52.34 kB / 0.6872 GB, free: 10.02 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.024e-05/0.7827, allocations: 93.84 kB / 0.6873 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/0.7827, allocations: 25.7 kB / 0.6873 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.176e-05/0.7827, allocations: 89.16 kB / 0.6874 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.7828, allocations: 8.891 kB / 0.6874 GB, free: 9.789 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.7828, allocations: 12.47 kB / 0.6874 GB, free: 9.773 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.7829, allocations: 312.7 kB / 0.6877 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.7829, allocations: 1.875 kB / 0.6877 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.7829, allocations: 5.75 kB / 0.6877 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.7829, allocations: 14.42 kB / 0.6877 GB, free: 9.445 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7829, allocations: 4.062 kB / 0.6877 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.443e-05/0.783, allocations: 41.97 kB / 0.6878 GB, free: 9.402 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.783, allocations: 4.625 kB / 0.6878 GB, free: 9.402 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.783, allocations: 0.9062 kB / 0.6878 GB, free: 9.402 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.783, allocations: 3.938 kB / 0.6878 GB, free: 9.398 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.783, allocations: 3.688 kB / 0.6878 GB, free: 9.398 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.783, allocations: 0 / 0.6878 GB, free: 9.398 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.7831, allocations: 4.938 kB / 0.6878 GB, free: 9.395 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.7831, allocations: 0.9375 kB / 0.6878 GB, free: 9.395 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 4.213e-05/0.7831, allocations: 120.5 kB / 0.6879 GB, free: 9.27 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.7831, allocations: 0.9062 kB / 0.6879 GB, free: 9.27 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.567e-05/0.7832, allocations: 44.17 kB / 0.688 GB, free: 9.223 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7832, allocations: 0.9062 kB / 0.688 GB, free: 9.223 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7832, allocations: 0 / 0.688 GB, free: 9.223 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.7832, allocations: 4.922 kB / 0.688 GB, free: 9.219 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.531e-05/0.7833, allocations: 147.5 kB / 0.6881 GB, free: 9.027 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.7833, allocations: 3.938 kB / 0.6881 GB, free: 9.023 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.7833, allocations: 2.75 kB / 0.6881 GB, free: 9.023 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.7833, allocations: 4.969 kB / 0.6881 GB, free: 9.02 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.7833, allocations: 8.844 kB / 0.6881 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7833, allocations: 0 / 0.6881 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7833, allocations: 0.9375 kB / 0.6881 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.976e-05/0.7834, allocations: 65.38 kB / 0.6882 GB, free: 8.938 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.7834, allocations: 78.02 kB / 0.6883 GB, free: 8.844 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.7834, allocations: 4.844 kB / 0.6883 GB, free: 8.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.7834, allocations: 4.031 kB / 0.6883 GB, free: 8.836 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.7834, allocations: 4.922 kB / 0.6883 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.7834, allocations: 0.9375 kB / 0.6883 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.307e-05/0.7834, allocations: 76.19 kB / 0.6883 GB, free: 8.758 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.7834, allocations: 0 / 0.6883 GB, free: 8.758 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002085/0.7836, allocations: 2.781 kB / 0.6884 GB, free: 8.758 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.0001035/0.7837, allocations: 102.4 kB / 0.6884 GB, free: 8.66 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.511e-05/0.7838, allocations: 10.47 kB / 0.6885 GB, free: 8.656 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7838, allocations: 8 kB / 0.6885 GB, free: 8.648 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.7838, allocations: 7.672 kB / 0.6885 GB, free: 8.645 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.784, allocations: 4.516 kB / 0.6885 GB, free: 8.645 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.7842, allocations: 77.38 kB / 0.6886 GB, free: 8.551 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.7843, allocations: 0.6707 MB / 0.6892 GB, free: 7.855 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.7843, allocations: 4.922 kB / 0.6892 GB, free: 7.852 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.7843, allocations: 13.34 kB / 0.6892 GB, free: 7.84 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.7843, allocations: 0 / 0.6892 GB, free: 7.84 MB / 0.5139 GB Notification: Performance of Templates: time 0.002604/0.7869, allocations: 280.3 kB / 0.6895 GB, free: 7.691 MB / 0.5139 GB " [Timeout remaining time 299] 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.443173149134964]