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.001321/0.001321, allocations: 108.6 kB / 17.06 MB, free: 6.098 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.001351/0.001351, allocations: 200.1 kB / 18 MB, free: 5.172 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.002/1.002, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 62.64 kB / 0.5709 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, 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.002365/0.1419, allocations: 1.405 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.1429, allocations: 0.5769 MB / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.143, allocations: 0 / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.1442, allocations: 1.719 MB / 0.6533 GB, free: 9.332 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.1455, allocations: 1.754 MB / 0.655 GB, free: 7.574 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.1458, allocations: 83.77 kB / 0.6551 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002924/0.1488, allocations: 4.307 MB / 0.6593 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1488, allocations: 7.984 kB / 0.6593 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.1507, allocations: 2.145 MB / 0.6614 GB, free: 1.023 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.1537, allocations: 4.056 MB / 0.6654 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004998/0.1542, allocations: 252 kB / 0.6656 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.1548, allocations: 323.9 kB / 0.6659 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.009397/0.1642, allocations: 9.962 MB / 0.6757 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.005753/0.17, allocations: 5.636 MB / 0.6812 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.1803, allocations: 12.42 MB / 0.6933 GB, free: 240 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1804, allocations: 0 / 0.6933 GB, free: 240 kB / 0.5295 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1804, allocations: 0 / 0.6933 GB, free: 240 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0003825/0.1808, allocations: 0 / 0.6933 GB, free: 240 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.02267/0.2035, allocations: 19.56 MB / 0.7124 GB, free: 12.45 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.2035, allocations: 16.03 kB / 0.7124 GB, free: 12.43 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.2065, allocations: 2.202 MB / 0.7146 GB, free: 10.2 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04277/0.2493, allocations: 25.82 MB / 0.7398 GB, free: 188 kB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2493, allocations: 4.375 kB / 0.7398 GB, free: 184 kB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.2495, allocations: 68.36 kB / 0.7398 GB, free: 116 kB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009704/0.2505, allocations: 0.7786 MB / 0.7406 GB, free: 15.33 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2505, allocations: 7.938 kB / 0.7406 GB, free: 15.32 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.2506, allocations: 64 kB / 0.7407 GB, free: 15.26 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2506, allocations: 0 / 0.7407 GB, free: 15.26 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007313/0.2514, allocations: 464 kB / 0.7411 GB, free: 14.8 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.2623, allocations: 7.003 MB / 0.748 GB, free: 7.75 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.2629, allocations: 282.6 kB / 0.7482 GB, free: 7.465 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.2633, allocations: 280.9 kB / 0.7485 GB, free: 7.188 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2634, allocations: 4 kB / 0.7485 GB, free: 7.184 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007343/0.2641, allocations: 0.7111 MB / 0.7492 GB, free: 6.453 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 3.096e-06/0.2641, allocations: 4 kB / 0.7492 GB, free: 6.449 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.005618/0.2698, allocations: 4.228 MB / 0.7533 GB, free: 2.18 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.2698, allocations: 85.11 kB / 0.7534 GB, free: 2.078 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6681/0.938, allocations: 24.83 MB / 0.7777 GB, free: 86.3 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0004034/0.9384, allocations: 88.92 kB / 0.7777 GB, free: 86.27 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01251/0.9509, allocations: 10.83 MB / 0.7883 GB, free: 77.64 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006862/0.9517, allocations: 83.95 kB / 0.7884 GB, free: 77.63 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006556/0.9523, allocations: 457.4 kB / 0.7888 GB, free: 77.62 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.9524, allocations: 316 kB / 0.7891 GB, free: 77.31 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.9528, allocations: 264.1 kB / 0.7894 GB, free: 77.3 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.9533, allocations: 270.4 kB / 0.7896 GB, free: 77.3 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.9543, allocations: 0.588 MB / 0.7902 GB, free: 77.21 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9543, allocations: 0 / 0.7902 GB, free: 77.21 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006416/0.9607, allocations: 3.978 MB / 0.7941 GB, free: 77.12 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.9608, allocations: 34.91 kB / 0.7941 GB, free: 77.09 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.9608, allocations: 0.6094 kB / 0.7941 GB, free: 77.09 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.9609, allocations: 4.75 kB / 0.7941 GB, free: 77.09 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.9609, allocations: 7.484 kB / 0.7941 GB, free: 77.09 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.961, allocations: 0 / 0.7941 GB, free: 77.09 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.9633, allocations: 69.22 kB / 0.7942 GB, free: 77.09 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000703/0.9641, allocations: 0.8628 MB / 0.7951 GB, free: 76.97 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.00732/0.9714, allocations: 4.904 MB / 0.7998 GB, free: 76.34 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003465/0.9749, allocations: 2.268 MB / 0.8021 GB, free: 76.33 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004916/0.9798, allocations: 2.567 MB / 0.8046 GB, free: 75.59 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.9798, allocations: 3.156 kB / 0.8046 GB, free: 75.59 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.9798, allocations: 1.312 kB / 0.8046 GB, free: 75.59 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.9798, allocations: 0 / 0.8046 GB, free: 75.59 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.9902, allocations: 7.619 MB / 0.812 GB, free: 72.23 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9902, allocations: 0 / 0.812 GB, free: 72.23 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.9903, allocations: 3.75 kB / 0.812 GB, free: 72.23 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.9903, allocations: 0 / 0.812 GB, free: 72.23 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005266/0.9909, allocations: 192.5 kB / 0.8122 GB, free: 72.22 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.9909, allocations: 1.688 kB / 0.8122 GB, free: 72.22 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9909, allocations: 0 / 0.8122 GB, free: 72.22 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/0.9962, allocations: 4.164 MB / 0.8163 GB, free: 70.7 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003423/0.9996, allocations: 1.982 MB / 0.8182 GB, free: 69.08 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/1.001, allocations: 78.88 kB / 0.8183 GB, free: 69.01 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.002, allocations: 64.88 kB / 0.8183 GB, free: 68.95 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/1.003, allocations: 3.984 kB / 0.8183 GB, free: 68.94 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004741/1.003, allocations: 0.8594 MB / 0.8192 GB, free: 68.08 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02379/1.027, allocations: 17.24 MB / 0.836 GB, free: 50.99 MB / 0.6079 GB Notification: Performance of sort global known variables: time 5.81e-07/1.027, allocations: 0 / 0.836 GB, free: 50.99 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002908/1.03, allocations: 0.6437 MB / 0.8366 GB, free: 50.35 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.0003227/1.03, allocations: 190.9 kB / 0.8368 GB, free: 50.16 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0009969/1.031, allocations: 0.6856 MB / 0.8375 GB, free: 49.47 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.031, allocations: 0 / 0.8375 GB, free: 49.47 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/1.032, allocations: 425.7 kB / 0.8379 GB, free: 49.04 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005765/1.037, allocations: 1.688 MB / 0.8395 GB, free: 47.35 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04187/1.079, allocations: 34.62 MB / 0.8734 GB, free: 12.95 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01189/1.091, allocations: 8.913 MB / 0.8821 GB, free: 3.996 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.01066/1.102, allocations: 4.704 MB / 0.8866 GB, free: 15.31 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.104, allocations: 0.9838 MB / 0.8876 GB, free: 14.33 MB / 0.6235 GB Notification: Performance of SimCode: time 1.092e-06/1.104, allocations: 0 / 0.8876 GB, free: 14.33 MB / 0.6235 GB Notification: Performance of Templates: time 0.2087/1.313, allocations: 82.69 MB / 0.9684 GB, free: 11.51 MB / 0.7017 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