Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 125.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.9139/0.9139, allocations: 120.6 MB / 424.6 MB, free: 5.535 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.5937 GB, free: 2.57 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/0.7635, allocations: 84.63 MB / 0.6763 GB, free: 16.7 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001751/0.7652, allocations: 420.2 kB / 0.6767 GB, free: 16.39 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.7658, allocations: 233 kB / 0.677 GB, free: 16.22 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.7658, allocations: 0 / 0.677 GB, free: 16.22 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.7659, allocations: 0 / 0.677 GB, free: 16.22 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.766, allocations: 9.406 kB / 0.677 GB, free: 16.21 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.7662, allocations: 27.56 kB / 0.677 GB, free: 16.19 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.7662, allocations: 3.906 kB / 0.677 GB, free: 16.19 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.117e-05/0.7663, allocations: 1.469 kB / 0.677 GB, free: 16.19 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.7663, allocations: 11.39 kB / 0.677 GB, free: 16.18 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.7664, allocations: 10.64 kB / 0.677 GB, free: 16.18 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.7664, allocations: 0 / 0.677 GB, free: 16.18 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.92e-05/0.7665, allocations: 20.23 kB / 0.677 GB, free: 16.17 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.7665, allocations: 0 / 0.677 GB, free: 16.17 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.7665, allocations: 5.844 kB / 0.677 GB, free: 16.16 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.7667, allocations: 29.17 kB / 0.6771 GB, free: 16.15 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7667, allocations: 4 kB / 0.6771 GB, free: 16.14 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.577e-06/0.7667, allocations: 2.031 kB / 0.6771 GB, free: 16.14 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.7667, allocations: 3.938 kB / 0.6771 GB, free: 16.14 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003741/0.767, allocations: 330.5 kB / 0.6774 GB, free: 15.78 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.7671, allocations: 7.844 kB / 0.6774 GB, free: 15.78 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.7671, allocations: 2.75 kB / 0.6774 GB, free: 15.78 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.171e-05/0.7672, allocations: 166 kB / 0.6776 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.7672, allocations: 384 / 0.6776 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.7672, allocations: 5.844 kB / 0.6776 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.7674, allocations: 42.16 kB / 0.6776 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.7674, allocations: 192 / 0.6776 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.7674, allocations: 9.109 kB / 0.6776 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7674, allocations: 0 / 0.6776 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.786e-05/0.7674, allocations: 5.094 kB / 0.6776 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.7676, allocations: 153.9 kB / 0.6778 GB, free: 15.33 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.7678, allocations: 43.17 kB / 0.6778 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.7678, allocations: 11.83 kB / 0.6778 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.7679, allocations: 0 / 0.6778 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.7679, allocations: 40.05 kB / 0.6779 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.7679, allocations: 3.984 kB / 0.6779 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001655/0.768, allocations: 55.36 kB / 0.6779 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.7681, allocations: 56.72 kB / 0.678 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.7681, allocations: 92.92 kB / 0.6781 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.547e-06/0.7681, allocations: 29.73 kB / 0.6781 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.7682, allocations: 80.14 kB / 0.6782 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.7682, allocations: 14.75 kB / 0.6782 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.7682, allocations: 12.12 kB / 0.6782 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.7683, allocations: 315.9 kB / 0.6785 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.7683, allocations: 7.547 kB / 0.6785 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.7683, allocations: 8.562 kB / 0.6785 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.7683, allocations: 17.7 kB / 0.6785 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7683, allocations: 4 kB / 0.6785 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.184e-05/0.7684, allocations: 52.12 kB / 0.6786 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7684, allocations: 4.906 kB / 0.6786 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7684, allocations: 3.938 kB / 0.6786 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.7685, allocations: 1.719 kB / 0.6786 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.202e-05/0.7685, allocations: 12.42 kB / 0.6786 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7685, allocations: 1.344 kB / 0.6786 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.7685, allocations: 7.891 kB / 0.6786 GB, free: 14.47 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.7685, allocations: 2.344 kB / 0.6786 GB, free: 14.47 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 (4): * Single equations (assignments): 4 * 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.198e-05/0.7686, allocations: 119.3 kB / 0.6787 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.7686, allocations: 1.375 kB / 0.6787 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.7687, allocations: 77.47 kB / 0.6788 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7687, allocations: 0 / 0.6788 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7687, allocations: 5.656 kB / 0.6788 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7687, allocations: 0 / 0.6788 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.673e-05/0.7688, allocations: 161.1 kB / 0.679 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7688, allocations: 4 kB / 0.679 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.7689, allocations: 11.2 kB / 0.679 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7689, allocations: 5.781 kB / 0.679 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.7689, allocations: 3.938 kB / 0.679 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.7689, allocations: 5.75 kB / 0.679 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7689, allocations: 0 / 0.679 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.769, allocations: 96.83 kB / 0.6791 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.769, allocations: 82.47 kB / 0.6792 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.7691, allocations: 5.312 kB / 0.6792 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/0.7691, allocations: 4 kB / 0.6792 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.7691, allocations: 10.75 kB / 0.6792 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.7691, allocations: 1.375 kB / 0.6792 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 2.493e-05/0.7691, allocations: 78.03 kB / 0.6793 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.7691, allocations: 0 / 0.6793 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002016/0.7693, allocations: 10.86 kB / 0.6793 GB, free: 13.78 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0001541/0.7695, allocations: 108.2 kB / 0.6794 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.7696, allocations: 21.73 kB / 0.6794 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7696, allocations: 5.469 kB / 0.6794 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.7696, allocations: 17.56 kB / 0.6794 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.7698, allocations: 3.906 kB / 0.6794 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.77, allocations: 122.3 kB / 0.6795 GB, free: 13.54 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.7702, allocations: 0.6833 MB / 0.6802 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.7702, allocations: 4.125 kB / 0.6802 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.7702, allocations: 18.12 kB / 0.6802 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.7702, allocations: 0 / 0.6802 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of Templates: time 0.003111/0.7733, allocations: 0.5671 MB / 0.6808 GB, free: 12.53 MB / 0.5139 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.577659466303885]