Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001395/0.001395, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001522/0.001522, allocations: 192 kB / 18 MB, free: 4.977 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.343/1.343, allocations: 222.9 MB / 241.7 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.9025/0.9025, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.89 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1288, allocations: 80.71 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002235/0.131, allocations: 1.402 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.132, allocations: 0.573 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.132, allocations: 0 / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.1332, allocations: 1.719 MB / 0.6533 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.1345, allocations: 1.762 MB / 0.655 GB, free: 7.582 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1348, allocations: 82.03 kB / 0.6551 GB, free: 7.504 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.1381, allocations: 4.322 MB / 0.6593 GB, free: 3.176 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.1381, allocations: 0 / 0.6593 GB, free: 3.176 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.1404, allocations: 2.145 MB / 0.6614 GB, free: 1.027 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.1443, allocations: 4.052 MB / 0.6654 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006319/0.1449, allocations: 252 kB / 0.6656 GB, free: 12.72 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.1456, allocations: 327.9 kB / 0.6659 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01073/0.1563, allocations: 9.958 MB / 0.6757 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.007184/0.1635, allocations: 5.632 MB / 0.6812 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.1751, allocations: 12.42 MB / 0.6933 GB, free: 252 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1752, allocations: 0 / 0.6933 GB, free: 252 kB / 0.5295 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1752, allocations: 3.938 kB / 0.6933 GB, free: 248 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0002962/0.1755, allocations: 4 kB / 0.6933 GB, free: 244 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.02474/0.2002, allocations: 19.56 MB / 0.7124 GB, free: 12.45 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2003, allocations: 12.03 kB / 0.7124 GB, free: 12.44 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.2026, allocations: 2.202 MB / 0.7146 GB, free: 10.21 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04661/0.2493, allocations: 25.83 MB / 0.7398 GB, free: 192 kB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2493, allocations: 4.375 kB / 0.7398 GB, free: 188 kB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.2495, allocations: 64.38 kB / 0.7399 GB, free: 124 kB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/0.2504, allocations: 0.7864 MB / 0.7406 GB, free: 15.33 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2504, allocations: 4 kB / 0.7406 GB, free: 15.32 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.2505, allocations: 64 kB / 0.7407 GB, free: 15.26 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2505, allocations: 0 / 0.7407 GB, free: 15.26 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.2511, allocations: 452 kB / 0.7411 GB, free: 14.82 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009238/0.2604, allocations: 7 MB / 0.7479 GB, free: 7.77 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.261, allocations: 286.5 kB / 0.7482 GB, free: 7.48 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.2615, allocations: 284.9 kB / 0.7485 GB, free: 7.199 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.2615, allocations: 4 kB / 0.7485 GB, free: 7.195 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007314/0.2622, allocations: 0.7073 MB / 0.7492 GB, free: 6.469 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.394e-06/0.2622, allocations: 0 / 0.7492 GB, free: 6.469 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.005477/0.2677, allocations: 4.24 MB / 0.7533 GB, free: 2.188 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2678, allocations: 81.11 kB / 0.7534 GB, free: 2.09 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6089/0.8768, allocations: 24.83 MB / 0.7777 GB, free: 90.36 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0004357/0.8772, allocations: 88.92 kB / 0.7777 GB, free: 90.33 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01074/0.888, allocations: 10.82 MB / 0.7883 GB, free: 81.7 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005115/0.8885, allocations: 85.28 kB / 0.7884 GB, free: 81.7 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005826/0.8891, allocations: 459.8 kB / 0.7888 GB, free: 81.68 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.8892, allocations: 308.9 kB / 0.7891 GB, free: 81.38 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/0.8896, allocations: 270.4 kB / 0.7894 GB, free: 81.37 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.8901, allocations: 265.5 kB / 0.7896 GB, free: 81.36 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.891, allocations: 0.5918 MB / 0.7902 GB, free: 81.27 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.891, allocations: 1.094 kB / 0.7902 GB, free: 81.27 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006585/0.8976, allocations: 3.976 MB / 0.7941 GB, free: 81.19 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.8977, allocations: 40.73 kB / 0.7941 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.8977, allocations: 0.7031 kB / 0.7941 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.8978, allocations: 0 / 0.7941 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.8979, allocations: 4.25 kB / 0.7941 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.8979, allocations: 1.688 kB / 0.7941 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.9007, allocations: 68.69 kB / 0.7942 GB, free: 81.16 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/0.9016, allocations: 0.8555 MB / 0.795 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.008123/0.9097, allocations: 4.908 MB / 0.7998 GB, free: 80.4 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003324/0.913, allocations: 2.265 MB / 0.8021 GB, free: 80.39 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.9177, allocations: 2.563 MB / 0.8046 GB, free: 79.66 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.9178, allocations: 3.438 kB / 0.8046 GB, free: 79.66 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.9178, allocations: 0 / 0.8046 GB, free: 79.66 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9178, allocations: 7.203 kB / 0.8046 GB, free: 79.66 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.9279, allocations: 7.624 MB / 0.812 GB, free: 76.81 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.928, allocations: 3.688 kB / 0.812 GB, free: 76.81 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.928, allocations: 3.984 kB / 0.812 GB, free: 76.81 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.9281, allocations: 3.688 kB / 0.812 GB, free: 76.81 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004893/0.9286, allocations: 191.8 kB / 0.8122 GB, free: 76.8 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9286, allocations: 3.625 kB / 0.8122 GB, free: 76.8 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9286, allocations: 0 / 0.8122 GB, free: 76.8 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/0.933, allocations: 4.166 MB / 0.8163 GB, free: 75.29 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003761/0.9368, allocations: 1.983 MB / 0.8182 GB, free: 73.93 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0014/0.9382, allocations: 68.06 kB / 0.8183 GB, free: 73.93 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.9396, allocations: 65.81 kB / 0.8183 GB, free: 73.93 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.9397, allocations: 7.734 kB / 0.8183 GB, free: 73.92 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005029/0.9402, allocations: 0.8591 MB / 0.8192 GB, free: 73.8 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02614/0.9663, allocations: 17.24 MB / 0.836 GB, free: 57.06 MB / 0.6079 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9663, allocations: 3.531 kB / 0.836 GB, free: 57.06 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.003384/0.9697, allocations: 0.6437 MB / 0.8367 GB, free: 56.42 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.0004588/0.9702, allocations: 183.1 kB / 0.8368 GB, free: 56.24 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.9713, allocations: 0.6902 MB / 0.8375 GB, free: 55.54 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9713, allocations: 0 / 0.8375 GB, free: 55.54 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.9718, allocations: 423.4 kB / 0.8379 GB, free: 55.12 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005884/0.9777, allocations: 1.688 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.04292/1.021, allocations: 34.61 MB / 0.8734 GB, free: 19.02 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/1.031, allocations: 8.916 MB / 0.8821 GB, free: 10.07 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.01253/1.043, allocations: 4.7 MB / 0.8867 GB, free: 5.379 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.045, allocations: 0.9877 MB / 0.8876 GB, free: 4.391 MB / 0.6079 GB Notification: Performance of SimCode: time 1.002e-06/1.045, allocations: 0 / 0.8876 GB, free: 4.391 MB / 0.6079 GB Notification: Performance of Templates: time 0.2071/1.252, allocations: 82.69 MB / 0.9684 GB, free: 1.566 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches