Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 111.8 kB / 17.06 MB, free: 5.965 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.002052/0.002051, allocations: 198.9 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.585/1.585, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.265/1.265, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.2 kB / 0.5709 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1882, allocations: 80.69 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.00368/0.192, allocations: 1.42 MB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1933, allocations: 0.5613 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.1935, allocations: 0 / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.1948, allocations: 1.723 MB / 0.6533 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.1964, allocations: 1.766 MB / 0.6551 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1968, allocations: 75.8 kB / 0.6551 GB, free: 7.496 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.003347/0.2002, allocations: 4.314 MB / 0.6593 GB, free: 3.176 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.2002, allocations: 4 kB / 0.6593 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.2034, allocations: 2.141 MB / 0.6614 GB, free: 1.027 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005923/0.2094, allocations: 4.052 MB / 0.6654 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.2106, allocations: 260 kB / 0.6656 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.2118, allocations: 323.9 kB / 0.666 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01194/0.2238, allocations: 9.954 MB / 0.6757 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.009627/0.2335, allocations: 5.643 MB / 0.6812 GB, free: 12.72 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.2502, allocations: 12.41 MB / 0.6933 GB, free: 248 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2503, allocations: 0 / 0.6933 GB, free: 248 kB / 0.5295 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2503, allocations: 0 / 0.6933 GB, free: 248 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0005845/0.2509, allocations: 0 / 0.6933 GB, free: 248 kB / 0.5295 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.03761/0.2885, allocations: 19.56 MB / 0.7124 GB, free: 12.45 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 7.237e-05/0.2886, allocations: 8.031 kB / 0.7124 GB, free: 12.45 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.2933, allocations: 2.206 MB / 0.7146 GB, free: 10.21 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06597/0.3593, allocations: 25.83 MB / 0.7398 GB, free: 192 kB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.3593, allocations: 384 / 0.7398 GB, free: 192 kB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.3598, allocations: 64.38 kB / 0.7399 GB, free: 128 kB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.3617, allocations: 0.7903 MB / 0.7406 GB, free: 15.33 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3617, allocations: 0 / 0.7406 GB, free: 15.33 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.3619, allocations: 64 kB / 0.7407 GB, free: 15.27 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.362, allocations: 0 / 0.7407 GB, free: 15.27 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.3627, allocations: 452 kB / 0.7411 GB, free: 14.82 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01865/0.3814, allocations: 7 MB / 0.748 GB, free: 7.773 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.3828, allocations: 302.5 kB / 0.7482 GB, free: 7.469 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009293/0.3837, allocations: 280.9 kB / 0.7485 GB, free: 7.191 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3838, allocations: 0 / 0.7485 GB, free: 7.191 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.3851, allocations: 0.7073 MB / 0.7492 GB, free: 6.465 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.976e-06/0.3851, allocations: 0 / 0.7492 GB, free: 6.465 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.00715/0.3923, allocations: 4.236 MB / 0.7533 GB, free: 2.188 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.3924, allocations: 85.05 kB / 0.7534 GB, free: 2.086 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8965/1.289, allocations: 24.83 MB / 0.7777 GB, free: 90.36 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0005333/1.289, allocations: 89.52 kB / 0.7778 GB, free: 90.33 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01287/1.302, allocations: 10.82 MB / 0.7883 GB, free: 81.7 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/1.303, allocations: 80.38 kB / 0.7884 GB, free: 81.7 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006723/1.304, allocations: 461.2 kB / 0.7888 GB, free: 81.68 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/1.304, allocations: 307.8 kB / 0.7891 GB, free: 81.38 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/1.304, allocations: 270.9 kB / 0.7894 GB, free: 81.37 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/1.305, allocations: 267.1 kB / 0.7896 GB, free: 81.37 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009492/1.306, allocations: 0.5898 MB / 0.7902 GB, free: 81.28 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.306, allocations: 4.5 kB / 0.7902 GB, free: 81.28 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006876/1.313, allocations: 3.97 MB / 0.7941 GB, free: 81.2 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/1.313, allocations: 42.11 kB / 0.7941 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.313, allocations: 1.938 kB / 0.7941 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.313, allocations: 3.625 kB / 0.7942 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/1.313, allocations: 5.516 kB / 0.7942 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.313, allocations: 0 / 0.7942 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.316, allocations: 66.83 kB / 0.7942 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000786/1.316, allocations: 0.8586 MB / 0.7951 GB, free: 81.04 MB / 0.6079 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.008106/1.325, allocations: 4.904 MB / 0.7998 GB, free: 80.4 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003217/1.328, allocations: 2.272 MB / 0.8021 GB, free: 80.4 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/1.332, allocations: 2.562 MB / 0.8046 GB, free: 79.66 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.332, allocations: 3.531 kB / 0.8046 GB, free: 79.66 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.332, allocations: 4.281 kB / 0.8046 GB, free: 79.66 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.332, allocations: 0.8438 kB / 0.8046 GB, free: 79.66 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.344, allocations: 7.616 MB / 0.812 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.344, allocations: 0 / 0.812 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/1.344, allocations: 6.188 kB / 0.812 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.344, allocations: 0 / 0.812 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006789/1.344, allocations: 198.6 kB / 0.8122 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.344, allocations: 0 / 0.8122 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.344, allocations: 6.109 kB / 0.8122 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005261/1.35, allocations: 4.155 MB / 0.8163 GB, free: 75.3 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003528/1.353, allocations: 1.987 MB / 0.8182 GB, free: 73.94 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/1.355, allocations: 72.5 kB / 0.8183 GB, free: 73.94 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.356, allocations: 64.12 kB / 0.8183 GB, free: 73.94 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/1.356, allocations: 7.688 kB / 0.8184 GB, free: 73.93 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006758/1.356, allocations: 0.8567 MB / 0.8192 GB, free: 73.81 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02609/1.383, allocations: 17.25 MB / 0.836 GB, free: 57.07 MB / 0.6079 GB Notification: Performance of sort global known variables: time 4.11e-07/1.383, allocations: 0 / 0.836 GB, free: 57.07 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002921/1.386, allocations: 0.64 MB / 0.8367 GB, free: 56.44 MB / 0.6079 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.0003337/1.386, allocations: 191.3 kB / 0.8368 GB, free: 56.25 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0009763/1.387, allocations: 0.6894 MB / 0.8375 GB, free: 55.55 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.387, allocations: 1.031 kB / 0.8375 GB, free: 55.55 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/1.387, allocations: 419.4 kB / 0.8379 GB, free: 55.13 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/1.392, allocations: 1.699 MB / 0.8396 GB, free: 53.43 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04655/1.439, allocations: 34.6 MB / 0.8734 GB, free: 19.04 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01262/1.451, allocations: 8.92 MB / 0.8821 GB, free: 10.08 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.01119/1.463, allocations: 4.696 MB / 0.8867 GB, free: 5.398 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/1.465, allocations: 0.9877 MB / 0.8876 GB, free: 4.41 MB / 0.6079 GB Notification: Performance of SimCode: time 1.112e-06/1.465, allocations: 0 / 0.8876 GB, free: 4.41 MB / 0.6079 GB Notification: Performance of Templates: time 0.2347/1.699, allocations: 85.77 MB / 0.9714 GB, free: 14.5 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches