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.001338/0.001338, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001608/0.001608, allocations: 195 kB / 18 MB, free: 4.965 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.351/1.351, 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 1.076/1.076, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 66.7 kB / 0.5709 GB, free: 39.63 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2039, allocations: 80.69 MB / 0.6497 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002913/0.2068, allocations: 1.406 MB / 0.6511 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.208, allocations: 0.573 MB / 0.6516 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.2081, allocations: 0 / 0.6516 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.2093, allocations: 1.723 MB / 0.6533 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.2107, allocations: 1.754 MB / 0.655 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.2111, allocations: 83.77 kB / 0.6551 GB, free: 7.41 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00314/0.2142, allocations: 4.314 MB / 0.6593 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.2143, allocations: 7.984 kB / 0.6593 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.2163, allocations: 2.137 MB / 0.6614 GB, free: 0.9414 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.2199, allocations: 4.056 MB / 0.6654 GB, free: 12.88 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005078/0.2205, allocations: 252 kB / 0.6656 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.2212, allocations: 331.9 kB / 0.6659 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01242/0.2336, allocations: 9.958 MB / 0.6757 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.244, allocations: 5.64 MB / 0.6812 GB, free: 12.62 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.2613, allocations: 12.53 MB / 0.6934 GB, free: 8 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.2614, allocations: 3.984 kB / 0.6934 GB, free: 4 kB / 0.5295 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2614, allocations: 0 / 0.6934 GB, free: 4 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.00054/0.2619, allocations: 4.109 kB / 0.6934 GB, free: 16 MB / 0.5452 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.0344/0.2963, allocations: 20.42 MB / 0.7134 GB, free: 11.34 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.2964, allocations: 8.031 kB / 0.7134 GB, free: 11.34 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/0.301, allocations: 2.325 MB / 0.7156 GB, free: 8.992 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06377/0.3648, allocations: 26.19 MB / 0.7412 GB, free: 14.64 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3649, allocations: 384 / 0.7412 GB, free: 14.64 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.3653, allocations: 68.38 kB / 0.7413 GB, free: 14.58 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.3666, allocations: 0.7829 MB / 0.7421 GB, free: 13.79 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3666, allocations: 0 / 0.7421 GB, free: 13.79 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.3667, allocations: 67.94 kB / 0.7421 GB, free: 13.72 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3667, allocations: 0 / 0.7421 GB, free: 13.72 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.3674, allocations: 460 kB / 0.7426 GB, free: 13.27 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.3896, allocations: 6.992 MB / 0.7494 GB, free: 6.23 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.3911, allocations: 294.5 kB / 0.7497 GB, free: 5.934 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/0.392, allocations: 284.9 kB / 0.7499 GB, free: 5.652 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.392, allocations: 4 kB / 0.7499 GB, free: 5.648 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009979/0.393, allocations: 0.6996 MB / 0.7506 GB, free: 4.93 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 3.236e-06/0.393, allocations: 0 / 0.7506 GB, free: 4.93 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.007581/0.4006, allocations: 4.366 MB / 0.7549 GB, free: 0.5391 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.4007, allocations: 77.11 kB / 0.755 GB, free: 456 kB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7834/1.184, allocations: 24.83 MB / 0.7792 GB, free: 90.8 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0003756/1.185, allocations: 89.02 kB / 0.7793 GB, free: 90.77 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.0121/1.197, allocations: 10.83 MB / 0.7899 GB, free: 82.14 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/1.197, allocations: 78.7 kB / 0.79 GB, free: 82.14 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000829/1.198, allocations: 460.2 kB / 0.7904 GB, free: 82.12 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/1.198, allocations: 312.3 kB / 0.7907 GB, free: 81.82 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/1.199, allocations: 265 kB / 0.7909 GB, free: 81.81 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/1.199, allocations: 267 kB / 0.7912 GB, free: 81.8 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/1.201, allocations: 0.5889 MB / 0.7918 GB, free: 81.72 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.201, allocations: 0 / 0.7918 GB, free: 81.72 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007239/1.208, allocations: 4.101 MB / 0.7958 GB, free: 81.64 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/1.208, allocations: 41.94 kB / 0.7958 GB, free: 81.6 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.208, allocations: 1.641 kB / 0.7958 GB, free: 81.6 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/1.208, allocations: 3 kB / 0.7958 GB, free: 81.6 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/1.208, allocations: 3.797 kB / 0.7958 GB, free: 81.6 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.208, allocations: 0 / 0.7958 GB, free: 81.6 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/1.211, allocations: 67.08 kB / 0.7959 GB, free: 81.6 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/1.211, allocations: 0.8565 MB / 0.7967 GB, free: 81.48 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.006323/1.218, allocations: 4.909 MB / 0.8015 GB, free: 80.84 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/1.22, allocations: 2.39 MB / 0.8039 GB, free: 80.84 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/1.223, allocations: 2.565 MB / 0.8064 GB, free: 80.11 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.223, allocations: 1.078 kB / 0.8064 GB, free: 80.11 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.223, allocations: 0 / 0.8064 GB, free: 80.11 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.223, allocations: 2 kB / 0.8064 GB, free: 80.11 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/1.229, allocations: 7.614 MB / 0.8138 GB, free: 76.92 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.229, allocations: 0 / 0.8138 GB, free: 76.92 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/1.229, allocations: 10.97 kB / 0.8138 GB, free: 76.92 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/1.229, allocations: 5.062 kB / 0.8138 GB, free: 76.91 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002734/1.23, allocations: 192.4 kB / 0.814 GB, free: 76.91 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.23, allocations: 0 / 0.814 GB, free: 76.91 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.23, allocations: 3.594 kB / 0.814 GB, free: 76.91 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005884/1.235, allocations: 4.285 MB / 0.8182 GB, free: 75.24 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/1.238, allocations: 2.115 MB / 0.8202 GB, free: 73.09 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.239, allocations: 64 kB / 0.8203 GB, free: 73.03 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.24, allocations: 64 kB / 0.8204 GB, free: 72.97 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/1.24, allocations: 11.75 kB / 0.8204 GB, free: 72.96 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005136/1.241, allocations: 0.8581 MB / 0.8212 GB, free: 72.11 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02039/1.261, allocations: 17.24 MB / 0.8381 GB, free: 55.01 MB / 0.6079 GB Notification: Performance of sort global known variables: time 3.31e-07/1.261, allocations: 0 / 0.8381 GB, free: 55.01 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002461/1.264, allocations: 0.6367 MB / 0.8387 GB, free: 54.37 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.0002964/1.264, allocations: 194.9 kB / 0.8389 GB, free: 54.18 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0009496/1.265, allocations: 0.6903 MB / 0.8395 GB, free: 53.48 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.265, allocations: 0 / 0.8395 GB, free: 53.48 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0004804/1.266, allocations: 423.4 kB / 0.8399 GB, free: 53.06 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/1.27, allocations: 1.692 MB / 0.8416 GB, free: 51.36 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03824/1.308, allocations: 35.22 MB / 0.876 GB, free: 16.31 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008766/1.317, allocations: 8.917 MB / 0.8847 GB, free: 7.355 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.009143/1.326, allocations: 4.696 MB / 0.8893 GB, free: 2.668 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009748/1.327, allocations: 0.9877 MB / 0.8902 GB, free: 1.68 MB / 0.6079 GB Notification: Performance of SimCode: time 1.382e-06/1.327, allocations: 0 / 0.8902 GB, free: 1.68 MB / 0.6079 GB Notification: Performance of Templates: time 0.2229/1.55, allocations: 82.69 MB / 0.971 GB, free: 14.85 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