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.001439/0.00144, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001526/0.001526, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.308/1.308, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8843/0.8843, allocations: 119.3 MB / 411.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.4909 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4902, allocations: 80.68 MB / 0.5697 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002362/0.4926, allocations: 1.478 MB / 0.5711 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008306/0.4934, allocations: 0.592 MB / 0.5717 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.4935, allocations: 1.094 kB / 0.5717 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005484/0.4941, allocations: 0.858 MB / 0.5725 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000645/0.4947, allocations: 0.9011 MB / 0.5734 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.495, allocations: 65.45 kB / 0.5735 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.4964, allocations: 2.176 MB / 0.5756 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.4965, allocations: 2.25 kB / 0.5756 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.4976, allocations: 1.086 MB / 0.5767 GB, free: 39.39 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.4995, allocations: 1.922 MB / 0.5786 GB, free: 38.6 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003044/0.4998, allocations: 126.2 kB / 0.5787 GB, free: 38.6 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.5002, allocations: 198.9 kB / 0.5789 GB, free: 38.56 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003983/0.5042, allocations: 4.98 MB / 0.5837 GB, free: 35.51 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.506, allocations: 2.831 MB / 0.5865 GB, free: 32.65 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.5087, allocations: 4.574 MB / 0.591 GB, free: 28.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5087, allocations: 0 / 0.591 GB, free: 28.07 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5087, allocations: 0 / 0.591 GB, free: 28.07 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.171e-05/0.5088, allocations: 0 / 0.591 GB, free: 28.07 MB / 462.3 MB 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.007628/0.5164, allocations: 9.97 MB / 0.6007 GB, free: 17.96 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5165, allocations: 11.97 kB / 0.6007 GB, free: 17.95 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008379/0.5173, allocations: 1.103 MB / 0.6018 GB, free: 16.83 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/0.5325, allocations: 12.95 MB / 0.6144 GB, free: 3.754 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.5326, allocations: 4.375 kB / 0.6144 GB, free: 3.75 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.5327, allocations: 36.38 kB / 0.6145 GB, free: 3.715 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.5332, allocations: 429.6 kB / 0.6149 GB, free: 3.289 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5332, allocations: 0 / 0.6149 GB, free: 3.289 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.5333, allocations: 32 kB / 0.6149 GB, free: 3.258 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5333, allocations: 0 / 0.6149 GB, free: 3.258 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.5335, allocations: 239.9 kB / 0.6151 GB, free: 3.023 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.5372, allocations: 3.572 MB / 0.6186 GB, free: 15.41 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.5375, allocations: 170.6 kB / 0.6188 GB, free: 15.23 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.5377, allocations: 152.9 kB / 0.6189 GB, free: 15.08 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.5378, allocations: 0 / 0.6189 GB, free: 15.08 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005474/0.5383, allocations: 412.7 kB / 0.6193 GB, free: 14.66 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.5383, allocations: 0 / 0.6193 GB, free: 14.66 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002936/0.5413, allocations: 2.192 MB / 0.6215 GB, free: 12.44 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.5414, allocations: 81.11 kB / 0.6215 GB, free: 12.34 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01488/0.5562, allocations: 12.46 MB / 0.6337 GB, free: 15.97 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.5564, allocations: 65.64 kB / 0.6338 GB, free: 15.91 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004718/0.5612, allocations: 5.204 MB / 0.6389 GB, free: 10.7 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.5614, allocations: 55.69 kB / 0.6389 GB, free: 10.64 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.5617, allocations: 241.7 kB / 0.6391 GB, free: 10.4 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5618, allocations: 310 kB / 0.6394 GB, free: 10.09 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.562, allocations: 139.9 kB / 0.6396 GB, free: 9.957 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.5623, allocations: 144 kB / 0.6397 GB, free: 9.816 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.5628, allocations: 364.2 kB / 0.6401 GB, free: 9.445 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5628, allocations: 0 / 0.6401 GB, free: 9.445 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002769/0.5656, allocations: 2.047 MB / 0.6421 GB, free: 7.371 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.5656, allocations: 37.69 kB / 0.6421 GB, free: 7.328 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5656, allocations: 0 / 0.6421 GB, free: 7.328 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5657, allocations: 0 / 0.6421 GB, free: 7.328 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.5658, allocations: 7.938 kB / 0.6421 GB, free: 7.32 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5658, allocations: 0 / 0.6421 GB, free: 7.32 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5668, allocations: 36 kB / 0.6421 GB, free: 7.285 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/0.5672, allocations: 440 kB / 0.6426 GB, free: 6.855 MB / 494.3 MB 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.003427/0.5706, allocations: 2.525 MB / 0.645 GB, free: 4.312 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/0.5718, allocations: 1.141 MB / 0.6461 GB, free: 3.156 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.5736, allocations: 1.284 MB / 0.6474 GB, free: 1.863 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5736, allocations: 3.984 kB / 0.6474 GB, free: 1.859 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5736, allocations: 0 / 0.6474 GB, free: 1.859 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5736, allocations: 0 / 0.6474 GB, free: 1.859 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.5774, allocations: 3.892 MB / 0.6512 GB, free: 13.92 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5774, allocations: 0 / 0.6512 GB, free: 13.92 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.5774, allocations: 7.938 kB / 0.6512 GB, free: 13.91 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.5774, allocations: 4.094 kB / 0.6512 GB, free: 13.91 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.5776, allocations: 99.94 kB / 0.6513 GB, free: 13.81 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5776, allocations: 0 / 0.6513 GB, free: 13.81 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5776, allocations: 3.984 kB / 0.6513 GB, free: 13.81 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.58, allocations: 2.17 MB / 0.6534 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.5813, allocations: 1.037 MB / 0.6544 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/0.5817, allocations: 35.98 kB / 0.6545 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.5823, allocations: 36 kB / 0.6545 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.5824, allocations: 4 kB / 0.6545 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003587/0.5828, allocations: 447.9 kB / 0.6549 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01159/0.5944, allocations: 8.567 MB / 0.6633 GB, free: 1.531 MB / 0.4983 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5944, allocations: 0 / 0.6633 GB, free: 1.531 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001314/0.5957, allocations: 352 kB / 0.6636 GB, free: 1.188 MB / 0.4983 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.0002879/0.596, allocations: 153.9 kB / 0.6638 GB, free: 1.031 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0007014/0.5967, allocations: 419.4 kB / 0.6642 GB, free: 0.6094 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5967, allocations: 0 / 0.6642 GB, free: 0.6094 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.5971, allocations: 271.3 kB / 0.6644 GB, free: 340 kB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.5996, allocations: 0.8545 MB / 0.6653 GB, free: 15.47 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/0.6251, allocations: 19.67 MB / 0.6845 GB, free: 11.76 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004876/0.63, allocations: 4.781 MB / 0.6892 GB, free: 6.953 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008016/0.6308, allocations: 0.4955 MB / 0.6896 GB, free: 6.457 MB / 0.5295 GB Notification: Performance of SimCode: time 8.12e-07/0.6308, allocations: 0 / 0.6896 GB, free: 6.457 MB / 0.5295 GB Notification: Performance of Templates: time 1.491/2.121, allocations: 462.1 MB / 1.141 GB, free: 117.6 MB / 0.6704 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches