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.001038/0.001038, allocations: 108.6 kB / 17.06 MB, free: 6.004 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.0009547/0.0009546, allocations: 191.8 kB / 18 MB, free: 5.09 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.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8824/0.8824, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 62.84 kB / 0.5709 GB, free: 39.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.139, allocations: 80.7 MB / 0.6497 GB, free: 13.19 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002213/0.1412, allocations: 1.398 MB / 0.6511 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.1421, allocations: 0.5768 MB / 0.6517 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.1422, allocations: 4 kB / 0.6517 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1433, allocations: 1.715 MB / 0.6533 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.1444, allocations: 1.758 MB / 0.655 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1447, allocations: 91.64 kB / 0.6551 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.1474, allocations: 4.31 MB / 0.6593 GB, free: 3.316 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1475, allocations: 4 kB / 0.6594 GB, free: 3.312 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.1492, allocations: 2.141 MB / 0.6614 GB, free: 1.168 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.1521, allocations: 4.056 MB / 0.6654 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.1525, allocations: 252 kB / 0.6656 GB, free: 12.86 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.153, allocations: 331.9 kB / 0.666 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.009399/0.1624, allocations: 9.958 MB / 0.6757 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.005753/0.1682, allocations: 5.632 MB / 0.6812 GB, free: 12.86 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.009798/0.1781, allocations: 12.54 MB / 0.6934 GB, free: 236 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1781, allocations: 0 / 0.6934 GB, free: 236 kB / 0.5295 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1781, allocations: 0 / 0.6934 GB, free: 236 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0002928/0.1784, allocations: 0 / 0.6934 GB, free: 236 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.02165/0.2001, allocations: 20.42 MB / 0.7134 GB, free: 11.58 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2001, allocations: 8.031 kB / 0.7134 GB, free: 11.57 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.2028, allocations: 2.336 MB / 0.7157 GB, free: 9.223 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0457/0.2485, allocations: 26.2 MB / 0.7412 GB, free: 14.87 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2486, allocations: 384 / 0.7412 GB, free: 14.87 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.2488, allocations: 64.38 kB / 0.7413 GB, free: 14.81 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009263/0.2497, allocations: 0.786 MB / 0.7421 GB, free: 14.02 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2497, allocations: 0 / 0.7421 GB, free: 14.02 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.2499, allocations: 64 kB / 0.7421 GB, free: 13.96 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.2499, allocations: 4 kB / 0.7421 GB, free: 13.95 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.2505, allocations: 459.9 kB / 0.7426 GB, free: 13.5 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.2608, allocations: 7 MB / 0.7494 GB, free: 6.453 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.2615, allocations: 286.6 kB / 0.7497 GB, free: 6.164 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/0.262, allocations: 284.9 kB / 0.75 GB, free: 5.883 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.262, allocations: 3.938 kB / 0.75 GB, free: 5.879 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000779/0.2628, allocations: 0.7034 MB / 0.7506 GB, free: 5.156 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.335e-06/0.2628, allocations: 4 kB / 0.7507 GB, free: 5.152 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.005484/0.2683, allocations: 4.355 MB / 0.7549 GB, free: 0.7695 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2684, allocations: 77.11 kB / 0.755 GB, free: 0.6758 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5896/0.858, allocations: 24.84 MB / 0.7792 GB, free: 86.25 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0003578/0.8585, allocations: 90.08 kB / 0.7793 GB, free: 86.22 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.00951/0.868, allocations: 10.82 MB / 0.7899 GB, free: 77.59 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/0.8684, allocations: 79.33 kB / 0.79 GB, free: 77.59 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005345/0.869, allocations: 461.1 kB / 0.7904 GB, free: 77.57 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.869, allocations: 315.6 kB / 0.7907 GB, free: 77.26 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.8695, allocations: 263.2 kB / 0.791 GB, free: 77.26 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.8699, allocations: 265.9 kB / 0.7912 GB, free: 77.25 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008871/0.8708, allocations: 0.5939 MB / 0.7918 GB, free: 77.16 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8708, allocations: 0.5625 kB / 0.7918 GB, free: 77.16 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005918/0.8767, allocations: 4.098 MB / 0.7958 GB, free: 77.08 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.8768, allocations: 37.16 kB / 0.7958 GB, free: 77.05 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8768, allocations: 0 / 0.7958 GB, free: 77.05 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8768, allocations: 2.656 kB / 0.7958 GB, free: 77.05 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.8769, allocations: 6.359 kB / 0.7958 GB, free: 77.05 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8769, allocations: 0.7031 kB / 0.7958 GB, free: 77.05 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.8792, allocations: 69.78 kB / 0.7959 GB, free: 77.05 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005927/0.8798, allocations: 0.8578 MB / 0.7967 GB, free: 76.93 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.005906/0.8857, allocations: 4.907 MB / 0.8015 GB, free: 76.29 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002468/0.8882, allocations: 2.39 MB / 0.8039 GB, free: 76.29 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.8922, allocations: 2.569 MB / 0.8064 GB, free: 75.55 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8923, allocations: 0 / 0.8064 GB, free: 75.55 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8923, allocations: 2.906 kB / 0.8064 GB, free: 75.55 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.8923, allocations: 0 / 0.8064 GB, free: 75.55 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.9066, allocations: 7.619 MB / 0.8138 GB, free: 71.84 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9067, allocations: 0 / 0.8138 GB, free: 71.84 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.9067, allocations: 3.75 kB / 0.8138 GB, free: 71.84 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.9067, allocations: 0 / 0.8138 GB, free: 71.84 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005273/0.9073, allocations: 196.2 kB / 0.814 GB, free: 71.84 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.9073, allocations: 0.875 kB / 0.814 GB, free: 71.84 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9073, allocations: 3.812 kB / 0.814 GB, free: 71.84 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005893/0.9132, allocations: 4.282 MB / 0.8182 GB, free: 68.98 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003534/0.9168, allocations: 2.111 MB / 0.8203 GB, free: 66.84 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/0.9185, allocations: 71.94 kB / 0.8203 GB, free: 66.77 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.9204, allocations: 67.72 kB / 0.8204 GB, free: 66.71 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.9204, allocations: 4 kB / 0.8204 GB, free: 66.7 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004846/0.9209, allocations: 0.8594 MB / 0.8212 GB, free: 65.84 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02429/0.9452, allocations: 17.24 MB / 0.8381 GB, free: 48.75 MB / 0.6079 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9453, allocations: 0 / 0.8381 GB, free: 48.75 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.003098/0.9484, allocations: 0.6386 MB / 0.8387 GB, free: 48.11 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.0004934/0.9489, allocations: 192.9 kB / 0.8389 GB, free: 47.92 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.9502, allocations: 0.6873 MB / 0.8396 GB, free: 47.23 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9503, allocations: 0 / 0.8396 GB, free: 47.23 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.9508, allocations: 424.9 kB / 0.84 GB, free: 46.8 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007194/0.958, allocations: 1.688 MB / 0.8416 GB, free: 45.11 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03475/0.9927, allocations: 35.22 MB / 0.876 GB, free: 10.05 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007593/1, allocations: 8.917 MB / 0.8847 GB, free: 1.098 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.009319/1.01, allocations: 4.694 MB / 0.8893 GB, free: 12.42 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.011, allocations: 0.9877 MB / 0.8903 GB, free: 11.43 MB / 0.6235 GB Notification: Performance of SimCode: time 1.022e-06/1.011, allocations: 4 kB / 0.8903 GB, free: 11.43 MB / 0.6235 GB Notification: Performance of Templates: time 0.2025/1.213, allocations: 82.69 MB / 0.971 GB, free: 8.598 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