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.001124/0.001124, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001234/0.001234, allocations: 164.1 kB / 25.61 MB, free: 8.879 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.9562/0.9562, allocations: 177.1 MB / 206.1 MB, free: 4.504 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.8095/0.8095, allocations: 88.08 MB / 350.7 MB, free: 11.82 MB / 330.8 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 3.126e-06/3.126e-06, allocations: 0 / 452.8 MB, free: 8.059 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.627e-05, allocations: 5.406 kB / 452.8 MB, free: 8.055 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001856/0.001892, allocations: 406.9 kB / 453.2 MB, free: 7.66 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.002122, allocations: 27.88 kB / 453.2 MB, free: 7.633 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.002157, allocations: 0 / 453.2 MB, free: 7.633 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.002177, allocations: 4 kB / 453.2 MB, free: 7.629 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/0.002245, allocations: 4 kB / 453.2 MB, free: 7.625 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.002427, allocations: 0 / 453.2 MB, free: 7.625 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 6.89e-05/0.002496, allocations: 4 kB / 453.3 MB, free: 7.621 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.002553, allocations: 0 / 453.3 MB, free: 7.621 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.0026, allocations: 15.92 kB / 453.3 MB, free: 7.605 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.002664, allocations: 3.984 kB / 453.3 MB, free: 7.602 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.002682, allocations: 0 / 453.3 MB, free: 7.602 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.002763, allocations: 4 kB / 453.3 MB, free: 7.598 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.002781, allocations: 0 / 453.3 MB, free: 7.598 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.002802, allocations: 15.98 kB / 453.3 MB, free: 7.582 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.002904, allocations: 4 kB / 453.3 MB, free: 7.578 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002908, allocations: 0 / 453.3 MB, free: 7.578 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.014e-06/0.00291, allocations: 0 / 453.3 MB, free: 7.578 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.002915, allocations: 0 / 453.3 MB, free: 7.578 MB / 426.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.0003244/0.003239, allocations: 348.3 kB / 453.6 MB, free: 7.199 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.003294, allocations: 12.03 kB / 453.6 MB, free: 7.188 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.00333, allocations: 4.938 kB / 453.7 MB, free: 7.184 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.003433, allocations: 104.6 kB / 453.8 MB, free: 7.055 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.003447, allocations: 384 / 453.8 MB, free: 7.055 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.003456, allocations: 4.375 kB / 453.8 MB, free: 7.051 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.003548, allocations: 34.25 kB / 453.8 MB, free: 7.012 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.003559, allocations: 192 / 453.8 MB, free: 7.012 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.003567, allocations: 384 / 453.8 MB, free: 7.012 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.003577, allocations: 4.375 kB / 453.8 MB, free: 7.008 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.003601, allocations: 7.938 kB / 453.8 MB, free: 7 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.003743, allocations: 93.27 kB / 453.9 MB, free: 6.883 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/0.003809, allocations: 38.95 kB / 453.9 MB, free: 6.832 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.003831, allocations: 11.67 kB / 453.9 MB, free: 6.816 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.004012, allocations: 8.062 kB / 454 MB, free: 6.809 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.004045, allocations: 37.39 kB / 454 MB, free: 6.762 MB / 426.8 MB Notification: Performance of pre-optimization done (n=2): time 4.097e-06/0.00405, allocations: 3.984 kB / 454 MB, free: 6.758 MB / 426.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001574/0.004207, allocations: 45.62 kB / 454 MB, free: 6.707 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.00425, allocations: 55.41 kB / 454.1 MB, free: 6.641 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.00431, allocations: 142.2 kB / 454.2 MB, free: 6.488 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.004323, allocations: 25.7 kB / 454.3 MB, free: 6.457 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.004365, allocations: 126.9 kB / 454.4 MB, free: 6.328 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.004403, allocations: 4.297 kB / 454.4 MB, free: 6.324 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.004443, allocations: 19.38 kB / 454.4 MB, free: 6.297 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.004621, allocations: 0.4924 MB / 454.9 MB, free: 5.793 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.004632, allocations: 4 kB / 454.9 MB, free: 5.789 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.004641, allocations: 4 kB / 454.9 MB, free: 5.785 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.004683, allocations: 11.69 kB / 454.9 MB, free: 5.77 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.004686, allocations: 0 / 454.9 MB, free: 5.77 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.517e-05/0.004771, allocations: 37.64 kB / 455 MB, free: 5.727 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.004789, allocations: 4 kB / 455 MB, free: 5.723 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.004796, allocations: 0 / 455 MB, free: 5.723 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.00481, allocations: 4 kB / 455 MB, free: 5.719 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.004871, allocations: 3.984 kB / 455 MB, free: 5.715 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.004875, allocations: 4.094 kB / 455 MB, free: 5.711 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.004892, allocations: 4 kB / 455 MB, free: 5.707 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.004899, allocations: 0 / 455 MB, free: 5.707 MB / 426.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 0.0001312/0.00503, allocations: 168.5 kB / 455.1 MB, free: 5.531 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.00504, allocations: 0 / 455.1 MB, free: 5.531 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.005169, allocations: 40.84 kB / 455.2 MB, free: 5.484 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.005173, allocations: 0 / 455.2 MB, free: 5.484 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.005176, allocations: 0 / 455.2 MB, free: 5.484 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.005182, allocations: 0 / 455.2 MB, free: 5.484 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.005304, allocations: 117.1 kB / 455.3 MB, free: 5.344 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.005307, allocations: 0 / 455.3 MB, free: 5.344 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.005343, allocations: 4 kB / 455.3 MB, free: 5.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.005348, allocations: 0 / 455.3 MB, free: 5.34 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.005354, allocations: 0 / 455.3 MB, free: 5.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.005357, allocations: 3.938 kB / 455.3 MB, free: 5.336 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.005365, allocations: 7.984 kB / 455.3 MB, free: 5.328 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.005473, allocations: 72.39 kB / 455.4 MB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.005481, allocations: 0 / 455.4 MB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.005492, allocations: 0 / 455.4 MB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-06/0.005501, allocations: 4.031 kB / 455.4 MB, free: 5.23 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.005523, allocations: 7.984 kB / 455.4 MB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.005529, allocations: 4 kB / 455.4 MB, free: 5.219 MB / 426.8 MB Notification: Performance of sorting global known variables: time 5.309e-05/0.005582, allocations: 119.2 kB / 455.5 MB, free: 5.102 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.005582, allocations: 0 / 455.5 MB, free: 5.102 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002185/0.005801, allocations: 4 kB / 455.5 MB, free: 5.098 MB / 426.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.0001817/0.005982, allocations: 95.19 kB / 455.6 MB, free: 4.996 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.006089, allocations: 15.69 kB / 455.6 MB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.006093, allocations: 0 / 455.6 MB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.798e-05/0.006111, allocations: 19.73 kB / 455.6 MB, free: 4.953 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.006271, allocations: 3.938 kB / 455.6 MB, free: 4.949 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.006528, allocations: 89.36 kB / 455.7 MB, free: 4.832 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.006569, allocations: 55.34 kB / 455.8 MB, free: 4.758 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.006595, allocations: 4 kB / 455.8 MB, free: 4.754 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.006638, allocations: 66.2 kB / 455.9 MB, free: 4.688 MB / 426.8 MB Notification: Performance of SimCode: time 7.71e-07/0.006638, allocations: 3.938 kB / 455.9 MB, free: 4.684 MB / 426.8 MB Notification: Performance of Templates: time 0.0026/0.009239, allocations: 332.2 kB / 456.2 MB, free: 4.363 MB / 426.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.6100758989341557]