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.001619/0.001619, allocations: 112.9 kB / 17.06 MB, free: 5.969 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.002278/0.002278, allocations: 200 kB / 18.01 MB, free: 5.055 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.521/1.521, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.398/1.398, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.53 kB / 0.5709 GB, free: 39.7 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.178, allocations: 80.7 MB / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.003527/0.1815, allocations: 1.41 MB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1829, allocations: 0.573 MB / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.183, allocations: 0 / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.1833, allocations: 227.7 kB / 0.6519 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.1839, allocations: 271.5 kB / 0.6521 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1842, allocations: 79.8 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.1849, allocations: 0.6008 MB / 0.6528 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1849, allocations: 8 kB / 0.6528 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.1855, allocations: 307.5 kB / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.1862, allocations: 0.5267 MB / 0.6536 GB, free: 9.043 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1863, allocations: 36 kB / 0.6536 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.1865, allocations: 111.9 kB / 0.6538 GB, free: 8.898 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.188, allocations: 1.255 MB / 0.655 GB, free: 7.641 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0008853/0.1889, allocations: 0.7195 MB / 0.6557 GB, free: 6.914 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.1906, allocations: 1.628 MB / 0.6573 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1906, allocations: 0 / 0.6573 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1906, allocations: 0 / 0.6573 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.191e-05/0.1907, allocations: 0 / 0.6573 GB, free: 5.277 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.004168/0.1949, allocations: 2.762 MB / 0.66 GB, free: 2.441 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.1949, allocations: 16.03 kB / 0.66 GB, free: 2.426 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005928/0.1955, allocations: 289.1 kB / 0.6603 GB, free: 2.141 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00646/0.202, allocations: 3.322 MB / 0.6635 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.202, allocations: 384 / 0.6635 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.2021, allocations: 8.375 kB / 0.6635 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.2024, allocations: 149.8 kB / 0.6637 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2024, allocations: 0 / 0.6637 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.2024, allocations: 8 kB / 0.6637 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2024, allocations: 0 / 0.6637 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.2026, allocations: 79.98 kB / 0.6637 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.2043, allocations: 1.011 MB / 0.6647 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2045, allocations: 74.56 kB / 0.6648 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.2046, allocations: 52.86 kB / 0.6648 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.2046, allocations: 11.88 kB / 0.6649 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.2049, allocations: 177 kB / 0.665 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.205, allocations: 4 kB / 0.665 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001077/0.206, allocations: 0.656 MB / 0.6657 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.2061, allocations: 81.11 kB / 0.6657 GB, free: 12.35 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004836/0.2109, allocations: 3.181 MB / 0.6689 GB, free: 9.188 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.211, allocations: 37.7 kB / 0.6689 GB, free: 9.145 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.2124, allocations: 1.24 MB / 0.6701 GB, free: 7.902 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 9.667e-05/0.2125, allocations: 31.66 kB / 0.6701 GB, free: 7.871 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.2127, allocations: 77.7 kB / 0.6702 GB, free: 7.789 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2129, allocations: 314 kB / 0.6705 GB, free: 7.477 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.213, allocations: 47.98 kB / 0.6706 GB, free: 7.43 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.2131, allocations: 44 kB / 0.6706 GB, free: 7.387 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.2133, allocations: 168.2 kB / 0.6708 GB, free: 7.207 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2133, allocations: 0 / 0.6708 GB, free: 7.207 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001066/0.2144, allocations: 0.6088 MB / 0.6713 GB, free: 6.582 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.2145, allocations: 37.69 kB / 0.6714 GB, free: 6.539 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2145, allocations: 0 / 0.6714 GB, free: 6.539 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.2145, allocations: 144 / 0.6714 GB, free: 6.539 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.2146, allocations: 8 kB / 0.6714 GB, free: 6.531 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2146, allocations: 0 / 0.6714 GB, free: 6.531 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.2151, allocations: 12 kB / 0.6714 GB, free: 6.52 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.2152, allocations: 120 kB / 0.6715 GB, free: 6.402 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.0009468/0.2161, allocations: 0.7421 MB / 0.6722 GB, free: 5.645 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.2166, allocations: 300.1 kB / 0.6725 GB, free: 5.348 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.2171, allocations: 333.8 kB / 0.6728 GB, free: 5.02 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2171, allocations: 0 / 0.6728 GB, free: 5.02 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.2171, allocations: 4.094 kB / 0.6729 GB, free: 5.016 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2171, allocations: 7.938 kB / 0.6729 GB, free: 5.008 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.2186, allocations: 1.085 MB / 0.6739 GB, free: 3.879 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2186, allocations: 7.938 kB / 0.6739 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.2186, allocations: 7.875 kB / 0.6739 GB, free: 3.863 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2186, allocations: 0 / 0.6739 GB, free: 3.863 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.2187, allocations: 28 kB / 0.674 GB, free: 3.836 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2187, allocations: 0 / 0.674 GB, free: 3.836 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2187, allocations: 3.984 kB / 0.674 GB, free: 3.832 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.2197, allocations: 0.6728 MB / 0.6746 GB, free: 3.133 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.2203, allocations: 337.2 kB / 0.6749 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.2206, allocations: 12 kB / 0.675 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.2208, allocations: 8 kB / 0.675 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.2209, allocations: 8 kB / 0.675 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.2211, allocations: 116 kB / 0.6751 GB, free: 2.641 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.003399/0.2245, allocations: 2.207 MB / 0.6772 GB, free: 464 kB / 0.5139 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2245, allocations: 0 / 0.6772 GB, free: 464 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000423/0.2249, allocations: 112 kB / 0.6773 GB, free: 352 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.000251/0.2252, allocations: 135.5 kB / 0.6775 GB, free: 212 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.2255, allocations: 215.3 kB / 0.6777 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2255, allocations: 0 / 0.6777 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.2257, allocations: 151.4 kB / 0.6778 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007544/0.2265, allocations: 216.7 kB / 0.678 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/0.2323, allocations: 4.16 MB / 0.6821 GB, free: 11.41 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.234, allocations: 1.695 MB / 0.6837 GB, free: 9.688 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001261/0.2353, allocations: 0.5923 MB / 0.6843 GB, free: 9.09 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.2355, allocations: 139.4 kB / 0.6845 GB, free: 8.953 MB / 0.5295 GB Notification: Performance of SimCode: time 7.61e-07/0.2355, allocations: 0 / 0.6845 GB, free: 8.953 MB / 0.5295 GB Notification: Performance of Templates: time 0.02767/0.2632, allocations: 11.09 MB / 0.6953 GB, free: 13.82 MB / 0.5452 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