Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 115.6 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 184.5 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.06/1.06, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.89 kB / 0.5716 GB, free: 39.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1741, allocations: 80.7 MB / 0.6504 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002637/0.1767, allocations: 1.417 MB / 0.6518 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1778, allocations: 0.5691 MB / 0.6523 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.1779, allocations: 4 kB / 0.6523 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1782, allocations: 227.7 kB / 0.6525 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.1786, allocations: 271.5 kB / 0.6528 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1789, allocations: 87.53 kB / 0.6529 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.1795, allocations: 0.593 MB / 0.6535 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1795, allocations: 0 / 0.6535 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.1798, allocations: 315.5 kB / 0.6538 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.1804, allocations: 0.5267 MB / 0.6543 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.1805, allocations: 36 kB / 0.6543 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.1807, allocations: 111.9 kB / 0.6544 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.182, allocations: 1.251 MB / 0.6556 GB, free: 7.773 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.1825, allocations: 0.7195 MB / 0.6563 GB, free: 7.047 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.1838, allocations: 1.632 MB / 0.6579 GB, free: 5.406 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1839, allocations: 4 kB / 0.6579 GB, free: 5.402 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1839, allocations: 0 / 0.6579 GB, free: 5.402 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.1839, allocations: 0 / 0.6579 GB, free: 5.402 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002825/0.1867, allocations: 2.759 MB / 0.6606 GB, free: 2.57 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1868, allocations: 12.03 kB / 0.6606 GB, free: 2.559 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.187, allocations: 293.1 kB / 0.6609 GB, free: 2.27 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/0.1914, allocations: 3.322 MB / 0.6642 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1914, allocations: 8.359 kB / 0.6642 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.1914, allocations: 12.36 kB / 0.6642 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1917, allocations: 149.8 kB / 0.6643 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1917, allocations: 0 / 0.6643 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.1917, allocations: 8 kB / 0.6643 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1917, allocations: 0 / 0.6643 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1919, allocations: 75.98 kB / 0.6644 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1929, allocations: 1.011 MB / 0.6654 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.193, allocations: 66.58 kB / 0.6655 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.1931, allocations: 68.83 kB / 0.6655 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.1931, allocations: 0 / 0.6655 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1933, allocations: 180.9 kB / 0.6657 GB, free: 13.24 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1934, allocations: 0 / 0.6657 GB, free: 13.24 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0007809/0.1941, allocations: 0.656 MB / 0.6663 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.1942, allocations: 77.11 kB / 0.6664 GB, free: 12.47 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/0.1974, allocations: 3.185 MB / 0.6695 GB, free: 9.309 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1974, allocations: 37.7 kB / 0.6695 GB, free: 9.266 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009868/0.1984, allocations: 1.232 MB / 0.6708 GB, free: 8.031 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.1985, allocations: 35.64 kB / 0.6708 GB, free: 7.996 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1986, allocations: 73.72 kB / 0.6709 GB, free: 7.918 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1987, allocations: 314 kB / 0.6712 GB, free: 7.605 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.1988, allocations: 51.94 kB / 0.6712 GB, free: 7.555 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.1989, allocations: 47.98 kB / 0.6713 GB, free: 7.508 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1991, allocations: 164.3 kB / 0.6714 GB, free: 7.332 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1991, allocations: 0 / 0.6714 GB, free: 7.332 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006172/0.1997, allocations: 0.6166 MB / 0.672 GB, free: 6.699 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.1998, allocations: 33.7 kB / 0.672 GB, free: 6.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1998, allocations: 0 / 0.672 GB, free: 6.66 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1998, allocations: 0 / 0.672 GB, free: 6.66 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.1999, allocations: 7.984 kB / 0.6721 GB, free: 6.652 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1999, allocations: 0 / 0.6721 GB, free: 6.652 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.2001, allocations: 16 kB / 0.6721 GB, free: 6.637 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.2002, allocations: 112 kB / 0.6722 GB, free: 6.527 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: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0007876/0.201, allocations: 0.7449 MB / 0.6729 GB, free: 5.77 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.2013, allocations: 304.1 kB / 0.6732 GB, free: 5.469 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.2016, allocations: 333.8 kB / 0.6735 GB, free: 5.141 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2016, allocations: 0 / 0.6735 GB, free: 5.141 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2016, allocations: 0 / 0.6735 GB, free: 5.141 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2016, allocations: 0 / 0.6735 GB, free: 5.141 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.2026, allocations: 1.093 MB / 0.6746 GB, free: 4.004 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2026, allocations: 4 kB / 0.6746 GB, free: 4 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.2026, allocations: 7.938 kB / 0.6746 GB, free: 3.992 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2026, allocations: 3.984 kB / 0.6746 GB, free: 3.988 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.2027, allocations: 28 kB / 0.6746 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2027, allocations: 0 / 0.6746 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2027, allocations: 4.172 kB / 0.6746 GB, free: 3.957 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.2034, allocations: 0.6651 MB / 0.6753 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.2037, allocations: 345.1 kB / 0.6756 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.2039, allocations: 16 kB / 0.6756 GB, free: 2.891 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.204, allocations: 8 kB / 0.6756 GB, free: 2.883 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.2041, allocations: 12.17 kB / 0.6756 GB, free: 2.871 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.2042, allocations: 112 kB / 0.6757 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002373/0.2066, allocations: 2.203 MB / 0.6779 GB, free: 0.5781 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2066, allocations: 0 / 0.6779 GB, free: 0.5781 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003547/0.207, allocations: 108 kB / 0.678 GB, free: 484 kB / 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0002096/0.2072, allocations: 131.7 kB / 0.6781 GB, free: 344 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.2075, allocations: 223.3 kB / 0.6783 GB, free: 108 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2075, allocations: 0 / 0.6783 GB, free: 108 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.2077, allocations: 147.4 kB / 0.6785 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.2083, allocations: 220.7 kB / 0.6787 GB, free: 15.73 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.2131, allocations: 4.294 MB / 0.6829 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.2144, allocations: 1.691 MB / 0.6845 GB, free: 9.672 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.2145, allocations: 131.4 kB / 0.6847 GB, free: 9.543 MB / 0.5295 GB Notification: Performance of SimCode: time 4.31e-07/0.2145, allocations: 0 / 0.6847 GB, free: 9.543 MB / 0.5295 GB Notification: Performance of Templates: time 0.08663/0.3012, allocations: 48.35 MB / 0.7319 GB, free: 9.125 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches