Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 109.5 kB / 17.06 MB, free: 6.016 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.00191/0.00191, allocations: 188.8 kB / 18 MB, free: 5.102 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.506/1.506, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.422/1.422, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 65.95 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1699, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003229/0.1732, allocations: 1.41 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1746, allocations: 0.5652 MB / 0.6517 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.1747, allocations: 3.938 kB / 0.6517 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.1752, allocations: 447.1 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006706/0.1759, allocations: 491 kB / 0.6526 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1764, allocations: 83.67 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1776, allocations: 1.135 MB / 0.6537 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.1776, allocations: 4 kB / 0.6537 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000917/0.1786, allocations: 0.5615 MB / 0.6543 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.1799, allocations: 1.034 MB / 0.6553 GB, free: 7.367 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.1802, allocations: 64 kB / 0.6554 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.1805, allocations: 139.9 kB / 0.6555 GB, free: 7.168 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002995/0.1835, allocations: 2.497 MB / 0.6579 GB, free: 4.664 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.1858, allocations: 1.423 MB / 0.6593 GB, free: 3.227 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.1895, allocations: 3.209 MB / 0.6625 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1895, allocations: 0 / 0.6625 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1895, allocations: 3.938 kB / 0.6625 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.69e-05/0.1896, allocations: 0 / 0.6625 GB, free: 15.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007114/0.1967, allocations: 5.384 MB / 0.6677 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.1968, allocations: 12.03 kB / 0.6677 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.1981, allocations: 0.5829 MB / 0.6683 GB, free: 9.914 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/0.2172, allocations: 6.623 MB / 0.6748 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2173, allocations: 384 / 0.6748 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.2174, allocations: 16.38 kB / 0.6748 GB, free: 3.203 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.218, allocations: 241.8 kB / 0.675 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.218, allocations: 3.938 kB / 0.675 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.2181, allocations: 16 kB / 0.675 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.2181, allocations: 8 kB / 0.675 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.2184, allocations: 135.9 kB / 0.6752 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.2223, allocations: 1.862 MB / 0.677 GB, free: 0.8906 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.2226, allocations: 98.58 kB / 0.6771 GB, free: 0.7852 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.2229, allocations: 96.89 kB / 0.6772 GB, free: 0.6875 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2229, allocations: 0 / 0.6772 GB, free: 0.6875 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004918/0.2234, allocations: 261 kB / 0.6774 GB, free: 424 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 3.035e-06/0.2234, allocations: 3.938 kB / 0.6774 GB, free: 420 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.002815/0.2262, allocations: 1.195 MB / 0.6786 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.2263, allocations: 77.11 kB / 0.6787 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/0.2402, allocations: 6.279 MB / 0.6848 GB, free: 8.871 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.2404, allocations: 41.7 kB / 0.6848 GB, free: 8.824 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.004372/0.2448, allocations: 2.52 MB / 0.6873 GB, free: 6.301 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.2451, allocations: 31.89 kB / 0.6873 GB, free: 6.27 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.2455, allocations: 133.7 kB / 0.6875 GB, free: 6.133 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.2457, allocations: 314 kB / 0.6878 GB, free: 5.82 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.246, allocations: 76 kB / 0.6878 GB, free: 5.746 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.2462, allocations: 83.98 kB / 0.6879 GB, free: 5.664 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.2469, allocations: 224.3 kB / 0.6881 GB, free: 5.43 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.247, allocations: 3.938 kB / 0.6881 GB, free: 5.426 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002877/0.2498, allocations: 1.12 MB / 0.6892 GB, free: 4.289 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/0.2499, allocations: 41.64 kB / 0.6893 GB, free: 4.242 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.25, allocations: 0 / 0.6893 GB, free: 4.242 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.25, allocations: 4 kB / 0.6893 GB, free: 4.238 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2502, allocations: 7.984 kB / 0.6893 GB, free: 4.23 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2502, allocations: 0 / 0.6893 GB, free: 4.23 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.2515, allocations: 23.94 kB / 0.6893 GB, free: 4.207 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.2518, allocations: 220 kB / 0.6895 GB, free: 3.992 MB / 0.5295 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.003216/0.255, allocations: 1.339 MB / 0.6908 GB, free: 2.637 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/0.2564, allocations: 0.6053 MB / 0.6914 GB, free: 2.027 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.2581, allocations: 0.648 MB / 0.692 GB, free: 1.375 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2582, allocations: 0 / 0.692 GB, free: 1.375 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2582, allocations: 4 kB / 0.692 GB, free: 1.371 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2582, allocations: 0 / 0.692 GB, free: 1.371 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.2626, allocations: 2.026 MB / 0.694 GB, free: 15.3 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.2626, allocations: 0 / 0.694 GB, free: 15.3 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.2627, allocations: 7.922 kB / 0.694 GB, free: 15.29 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.2627, allocations: 0 / 0.694 GB, free: 15.29 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.2628, allocations: 52 kB / 0.6941 GB, free: 15.24 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2628, allocations: 0 / 0.6941 GB, free: 15.24 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2628, allocations: 0 / 0.6941 GB, free: 15.24 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.2655, allocations: 1.203 MB / 0.6953 GB, free: 14.01 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/0.2672, allocations: 0.5947 MB / 0.6958 GB, free: 13.39 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004515/0.2677, allocations: 16 kB / 0.6958 GB, free: 13.38 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.2684, allocations: 24 kB / 0.6959 GB, free: 13.35 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.2685, allocations: 7.984 kB / 0.6959 GB, free: 13.34 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/0.2689, allocations: 224 kB / 0.6961 GB, free: 13.12 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0112/0.2801, allocations: 4.324 MB / 0.7003 GB, free: 8.84 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.893e-06/0.2801, allocations: 0 / 0.7003 GB, free: 8.84 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001423/0.2816, allocations: 187.9 kB / 0.7005 GB, free: 8.656 MB / 0.5452 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.0005199/0.2821, allocations: 143.6 kB / 0.7006 GB, free: 8.508 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0008452/0.283, allocations: 287.3 kB / 0.7009 GB, free: 8.215 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.283, allocations: 0 / 0.7009 GB, free: 8.215 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.2835, allocations: 187.4 kB / 0.7011 GB, free: 8.02 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.286, allocations: 441.1 kB / 0.7015 GB, free: 7.586 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02083/0.3069, allocations: 8.534 MB / 0.7098 GB, free: 15.01 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004763/0.3117, allocations: 2.72 MB / 0.7125 GB, free: 12.27 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.005069/0.3168, allocations: 1.149 MB / 0.7136 GB, free: 11.11 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/0.3174, allocations: 259.4 kB / 0.7139 GB, free: 10.86 MB / 0.5608 GB Notification: Performance of SimCode: time 1.062e-06/0.3174, allocations: 0 / 0.7139 GB, free: 10.86 MB / 0.5608 GB Notification: Performance of Templates: time 0.07378/0.3912, allocations: 20.7 MB / 0.7341 GB, free: 6.047 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches