Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001117/0.001117, allocations: 103 kB / 17.74 MB, free: 5.367 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.00113/0.00113, allocations: 188.5 kB / 18.66 MB, free: 4.449 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.33/1.33, 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 1.015/1.015, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 62.39 kB / 0.5716 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1746, allocations: 80.7 MB / 0.6504 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002619/0.1773, allocations: 1.417 MB / 0.6518 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1783, allocations: 0.5652 MB / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.1784, allocations: 4 kB / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007532/0.1791, allocations: 0.8693 MB / 0.6532 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000856/0.18, allocations: 0.9004 MB / 0.654 GB, free: 9.305 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1803, allocations: 79.78 kB / 0.6541 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.1821, allocations: 2.192 MB / 0.6563 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.1821, allocations: 4 kB / 0.6563 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.1833, allocations: 1.096 MB / 0.6573 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.1852, allocations: 2.036 MB / 0.6593 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.1855, allocations: 128 kB / 0.6594 GB, free: 3.766 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.1859, allocations: 199.9 kB / 0.6596 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.005131/0.191, allocations: 4.987 MB / 0.6645 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002711/0.1938, allocations: 2.828 MB / 0.6673 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.00487/0.1986, allocations: 6.247 MB / 0.6734 GB, free: 5.434 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1987, allocations: 0 / 0.6734 GB, free: 5.434 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.417e-06/0.1987, allocations: 4 kB / 0.6734 GB, free: 5.43 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001747/0.1989, 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.01308/0.212, allocations: 9.97 MB / 0.6831 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.212, allocations: 8.031 kB / 0.6831 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.2134, allocations: 1.111 MB / 0.6842 GB, free: 10.19 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02216/0.2356, allocations: 12.95 MB / 0.6968 GB, free: 13.12 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.2356, allocations: 4.375 kB / 0.6968 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.2358, allocations: 36.38 kB / 0.6969 GB, free: 13.08 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.2364, allocations: 429.6 kB / 0.6973 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2364, allocations: 0 / 0.6973 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.2365, allocations: 32 kB / 0.6973 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2365, allocations: 0 / 0.6973 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.2369, allocations: 244 kB / 0.6975 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.242, allocations: 3.576 MB / 0.701 GB, free: 8.762 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.2423, allocations: 170.5 kB / 0.7012 GB, free: 8.586 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.2426, allocations: 152.9 kB / 0.7013 GB, free: 8.434 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.2426, allocations: 4 kB / 0.7014 GB, free: 8.43 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004784/0.2431, allocations: 412.7 kB / 0.7017 GB, free: 8.008 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 3.046e-06/0.2431, allocations: 0 / 0.7017 GB, free: 8.008 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.0032/0.2463, allocations: 2.184 MB / 0.7039 GB, free: 5.797 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.2464, allocations: 81.11 kB / 0.704 GB, free: 5.699 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01796/0.2644, allocations: 12.46 MB / 0.7161 GB, free: 9.336 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.2647, allocations: 61.7 kB / 0.7162 GB, free: 9.27 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.006105/0.2708, allocations: 5.208 MB / 0.7213 GB, free: 4.059 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.2711, allocations: 55.66 kB / 0.7213 GB, free: 4.004 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/0.2715, allocations: 237.7 kB / 0.7215 GB, free: 3.766 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2717, allocations: 314 kB / 0.7218 GB, free: 3.453 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.2719, allocations: 140 kB / 0.722 GB, free: 3.316 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.2722, allocations: 140 kB / 0.7221 GB, free: 3.18 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.2729, allocations: 364.1 kB / 0.7225 GB, free: 2.812 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.2729, allocations: 0 / 0.7225 GB, free: 2.812 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00362/0.2765, allocations: 2.051 MB / 0.7245 GB, free: 0.7344 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.2766, allocations: 33.7 kB / 0.7245 GB, free: 0.6953 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2766, allocations: 3.984 kB / 0.7245 GB, free: 0.6914 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.2767, allocations: 0 / 0.7245 GB, free: 0.6914 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.311e-05/0.2768, allocations: 7.938 kB / 0.7245 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2768, allocations: 0 / 0.7245 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.2783, allocations: 36 kB / 0.7245 GB, free: 0.6484 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003484/0.2787, allocations: 440.1 kB / 0.725 GB, free: 224 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.00366/0.2823, allocations: 2.533 MB / 0.7274 GB, free: 13.67 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/0.2841, allocations: 1.145 MB / 0.7286 GB, free: 12.51 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.2866, allocations: 1.284 MB / 0.7298 GB, free: 11.22 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2866, allocations: 0 / 0.7298 GB, free: 11.22 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2866, allocations: 4 kB / 0.7298 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2866, allocations: 4 kB / 0.7298 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006256/0.2929, allocations: 3.884 MB / 0.7336 GB, free: 7.281 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2929, allocations: 0 / 0.7336 GB, free: 7.281 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.293, allocations: 7.938 kB / 0.7336 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.293, allocations: 0 / 0.7336 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.2931, allocations: 96 kB / 0.7337 GB, free: 7.18 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2932, allocations: 0 / 0.7337 GB, free: 7.18 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2932, allocations: 4 kB / 0.7337 GB, free: 7.176 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.2966, allocations: 2.17 MB / 0.7358 GB, free: 4.969 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/0.2988, allocations: 1.033 MB / 0.7368 GB, free: 3.902 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009297/0.2998, allocations: 40.11 kB / 0.7369 GB, free: 3.863 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.3008, allocations: 36 kB / 0.7369 GB, free: 3.828 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.3009, allocations: 7.984 kB / 0.7369 GB, free: 3.82 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000341/0.3012, allocations: 440 kB / 0.7373 GB, free: 3.391 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01466/0.3159, allocations: 8.575 MB / 0.7457 GB, free: 10.89 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3159, allocations: 0 / 0.7457 GB, free: 10.89 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.00165/0.3176, allocations: 344 kB / 0.746 GB, free: 10.56 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.0003915/0.318, allocations: 163.6 kB / 0.7462 GB, free: 10.39 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0008466/0.3189, allocations: 419.4 kB / 0.7466 GB, free: 9.973 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3189, allocations: 0 / 0.7466 GB, free: 9.973 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.3193, allocations: 271.3 kB / 0.7469 GB, free: 9.695 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/0.3237, allocations: 0.8458 MB / 0.7477 GB, free: 8.848 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02778/0.3515, allocations: 17.46 MB / 0.7647 GB, free: 7.352 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005639/0.3572, allocations: 4.792 MB / 0.7694 GB, free: 2.531 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009128/0.3582, allocations: 0.4955 MB / 0.7699 GB, free: 2.035 MB / 0.6077 GB Notification: Performance of SimCode: time 1.934e-06/0.3582, allocations: 4 kB / 0.7699 GB, free: 2.031 MB / 0.6077 GB Notification: Performance of Templates: time 1.838/2.196, allocations: 464.8 MB / 1.224 GB, free: 129.7 MB / 0.7798 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches