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.0008517/0.0008517, allocations: 75.77 kB / 20.67 MB, free: 3.895 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.001372/0.001372, allocations: 170.8 kB / 23.95 MB, free: 0.6133 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.9009/0.9009, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.613/0.613, allocations: 88.07 MB / 348.7 MB, free: 14.36 MB / 330.7 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: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.5234 GB, free: 3.574 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.583e-05, allocations: 3.828 kB / 0.5234 GB, free: 3.57 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0008515/0.0008773, allocations: 394.6 kB / 0.5238 GB, free: 3.191 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001774/0.001055, allocations: 38.83 kB / 0.5239 GB, free: 3.156 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.001078, allocations: 0 / 0.5239 GB, free: 3.156 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.001093, allocations: 0 / 0.5239 GB, free: 3.156 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/0.001148, allocations: 3.984 kB / 0.5239 GB, free: 3.152 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.001315, allocations: 8 kB / 0.5239 GB, free: 3.145 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.001368, allocations: 7.984 kB / 0.5239 GB, free: 3.137 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.001415, allocations: 0 / 0.5239 GB, free: 3.137 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.001448, allocations: 0 / 0.5239 GB, free: 3.137 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.001503, allocations: 7.984 kB / 0.5239 GB, free: 3.129 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.001517, allocations: 0 / 0.5239 GB, free: 3.129 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.788e-05/0.001575, allocations: 7.938 kB / 0.5239 GB, free: 3.121 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.001587, allocations: 4 kB / 0.5239 GB, free: 3.117 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.001603, allocations: 7.938 kB / 0.5239 GB, free: 3.109 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.673e-05/0.00169, allocations: 11.98 kB / 0.5239 GB, free: 3.098 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.001694, allocations: 4 kB / 0.5239 GB, free: 3.094 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.282e-06/0.001695, allocations: 0 / 0.5239 GB, free: 3.094 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.0017, allocations: 0 / 0.5239 GB, free: 3.094 MB / 442.8 MB 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.0002422/0.001942, allocations: 238.4 kB / 0.5242 GB, free: 2.828 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.001979, allocations: 8.031 kB / 0.5242 GB, free: 2.82 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.00201, allocations: 4.875 kB / 0.5242 GB, free: 2.816 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.777e-05/0.002067, allocations: 109.8 kB / 0.5243 GB, free: 2.684 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.002077, allocations: 384 / 0.5243 GB, free: 2.684 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.002085, allocations: 4.375 kB / 0.5243 GB, free: 2.68 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.349e-05/0.002178, allocations: 34.25 kB / 0.5243 GB, free: 2.641 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.002187, allocations: 192 / 0.5243 GB, free: 2.641 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.002196, allocations: 384 / 0.5243 GB, free: 2.641 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.002201, allocations: 384 / 0.5243 GB, free: 2.641 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.002238, allocations: 11.88 kB / 0.5243 GB, free: 2.629 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.002339, allocations: 101.3 kB / 0.5244 GB, free: 2.5 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.00239, allocations: 18.61 kB / 0.5244 GB, free: 2.473 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.002408, allocations: 4.859 kB / 0.5244 GB, free: 2.465 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.002602, allocations: 20.05 kB / 0.5245 GB, free: 2.445 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.002622, allocations: 30.56 kB / 0.5245 GB, free: 2.406 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.002623, allocations: 4 kB / 0.5245 GB, free: 2.402 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.002761, allocations: 41.62 kB / 0.5245 GB, free: 2.355 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.002793, allocations: 55.41 kB / 0.5246 GB, free: 2.289 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.717e-05/0.002821, allocations: 89.86 kB / 0.5247 GB, free: 2.191 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.002831, allocations: 25.7 kB / 0.5247 GB, free: 2.16 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.941e-05/0.002851, allocations: 84.12 kB / 0.5248 GB, free: 2.074 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.002882, allocations: 7.891 kB / 0.5248 GB, free: 2.066 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.002904, allocations: 13.84 kB / 0.5248 GB, free: 2.047 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.002986, allocations: 322.8 kB / 0.5251 GB, free: 1.723 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.002998, allocations: 7.984 kB / 0.5251 GB, free: 1.715 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-06/0.003005, allocations: 0 / 0.5251 GB, free: 1.715 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.003033, allocations: 16.8 kB / 0.5251 GB, free: 1.695 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.003035, allocations: 0 / 0.5251 GB, free: 1.695 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.326e-05/0.003078, allocations: 41.64 kB / 0.5252 GB, free: 1.648 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.00309, allocations: 4 kB / 0.5252 GB, free: 1.645 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.003095, allocations: 0 / 0.5252 GB, free: 1.645 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.003106, allocations: 0 / 0.5252 GB, free: 1.645 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.003156, allocations: 12.08 kB / 0.5252 GB, free: 1.633 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.003162, allocations: 0 / 0.5252 GB, free: 1.633 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-06/0.003171, allocations: 3.938 kB / 0.5252 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.003176, allocations: 0 / 0.5252 GB, free: 1.629 MB / 442.8 MB 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 5.336e-05/0.00323, allocations: 109.8 kB / 0.5253 GB, free: 1.512 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-06/0.003232, allocations: 0 / 0.5253 GB, free: 1.512 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.003314, allocations: 48.8 kB / 0.5253 GB, free: 1.457 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.003316, allocations: 0 / 0.5253 GB, free: 1.457 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.00332, allocations: 3.938 kB / 0.5253 GB, free: 1.453 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.003323, allocations: 4.031 kB / 0.5253 GB, free: 1.449 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.556e-05/0.003379, allocations: 105.9 kB / 0.5254 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.00338, allocations: 7.938 kB / 0.5254 GB, free: 1.309 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-06/0.003388, allocations: 4 kB / 0.5255 GB, free: 1.305 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.003391, allocations: 3.984 kB / 0.5255 GB, free: 1.301 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.003397, allocations: 0 / 0.5255 GB, free: 1.301 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.003398, allocations: 3.984 kB / 0.5255 GB, free: 1.297 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.003399, allocations: 0 / 0.5255 GB, free: 1.297 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.72e-05/0.003446, allocations: 65.08 kB / 0.5255 GB, free: 1.215 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-06/0.00345, allocations: 3.953 kB / 0.5255 GB, free: 1.211 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.003458, allocations: 4.031 kB / 0.5255 GB, free: 1.207 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-06/0.003464, allocations: 3.984 kB / 0.5255 GB, free: 1.203 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.003479, allocations: 4 kB / 0.5255 GB, free: 1.199 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-06/0.00348, allocations: 0 / 0.5255 GB, free: 1.199 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.037e-05/0.0035, allocations: 75.28 kB / 0.5256 GB, free: 1.125 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0035, allocations: 0 / 0.5256 GB, free: 1.125 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001224/0.003623, allocations: 7.938 kB / 0.5256 GB, free: 1.117 MB / 442.8 MB 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.0001009/0.003724, allocations: 95.19 kB / 0.5257 GB, free: 1.016 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 6.358e-05/0.003787, allocations: 12 kB / 0.5257 GB, free: 1.004 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.003789, allocations: 4.062 kB / 0.5257 GB, free: 1 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/0.003796, allocations: 11.92 kB / 0.5257 GB, free: 0.9883 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.638e-05/0.003892, allocations: 1.312 kB / 0.5257 GB, free: 0.9883 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.00408, allocations: 84.86 kB / 0.5258 GB, free: 0.8789 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.004116, allocations: 59.34 kB / 0.5259 GB, free: 0.8008 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.935e-05/0.004136, allocations: 4 kB / 0.5259 GB, free: 0.7969 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.00415, allocations: 12.44 kB / 0.5259 GB, free: 0.7852 MB / 442.8 MB Notification: Performance of SimCode: time 3.61e-07/0.00415, allocations: 64 / 0.5259 GB, free: 0.7852 MB / 442.8 MB Notification: Performance of Templates: time 0.001554/0.005704, allocations: 291.3 kB / 0.5262 GB, free: 0.5078 MB / 442.8 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/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: 3.4658016795292497]