Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.001576/0.001576, allocations: 107.9 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001768/0.001768, allocations: 207.3 kB / 23.73 MB, free: 4.387 MB / 14.72 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 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 1.094/1.094, allocations: 120.6 MB / 434.5 MB, free: 0.6445 MB / 334.1 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.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=49999,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=49999,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 66.41 kB / 0.6072 GB, free: 10.27 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1847, allocations: 85.85 MB / 0.691 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001834/0.1865, allocations: 403.7 kB / 0.6914 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005483/0.1871, allocations: 179.6 kB / 0.6916 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.1871, allocations: 3.938 kB / 0.6916 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.1871, allocations: 0 / 0.6916 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.1872, allocations: 3.984 kB / 0.6916 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1874, allocations: 7.938 kB / 0.6916 GB, free: 3.625 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.1874, allocations: 7.984 kB / 0.6916 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.1875, allocations: 3.984 kB / 0.6916 GB, free: 3.613 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.1875, allocations: 3.938 kB / 0.6916 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.1876, allocations: 12 kB / 0.6916 GB, free: 3.598 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1876, allocations: 0 / 0.6916 GB, free: 3.598 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.1877, allocations: 11.98 kB / 0.6916 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.1877, allocations: 0 / 0.6916 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.1877, allocations: 4 kB / 0.6916 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1878, allocations: 23.91 kB / 0.6916 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1878, allocations: 0 / 0.6916 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1878, allocations: 0 / 0.6916 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.1878, allocations: 0 / 0.6916 GB, free: 3.559 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000351/0.1882, allocations: 234.5 kB / 0.6919 GB, free: 3.297 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1882, allocations: 23.95 kB / 0.6919 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1883, allocations: 0.9375 kB / 0.6919 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.909e-05/0.1884, allocations: 110.9 kB / 0.692 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1884, allocations: 384 / 0.692 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1884, allocations: 4.375 kB / 0.692 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1885, allocations: 30.2 kB / 0.692 GB, free: 3.102 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1885, allocations: 192 / 0.692 GB, free: 3.102 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1885, allocations: 7.938 kB / 0.692 GB, free: 3.094 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1885, allocations: 0 / 0.692 GB, free: 3.094 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.1886, allocations: 7.984 kB / 0.692 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.1887, allocations: 97.33 kB / 0.6921 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.1888, allocations: 26.61 kB / 0.6922 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.1888, allocations: 8.922 kB / 0.6922 GB, free: 2.914 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.189, allocations: 11.98 kB / 0.6922 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.1891, allocations: 38.5 kB / 0.6922 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1891, allocations: 0 / 0.6922 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.1892, allocations: 41.64 kB / 0.6923 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1893, allocations: 51.41 kB / 0.6923 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.405e-05/0.1894, allocations: 89.86 kB / 0.6924 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1894, allocations: 33.81 kB / 0.6924 GB, free: 2.609 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.1894, allocations: 80.14 kB / 0.6925 GB, free: 2.527 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1895, allocations: 7.953 kB / 0.6925 GB, free: 2.52 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.1895, allocations: 13.72 kB / 0.6925 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1897, allocations: 314.8 kB / 0.6928 GB, free: 2.184 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.1897, allocations: 0 / 0.6928 GB, free: 2.184 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.1897, allocations: 11.88 kB / 0.6928 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/0.1897, allocations: 12.86 kB / 0.6928 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1897, allocations: 0 / 0.6928 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.962e-05/0.1898, allocations: 41.75 kB / 0.6929 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1898, allocations: 4 kB / 0.6929 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1898, allocations: 0 / 0.6929 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1898, allocations: 0 / 0.6929 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.1899, allocations: 7.938 kB / 0.6929 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1899, allocations: 0 / 0.6929 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.1899, allocations: 0 / 0.6929 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1899, allocations: 4 kB / 0.6929 GB, free: 2.094 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 (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 9.286e-05/0.19, allocations: 113.8 kB / 0.693 GB, free: 1.973 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.19, allocations: 7.922 kB / 0.693 GB, free: 1.965 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.1901, allocations: 48.84 kB / 0.6931 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.1902, allocations: 3.938 kB / 0.6931 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1902, allocations: 0 / 0.6931 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1902, allocations: 4 kB / 0.6931 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.201e-05/0.1903, allocations: 97.31 kB / 0.6932 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1903, allocations: 0 / 0.6932 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.1903, allocations: 4 kB / 0.6932 GB, free: 1.773 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1903, allocations: 0 / 0.6932 GB, free: 1.773 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1903, allocations: 0 / 0.6932 GB, free: 1.773 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1903, allocations: 0 / 0.6932 GB, free: 1.773 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1903, allocations: 7.969 kB / 0.6932 GB, free: 1.766 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.307e-05/0.1904, allocations: 73.02 kB / 0.6932 GB, free: 1.676 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.1904, allocations: 4 kB / 0.6932 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.1904, allocations: 0 / 0.6932 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.314e-05/0.1904, allocations: 4 kB / 0.6932 GB, free: 1.668 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.1904, allocations: 7.938 kB / 0.6933 GB, free: 1.66 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1904, allocations: 0 / 0.6933 GB, free: 1.66 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.1905, allocations: 75.28 kB / 0.6933 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.1905, allocations: 0 / 0.6933 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001846/0.1907, allocations: 4 kB / 0.6933 GB, free: 1.582 MB / 0.5139 GB 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.0001527/0.1908, allocations: 107.2 kB / 0.6934 GB, free: 1.465 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.1909, allocations: 4 kB / 0.6934 GB, free: 1.461 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1909, allocations: 4 kB / 0.6934 GB, free: 1.457 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.1909, allocations: 7.938 kB / 0.6934 GB, free: 1.449 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1911, allocations: 7 kB / 0.6935 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.1913, allocations: 80.98 kB / 0.6935 GB, free: 1.34 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.1914, allocations: 55.36 kB / 0.6936 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.1914, allocations: 8.062 kB / 0.6936 GB, free: 1.258 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.1915, allocations: 15.42 kB / 0.6936 GB, free: 1.242 MB / 0.5139 GB Notification: Performance of SimCode: time 3.9e-07/0.1915, allocations: 0 / 0.6936 GB, free: 1.242 MB / 0.5139 GB Notification: Performance of Templates: time 0.002702/0.1942, allocations: 335.5 kB / 0.6939 GB, free: 0.918 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.842166773043573]