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.001513/0.001513, allocations: 112.5 kB / 16.51 MB, free: 6.707 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.001845/0.001845, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.052/1.052, allocations: 119.3 MB / 410.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 0.4903 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5075, allocations: 80.68 MB / 0.569 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002426/0.51, allocations: 1.476 MB / 0.5705 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.5109, allocations: 0.5925 MB / 0.5711 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.511, allocations: 0 / 0.5711 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.5117, allocations: 0.8619 MB / 0.5719 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007563/0.5124, allocations: 0.9054 MB / 0.5728 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.5127, allocations: 56.12 kB / 0.5728 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.5144, allocations: 2.177 MB / 0.575 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.5144, allocations: 3.656 kB / 0.575 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.5161, allocations: 1.09 MB / 0.576 GB, free: 38.84 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.5186, allocations: 1.92 MB / 0.5779 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.5189, allocations: 126.9 kB / 0.578 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.5193, allocations: 196.3 kB / 0.5782 GB, free: 38.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.004563/0.5239, allocations: 4.983 MB / 0.5831 GB, free: 35.52 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.5259, allocations: 2.831 MB / 0.5858 GB, free: 32.66 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.5292, allocations: 6.007 MB / 0.5917 GB, free: 26.62 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5292, allocations: 0 / 0.5917 GB, free: 26.62 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5292, allocations: 0 / 0.5917 GB, free: 26.62 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001139/0.5293, allocations: 0 / 0.5917 GB, free: 26.62 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.007347/0.5367, allocations: 9.963 MB / 0.6014 GB, free: 16.52 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5367, allocations: 16.02 kB / 0.6015 GB, free: 16.51 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007819/0.5375, allocations: 1.1 MB / 0.6025 GB, free: 15.39 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.5525, allocations: 12.95 MB / 0.6152 GB, free: 2.316 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.5526, allocations: 4.375 kB / 0.6152 GB, free: 2.312 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.5527, allocations: 32.38 kB / 0.6152 GB, free: 2.281 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.5531, allocations: 425.6 kB / 0.6156 GB, free: 1.859 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5532, allocations: 0 / 0.6156 GB, free: 1.859 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.5533, allocations: 36 kB / 0.6157 GB, free: 1.824 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.5533, allocations: 7.938 kB / 0.6157 GB, free: 1.816 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.5536, allocations: 239.9 kB / 0.6159 GB, free: 1.582 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.5577, allocations: 3.576 MB / 0.6194 GB, free: 13.96 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.558, allocations: 158.6 kB / 0.6195 GB, free: 13.8 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.5583, allocations: 156.9 kB / 0.6197 GB, free: 13.64 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.5583, allocations: 4 kB / 0.6197 GB, free: 13.64 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.5588, allocations: 416.6 kB / 0.6201 GB, free: 13.21 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 4.308e-06/0.5589, allocations: 3.984 kB / 0.6201 GB, free: 13.21 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002867/0.5617, allocations: 2.18 MB / 0.6222 GB, free: 11 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.5618, allocations: 85.11 kB / 0.6223 GB, free: 10.9 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01609/0.5779, allocations: 12.46 MB / 0.6345 GB, free: 14.53 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.5781, allocations: 57.7 kB / 0.6345 GB, free: 14.47 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004729/0.5828, allocations: 5.208 MB / 0.6396 GB, free: 9.258 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.5832, allocations: 51.72 kB / 0.6397 GB, free: 9.207 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.5835, allocations: 245.7 kB / 0.6399 GB, free: 8.961 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.5837, allocations: 306 kB / 0.6402 GB, free: 8.656 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.5839, allocations: 144 kB / 0.6403 GB, free: 8.516 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.5841, allocations: 143.9 kB / 0.6405 GB, free: 8.375 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.5847, allocations: 352.2 kB / 0.6408 GB, free: 8.016 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5847, allocations: 0 / 0.6408 GB, free: 8.016 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002782/0.5875, allocations: 2.055 MB / 0.6428 GB, free: 5.934 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.5875, allocations: 40.2 kB / 0.6428 GB, free: 5.891 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5875, allocations: 0 / 0.6428 GB, free: 5.891 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5875, allocations: 0 / 0.6428 GB, free: 5.891 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.5876, allocations: 8 kB / 0.6429 GB, free: 5.883 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5876, allocations: 4.094 kB / 0.6429 GB, free: 5.879 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/0.5886, allocations: 43.92 kB / 0.6429 GB, free: 5.836 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003647/0.589, allocations: 436 kB / 0.6433 GB, free: 5.41 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.003323/0.5923, allocations: 2.529 MB / 0.6458 GB, free: 2.863 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/0.5936, allocations: 1.141 MB / 0.6469 GB, free: 1.707 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.5953, allocations: 1.284 MB / 0.6482 GB, free: 424 kB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5953, allocations: 3.938 kB / 0.6482 GB, free: 420 kB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5953, allocations: 4 kB / 0.6482 GB, free: 416 kB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5953, allocations: 0 / 0.6482 GB, free: 416 kB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.5991, allocations: 3.88 MB / 0.652 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5992, allocations: 4 kB / 0.652 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.5992, allocations: 7.922 kB / 0.652 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.5992, allocations: 0 / 0.652 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.5994, allocations: 100 kB / 0.6521 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5994, allocations: 0 / 0.6521 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5994, allocations: 0 / 0.6521 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.6016, allocations: 2.17 MB / 0.6542 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.6029, allocations: 1.033 MB / 0.6552 GB, free: 9.098 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/0.6034, allocations: 40 kB / 0.6552 GB, free: 9.059 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.6041, allocations: 32 kB / 0.6553 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.6041, allocations: 7.984 kB / 0.6553 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/0.6045, allocations: 440 kB / 0.6557 GB, free: 8.59 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01141/0.6159, allocations: 8.567 MB / 0.664 GB, free: 104 kB / 0.4983 GB Notification: Performance of sort global known variables: time 6.72e-07/0.6159, allocations: 0 / 0.664 GB, free: 104 kB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001391/0.6173, allocations: 344 kB / 0.6644 GB, free: 15.76 MB / 0.5139 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.0002744/0.6176, allocations: 167.1 kB / 0.6645 GB, free: 15.59 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0006733/0.6183, allocations: 419.3 kB / 0.6649 GB, free: 15.17 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6183, allocations: 0 / 0.6649 GB, free: 15.17 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.6187, allocations: 267.4 kB / 0.6652 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.6211, allocations: 0.8553 MB / 0.666 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/0.6463, allocations: 19.21 MB / 0.6848 GB, free: 10.79 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005026/0.6514, allocations: 4.789 MB / 0.6895 GB, free: 5.977 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.006135/0.6576, allocations: 2.321 MB / 0.6917 GB, free: 3.645 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.6582, allocations: 0.4995 MB / 0.6922 GB, free: 3.145 MB / 0.5295 GB Notification: Performance of SimCode: time 9.12e-07/0.6582, allocations: 4 kB / 0.6922 GB, free: 3.141 MB / 0.5295 GB Notification: Performance of Templates: time 0.1031/0.7613, allocations: 40.39 MB / 0.7317 GB, free: 10.64 MB / 0.5764 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/jenkins/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