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.001358/0.001358, allocations: 84.23 kB / 21.18 MB, free: 3.383 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.0009956/0.0009956, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9483/0.9483, allocations: 177.1 MB / 205 MB, free: 5.598 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.7082/0.7082, allocations: 88.08 MB / 349.6 MB, free: 14.27 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|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|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.089e-05, allocations: 2.312 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0009847/0.001006, allocations: 402 kB / 451.9 MB, free: 33.14 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002079/0.001213, allocations: 32.23 kB / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.00124, allocations: 0 / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.00126, allocations: 0 / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.001328, allocations: 2.844 kB / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.00152, allocations: 6.641 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.938e-05/0.001579, allocations: 11.22 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.001623, allocations: 5.75 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.001662, allocations: 0 / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.001716, allocations: 2.438 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.001731, allocations: 0 / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/0.001795, allocations: 12.67 kB / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.001807, allocations: 4 kB / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.001822, allocations: 3.938 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.941e-05/0.001912, allocations: 16.78 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.001914, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.21e-07/0.001915, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.001919, allocations: 2.594 kB / 452 MB, free: 33.09 MB / 410.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.0002196/0.002138, allocations: 334.5 kB / 452.4 MB, free: 32.73 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.00218, allocations: 10.72 kB / 452.4 MB, free: 32.73 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.002216, allocations: 0.9375 kB / 452.4 MB, free: 32.73 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.645e-05/0.002262, allocations: 115.2 kB / 452.5 MB, free: 32.59 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.002272, allocations: 4.375 kB / 452.5 MB, free: 32.59 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.002282, allocations: 2.969 kB / 452.5 MB, free: 32.59 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.002373, allocations: 32.52 kB / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.002382, allocations: 192 / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.002392, allocations: 384 / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.0024, allocations: 4.312 kB / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.002427, allocations: 6.625 kB / 452.5 MB, free: 32.55 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.002532, allocations: 111.1 kB / 452.7 MB, free: 32.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.002587, allocations: 31.75 kB / 452.7 MB, free: 32.37 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.002607, allocations: 10.25 kB / 452.7 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.002782, allocations: 13.08 kB / 452.7 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.002798, allocations: 35.98 kB / 452.7 MB, free: 32.31 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.002799, allocations: 0 / 452.7 MB, free: 32.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001184/0.002918, allocations: 42.27 kB / 452.8 MB, free: 32.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.002939, allocations: 51.41 kB / 452.8 MB, free: 32.21 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.828e-05/0.002957, allocations: 142.2 kB / 453 MB, free: 32.06 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-06/0.002962, allocations: 25.7 kB / 453 MB, free: 32.03 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.195e-05/0.002974, allocations: 130.1 kB / 453.1 MB, free: 31.9 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.003003, allocations: 6.078 kB / 453.1 MB, free: 31.9 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.003024, allocations: 26.34 kB / 453.2 MB, free: 31.87 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.003068, allocations: 500 kB / 453.6 MB, free: 31.37 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.003079, allocations: 2.812 kB / 453.6 MB, free: 31.37 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.003085, allocations: 0 / 453.6 MB, free: 31.37 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.003117, allocations: 24.77 kB / 453.7 MB, free: 31.35 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.003119, allocations: 4 kB / 453.7 MB, free: 31.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.626e-05/0.003155, allocations: 34.23 kB / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.003167, allocations: 5.625 kB / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.003172, allocations: 0 / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.003184, allocations: 4.094 kB / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.003231, allocations: 2.844 kB / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.003237, allocations: 0 / 453.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.003247, allocations: 11.48 kB / 453.7 MB, free: 31.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.003251, allocations: 0 / 453.7 MB, free: 31.3 MB / 410.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 3.933e-05/0.00329, allocations: 156.6 kB / 453.9 MB, free: 31.14 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-06/0.003294, allocations: 2.781 kB / 453.9 MB, free: 31.14 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.003372, allocations: 41.83 kB / 453.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.003374, allocations: 2.906 kB / 453.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.003377, allocations: 4.031 kB / 453.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.00338, allocations: 3.984 kB / 453.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.993e-05/0.00342, allocations: 115.5 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.003421, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.003431, allocations: 5.906 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.003433, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.003439, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.003441, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.003442, allocations: 2.875 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.384e-05/0.003486, allocations: 80.23 kB / 454.1 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.003491, allocations: 5.125 kB / 454.1 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.003498, allocations: 2.781 kB / 454.1 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-06/0.003503, allocations: 0 / 454.1 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.003517, allocations: 0 / 454.1 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.00352, allocations: 2.844 kB / 454.2 MB, free: 30.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.265e-05/0.003533, allocations: 119.2 kB / 454.3 MB, free: 30.74 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.003533, allocations: 0 / 454.3 MB, free: 30.74 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001143/0.003647, allocations: 2.844 kB / 454.3 MB, free: 30.74 MB / 410.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 8.361e-05/0.003731, allocations: 108.9 kB / 454.4 MB, free: 30.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.0038, allocations: 21.53 kB / 454.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.003802, allocations: 0 / 454.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.003809, allocations: 17.58 kB / 454.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.027e-05/0.003899, allocations: 2.906 kB / 454.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001699/0.004069, allocations: 89.61 kB / 454.5 MB, free: 30.5 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.201e-05/0.004091, allocations: 54.83 kB / 454.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.00411, allocations: 2.875 kB / 454.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.004125, allocations: 8.625 kB / 454.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of SimCode: time 7.81e-07/0.004126, allocations: 4 kB / 454.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of Templates: time 0.002021/0.006146, allocations: 315.6 kB / 454.9 MB, free: 30.37 MB / 410.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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 240] 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","",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.7458343622274697]