Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008736/0.0008731, allocations: 92.39 kB / 17.31 MB, free: 6.535 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.0009911/0.0009908, allocations: 178.3 kB / 18.21 MB, free: 5.68 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.368/1.368, allocations: 223.3 MB / 242.3 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.096/1.096, allocations: 120.5 MB / 413.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003317, allocations: 8 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.616, allocations: 82.84 MB / 0.5764 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.001745/0.6178, allocations: 1.294 MB / 0.5777 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.6192, allocations: 0.8647 MB / 0.5785 GB, free: 40.28 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.6193, allocations: 0 / 0.5785 GB, free: 40.28 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.6207, allocations: 1.749 MB / 0.5802 GB, free: 39.4 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0009341/0.6217, allocations: 0.9387 MB / 0.5812 GB, free: 38.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.622, allocations: 83.41 kB / 0.5812 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00211/0.6241, allocations: 2.223 MB / 0.5834 GB, free: 37.78 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.716e-05/0.6242, allocations: 9.391 kB / 0.5834 GB, free: 37.77 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.6262, allocations: 1.102 MB / 0.5845 GB, free: 37.24 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.6285, allocations: 1.93 MB / 0.5864 GB, free: 36.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.6288, allocations: 128 kB / 0.5865 GB, free: 35.97 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.6291, allocations: 156 kB / 0.5867 GB, free: 35.82 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003104/0.6322, allocations: 4.991 MB / 0.5915 GB, free: 30.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.6346, allocations: 2.856 MB / 0.5943 GB, free: 27.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.6376, allocations: 4.558 MB / 0.5988 GB, free: 23.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6376, allocations: 0 / 0.5988 GB, free: 23.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6376, allocations: 0 / 0.5988 GB, free: 23.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001362/0.6378, allocations: 0 / 0.5988 GB, free: 23.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008819/0.6466, allocations: 8.812 MB / 0.6074 GB, free: 14.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.6467, allocations: 8.031 kB / 0.6074 GB, free: 14.42 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.6484, allocations: 1.107 MB / 0.6085 GB, free: 13.3 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02071/0.6692, allocations: 12.98 MB / 0.6211 GB, free: 204 kB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.6692, allocations: 384 / 0.6211 GB, free: 204 kB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.6693, allocations: 8.125 kB / 0.6211 GB, free: 196 kB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.6694, allocations: 53.67 kB / 0.6212 GB, free: 136 kB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.6695, allocations: 0 / 0.6212 GB, free: 136 kB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6695, allocations: 0 / 0.6212 GB, free: 136 kB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6695, allocations: 0 / 0.6212 GB, free: 136 kB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/0.6696, allocations: 23.88 kB / 0.6212 GB, free: 112 kB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.6756, allocations: 3.553 MB / 0.6247 GB, free: 12.51 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.6759, allocations: 50.62 kB / 0.6247 GB, free: 12.45 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.676, allocations: 24.78 kB / 0.6248 GB, free: 12.43 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.676, allocations: 0 / 0.6248 GB, free: 12.43 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.6762, allocations: 71.39 kB / 0.6248 GB, free: 12.34 MB / 478.3 MB Notification: Performance of pre-optimization done (n=5): time 3.927e-06/0.6763, allocations: 3.984 kB / 0.6248 GB, free: 12.34 MB / 478.3 MB Notification: Performance of matching and sorting (n=5): time 0.002071/0.6783, allocations: 1.221 MB / 0.626 GB, free: 11.1 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.6784, allocations: 51.41 kB / 0.6261 GB, free: 11.04 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02032/0.6987, allocations: 12.75 MB / 0.6385 GB, free: 14.38 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.6988, allocations: 29.7 kB / 0.6385 GB, free: 14.35 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005933/0.7047, allocations: 5.474 MB / 0.6439 GB, free: 8.871 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/0.7049, allocations: 19.8 kB / 0.6439 GB, free: 8.852 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.7049, allocations: 13.72 kB / 0.6439 GB, free: 8.832 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.705, allocations: 306 kB / 0.6442 GB, free: 8.527 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.7051, allocations: 15.98 kB / 0.6442 GB, free: 8.512 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.7052, allocations: 25.72 kB / 0.6443 GB, free: 8.48 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.7053, allocations: 49.64 kB / 0.6443 GB, free: 8.426 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7053, allocations: 4 kB / 0.6443 GB, free: 8.422 MB / 494.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00218/0.7075, allocations: 1.209 MB / 0.6455 GB, free: 7.191 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.7076, allocations: 4 kB / 0.6455 GB, free: 7.188 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7076, allocations: 0 / 0.6455 GB, free: 7.188 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.7076, allocations: 7.984 kB / 0.6455 GB, free: 7.18 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.7077, allocations: 8 kB / 0.6455 GB, free: 7.172 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7077, allocations: 160 / 0.6455 GB, free: 7.172 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.7092, allocations: 36 kB / 0.6455 GB, free: 7.137 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.7092, allocations: 3.984 kB / 0.6455 GB, free: 7.133 MB / 494.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.003802/0.713, allocations: 2.451 MB / 0.6479 GB, free: 4.672 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00177/0.7148, allocations: 1.173 MB / 0.6491 GB, free: 3.484 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.7174, allocations: 1.285 MB / 0.6503 GB, free: 2.195 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.7174, allocations: 0 / 0.6503 GB, free: 2.195 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.7174, allocations: 4.297 kB / 0.6503 GB, free: 2.191 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7174, allocations: 4 kB / 0.6503 GB, free: 2.188 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/0.7229, allocations: 3.901 MB / 0.6542 GB, free: 14.24 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7229, allocations: 0 / 0.6542 GB, free: 14.24 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.723, allocations: 3.938 kB / 0.6542 GB, free: 14.24 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.723, allocations: 11.94 kB / 0.6542 GB, free: 14.23 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.723, allocations: 0 / 0.6542 GB, free: 14.23 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.723, allocations: 0 / 0.6542 GB, free: 14.23 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.723, allocations: 0 / 0.6542 GB, free: 14.23 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.7249, allocations: 1.336 MB / 0.6555 GB, free: 12.86 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/0.7264, allocations: 1.037 MB / 0.6565 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005351/0.727, allocations: 32 kB / 0.6565 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.7276, allocations: 39.98 kB / 0.6566 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.7276, allocations: 8 kB / 0.6566 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.7277, allocations: 0 / 0.6566 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01409/0.7418, allocations: 8.76 MB / 0.6651 GB, free: 3.031 MB / 0.4983 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7418, allocations: 0 / 0.6651 GB, free: 3.031 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001877/0.7437, allocations: 336 kB / 0.6654 GB, free: 2.703 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001055/0.7448, allocations: 402.4 kB / 0.6658 GB, free: 2.457 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.745, allocations: 43.92 kB / 0.6659 GB, free: 2.414 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.745, allocations: 0 / 0.6659 GB, free: 2.414 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/0.7451, allocations: 23.98 kB / 0.6659 GB, free: 2.391 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.7481, allocations: 0.8694 MB / 0.6667 GB, free: 1.52 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02956/0.7777, allocations: 19.7 MB / 0.686 GB, free: 13.77 MB / 0.5296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005709/0.7834, allocations: 4.805 MB / 0.6907 GB, free: 8.934 MB / 0.5296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/0.7858, allocations: 1.112 MB / 0.6918 GB, free: 7.82 MB / 0.5296 GB Notification: Performance of SimCode: time 1.423e-06/0.7859, allocations: 0 / 0.6918 GB, free: 7.82 MB / 0.5296 GB Notification: Performance of Templates: time 1.699/2.485, allocations: 455.1 MB / 1.136 GB, free: 121.7 MB / 0.6704 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches