Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 110.6 kB / 17.74 MB, free: 5.359 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.001394/0.001394, allocations: 189.5 kB / 18.67 MB, free: 4.434 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9416/0.9416, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67 kB / 0.5716 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.164, allocations: 80.7 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.003128/0.1671, allocations: 1.413 MB / 0.6517 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1684, allocations: 0.5652 MB / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.1685, allocations: 0 / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007338/0.1693, allocations: 0.8732 MB / 0.6532 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0008778/0.1702, allocations: 0.9043 MB / 0.654 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1706, allocations: 79.67 kB / 0.6541 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.1722, allocations: 2.2 MB / 0.6563 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.1723, allocations: 4 kB / 0.6563 GB, free: 7.02 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.1738, allocations: 1.088 MB / 0.6573 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.1762, allocations: 2.04 MB / 0.6593 GB, free: 3.887 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0004561/0.1767, allocations: 128 kB / 0.6594 GB, free: 3.762 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.1772, allocations: 203.9 kB / 0.6596 GB, free: 3.562 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.005173/0.1824, allocations: 4.987 MB / 0.6645 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002639/0.1851, allocations: 2.831 MB / 0.6673 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.1896, allocations: 6.239 MB / 0.6734 GB, free: 5.43 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1896, allocations: 0 / 0.6734 GB, free: 5.43 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1896, allocations: 0 / 0.6734 GB, free: 5.43 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001151/0.1898, allocations: 0 / 0.6734 GB, free: 5.43 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.01143/0.2012, allocations: 9.97 MB / 0.6831 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2013, allocations: 8.031 kB / 0.6831 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.2026, allocations: 1.111 MB / 0.6842 GB, free: 10.19 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02034/0.223, allocations: 12.95 MB / 0.6968 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2231, allocations: 384 / 0.6968 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.2231, allocations: 32.38 kB / 0.6969 GB, free: 13.07 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.2237, allocations: 425.6 kB / 0.6973 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2237, allocations: 4 kB / 0.6973 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.2238, allocations: 32 kB / 0.6973 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2238, allocations: 0 / 0.6973 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.2241, allocations: 240 kB / 0.6975 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.2287, allocations: 3.58 MB / 0.701 GB, free: 8.758 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.229, allocations: 166.5 kB / 0.7012 GB, free: 8.586 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.2293, allocations: 152.9 kB / 0.7013 GB, free: 8.434 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.2293, allocations: 0 / 0.7013 GB, free: 8.434 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.2298, allocations: 408.7 kB / 0.7017 GB, free: 8.016 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.2298, allocations: 7.938 kB / 0.7017 GB, free: 8.008 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003086/0.2329, allocations: 2.196 MB / 0.7039 GB, free: 5.785 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.2329, allocations: 77.11 kB / 0.704 GB, free: 5.691 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0164/0.2494, allocations: 12.47 MB / 0.7161 GB, free: 9.324 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.2496, allocations: 57.7 kB / 0.7162 GB, free: 9.262 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004969/0.2546, allocations: 5.204 MB / 0.7213 GB, free: 4.055 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.2548, allocations: 55.66 kB / 0.7213 GB, free: 4 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.2551, allocations: 241.7 kB / 0.7216 GB, free: 3.758 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2552, allocations: 314 kB / 0.7219 GB, free: 3.445 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.2555, allocations: 144 kB / 0.722 GB, free: 3.305 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.2557, allocations: 136 kB / 0.7221 GB, free: 3.172 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.2562, allocations: 360.2 kB / 0.7225 GB, free: 2.805 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.2562, allocations: 0 / 0.7225 GB, free: 2.805 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002999/0.2592, allocations: 2.047 MB / 0.7245 GB, free: 0.7305 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.2593, allocations: 37.69 kB / 0.7245 GB, free: 0.6875 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2593, allocations: 0 / 0.7245 GB, free: 0.6875 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2593, allocations: 0 / 0.7245 GB, free: 0.6875 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.2594, allocations: 4 kB / 0.7245 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.2594, allocations: 4 kB / 0.7245 GB, free: 0.6797 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.2606, allocations: 43.94 kB / 0.7246 GB, free: 0.6367 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004/0.261, allocations: 436 kB / 0.725 GB, free: 216 kB / 0.5608 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.003855/0.2648, allocations: 2.53 MB / 0.7274 GB, free: 13.66 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/0.2661, allocations: 1.145 MB / 0.7286 GB, free: 12.5 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.2683, allocations: 1.288 MB / 0.7298 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2683, allocations: 96 / 0.7298 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2683, allocations: 3.938 kB / 0.7298 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2683, allocations: 0 / 0.7298 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006785/0.2751, allocations: 3.892 MB / 0.7336 GB, free: 7.27 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.2751, allocations: 0 / 0.7336 GB, free: 7.27 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.2752, allocations: 7.938 kB / 0.7336 GB, free: 7.262 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.2752, allocations: 0 / 0.7336 GB, free: 7.262 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.2754, allocations: 99.98 kB / 0.7337 GB, free: 7.164 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2754, allocations: 0 / 0.7337 GB, free: 7.164 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2755, allocations: 0 / 0.7337 GB, free: 7.164 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.2786, allocations: 2.17 MB / 0.7358 GB, free: 4.957 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/0.2811, allocations: 1.041 MB / 0.7369 GB, free: 3.883 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009708/0.282, allocations: 36 kB / 0.7369 GB, free: 3.848 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.2831, allocations: 36 kB / 0.7369 GB, free: 3.812 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.2832, allocations: 4 kB / 0.7369 GB, free: 3.809 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003436/0.2836, allocations: 448 kB / 0.7374 GB, free: 3.371 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01536/0.2989, allocations: 8.567 MB / 0.7457 GB, free: 10.88 MB / 0.592 GB Notification: Performance of sort global known variables: time 4.31e-07/0.299, allocations: 0 / 0.7457 GB, free: 10.88 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001886/0.3009, allocations: 344 kB / 0.7461 GB, free: 10.55 MB / 0.592 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.000396/0.3013, allocations: 155.7 kB / 0.7462 GB, free: 10.39 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0008175/0.3021, allocations: 419.4 kB / 0.7466 GB, free: 9.965 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3021, allocations: 0 / 0.7466 GB, free: 9.965 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.3025, allocations: 271.3 kB / 0.7469 GB, free: 9.688 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/0.3069, allocations: 0.8497 MB / 0.7477 GB, free: 8.836 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/0.3344, allocations: 17.45 MB / 0.7647 GB, free: 7.344 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005403/0.3398, allocations: 4.796 MB / 0.7694 GB, free: 2.52 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009777/0.3408, allocations: 0.4955 MB / 0.7699 GB, free: 2.023 MB / 0.6077 GB Notification: Performance of SimCode: time 1.543e-06/0.3408, allocations: 0 / 0.7699 GB, free: 2.023 MB / 0.6077 GB Notification: Performance of Templates: time 1.787/2.128, allocations: 464.8 MB / 1.224 GB, free: 125.7 MB / 0.7798 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches