Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.002631/0.002631, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00303/0.00303, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 0.9247/0.9247, allocations: 88.08 MB / 349.1 MB, free: 14.23 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_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.417e-06/3.417e-06, allocations: 2.812 kB / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.832e-05, allocations: 2.312 kB / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001271/0.0013, allocations: 394.7 kB / 451.2 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.001484, allocations: 39.77 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.001514, allocations: 0 / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.001528, allocations: 0 / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.124e-05/0.001589, allocations: 0 / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.00174, allocations: 6.188 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.213e-05/0.001782, allocations: 2.875 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.001824, allocations: 3 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.001857, allocations: 3.938 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.001905, allocations: 0 / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.00192, allocations: 2.594 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.001979, allocations: 14.25 kB / 451.3 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.00199, allocations: 6.797 kB / 451.3 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.002004, allocations: 0 / 451.3 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.237e-05/0.002086, allocations: 16.88 kB / 451.3 MB, free: 32.84 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002088, allocations: 0 / 451.3 MB, free: 32.84 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002089, allocations: 0 / 451.3 MB, free: 32.84 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.002092, allocations: 0 / 451.3 MB, free: 32.84 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.00024/0.002332, allocations: 344.9 kB / 451.6 MB, free: 32.48 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.002368, allocations: 8.656 kB / 451.6 MB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.002407, allocations: 0.9375 kB / 451.6 MB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.896e-05/0.002466, allocations: 107.4 kB / 451.7 MB, free: 32.35 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.002476, allocations: 4.375 kB / 451.7 MB, free: 32.34 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.002483, allocations: 384 / 451.7 MB, free: 32.34 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.118e-05/0.002564, allocations: 32.42 kB / 451.8 MB, free: 32.31 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.002574, allocations: 3 kB / 451.8 MB, free: 32.31 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.002581, allocations: 384 / 451.8 MB, free: 32.31 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.002586, allocations: 384 / 451.8 MB, free: 32.31 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.663e-05/0.002622, allocations: 14.81 kB / 451.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.002731, allocations: 114.9 kB / 451.9 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.002787, allocations: 32.72 kB / 451.9 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.002806, allocations: 7.688 kB / 451.9 MB, free: 32.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.002993, allocations: 15.94 kB / 452 MB, free: 32.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.003012, allocations: 33.39 kB / 452 MB, free: 32.06 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.003013, allocations: 0 / 452 MB, free: 32.06 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.003154, allocations: 47.67 kB / 452 MB, free: 32.02 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.003176, allocations: 51.41 kB / 452.1 MB, free: 31.96 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.341e-05/0.0032, allocations: 142.2 kB / 452.2 MB, free: 31.81 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.003207, allocations: 28.67 kB / 452.3 MB, free: 31.78 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.003222, allocations: 126.9 kB / 452.4 MB, free: 31.65 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.003252, allocations: 3.438 kB / 452.4 MB, free: 31.65 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.003277, allocations: 26.22 kB / 452.4 MB, free: 31.62 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.123e-05/0.003338, allocations: 496.1 kB / 452.9 MB, free: 31.12 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.003349, allocations: 2.562 kB / 452.9 MB, free: 31.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.003357, allocations: 5.938 kB / 452.9 MB, free: 31.12 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.003387, allocations: 16.94 kB / 452.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.003388, allocations: 0 / 452.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.809e-05/0.003436, allocations: 38.17 kB / 453 MB, free: 31.07 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.003447, allocations: 9.781 kB / 453 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.003452, allocations: 3.328 kB / 453 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.003465, allocations: 4.094 kB / 453 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.003513, allocations: 2.875 kB / 453 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.003518, allocations: 0 / 453 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.003532, allocations: 6.781 kB / 453 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.003537, allocations: 4 kB / 453 MB, free: 31.05 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 4.462e-05/0.003581, allocations: 156.6 kB / 453.1 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-06/0.003588, allocations: 2.969 kB / 453.1 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.043e-05/0.003669, allocations: 48.75 kB / 453.2 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.00367, allocations: 0 / 453.2 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.003673, allocations: 4.031 kB / 453.2 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.003675, allocations: 0 / 453.2 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.677e-05/0.003722, allocations: 115.9 kB / 453.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.003723, allocations: 0 / 453.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.003742, allocations: 2.969 kB / 453.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.003744, allocations: 0 / 453.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.00375, allocations: 0 / 453.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.003752, allocations: 2.562 kB / 453.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.003753, allocations: 0 / 453.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.43e-05/0.003817, allocations: 76.61 kB / 453.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.003823, allocations: 7.656 kB / 453.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.003832, allocations: 4.031 kB / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.003843, allocations: 0 / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.003861, allocations: 7.406 kB / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.003864, allocations: 2.5 kB / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.802e-05/0.003882, allocations: 119.2 kB / 453.5 MB, free: 30.49 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003882, allocations: 0 / 453.5 MB, free: 30.49 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001765/0.004058, allocations: 6.625 kB / 453.5 MB, free: 30.49 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 9.674e-05/0.004155, allocations: 97.31 kB / 453.6 MB, free: 30.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.197e-05/0.004237, allocations: 20.34 kB / 453.6 MB, free: 30.38 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004238, allocations: 0 / 453.6 MB, free: 30.38 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.00425, allocations: 13.77 kB / 453.7 MB, free: 30.37 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.004373, allocations: 3.719 kB / 453.7 MB, free: 30.37 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/0.004561, allocations: 95.52 kB / 453.8 MB, free: 30.26 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.004591, allocations: 61.42 kB / 453.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.809e-05/0.004609, allocations: 0 / 453.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.004625, allocations: 11.53 kB / 453.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of SimCode: time 5.21e-07/0.004626, allocations: 4 kB / 453.8 MB, free: 30.17 MB / 410.8 MB Notification: Performance of Templates: time 0.002742/0.007368, allocations: 305.2 kB / 454.1 MB, free: 30.11 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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_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: 5.999133076053113]