Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.0009192/0.0009193, allocations: 108.9 kB / 17.01 MB, free: 5.777 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.0008273/0.0008274, allocations: 195.5 kB / 17.95 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3903/0.3903, allocations: 225.7 MB / 244.4 MB, free: 5.762 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5942/0.5942, allocations: 119.5 MB / 414 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 67.89 kB / 0.4946 GB, free: 13.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.433, allocations: 80.68 MB / 0.5733 GB, free: 56.15 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001954/0.435, allocations: 1.411 MB / 0.5747 GB, free: 55.18 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.4358, allocations: 0.5748 MB / 0.5753 GB, free: 54.77 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.4358, allocations: 1.281 kB / 0.5753 GB, free: 54.77 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.437, allocations: 1.717 MB / 0.577 GB, free: 54.46 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.4382, allocations: 1.759 MB / 0.5787 GB, free: 54.14 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.4385, allocations: 82.06 kB / 0.5788 GB, free: 54.1 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.4418, allocations: 4.307 MB / 0.583 GB, free: 53.07 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.4418, allocations: 11.3 kB / 0.583 GB, free: 53.06 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.4437, allocations: 2.141 MB / 0.5851 GB, free: 52.03 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.4464, allocations: 4.057 MB / 0.589 GB, free: 50.47 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.4469, allocations: 252.7 kB / 0.5893 GB, free: 50.47 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.4474, allocations: 331.2 kB / 0.5896 GB, free: 50.43 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.006225/0.4536, allocations: 9.955 MB / 0.5993 GB, free: 41.86 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.4559, allocations: 5.636 MB / 0.6048 GB, free: 36.17 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.004515/0.4605, allocations: 12.41 MB / 0.6169 GB, free: 23.69 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4605, allocations: 0 / 0.6169 GB, free: 23.69 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4605, allocations: 0 / 0.6169 GB, free: 23.69 MB / 478.2 MB Notification: Performance of Transformations before backend: time 0.0001011/0.4606, allocations: 0 / 0.6169 GB, free: 23.69 MB / 478.2 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.01148/0.4721, allocations: 19.57 MB / 0.636 GB, free: 3.898 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.4721, allocations: 12.02 kB / 0.636 GB, free: 3.887 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.4733, allocations: 2.202 MB / 0.6382 GB, free: 1.656 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02933/0.5026, allocations: 25.83 MB / 0.6634 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5027, allocations: 384 / 0.6634 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.5028, allocations: 64.75 kB / 0.6635 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.5035, allocations: 0.786 MB / 0.6643 GB, free: 6.777 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.5036, allocations: 7.984 kB / 0.6643 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.5037, allocations: 64 kB / 0.6643 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.5037, allocations: 0 / 0.6643 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.5042, allocations: 459.9 kB / 0.6648 GB, free: 6.258 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005734/0.5099, allocations: 6.992 MB / 0.6716 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.5103, allocations: 294.6 kB / 0.6719 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.5106, allocations: 276.9 kB / 0.6721 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.5106, allocations: 0 / 0.6721 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006277/0.5113, allocations: 0.7113 MB / 0.6728 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.5113, allocations: 0 / 0.6728 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.003787/0.5151, allocations: 4.243 MB / 0.677 GB, free: 9.629 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.5151, allocations: 77.11 kB / 0.677 GB, free: 9.535 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02225/0.5374, allocations: 24.83 MB / 0.7013 GB, free: 0.9062 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.5376, allocations: 89.7 kB / 0.7014 GB, free: 0.8125 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.007703/0.5453, allocations: 10.82 MB / 0.7119 GB, free: 5.98 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.5455, allocations: 83.8 kB / 0.712 GB, free: 5.898 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.5459, allocations: 461.7 kB / 0.7125 GB, free: 5.441 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.546, allocations: 314 kB / 0.7128 GB, free: 5.129 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.5463, allocations: 264 kB / 0.713 GB, free: 4.871 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.5466, allocations: 268 kB / 0.7133 GB, free: 4.609 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/0.5474, allocations: 0.59 MB / 0.7139 GB, free: 4.004 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5474, allocations: 0 / 0.7139 GB, free: 4.004 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003625/0.551, allocations: 3.978 MB / 0.7177 GB, free: 15.98 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.551, allocations: 33.7 kB / 0.7178 GB, free: 15.95 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5511, allocations: 4 kB / 0.7178 GB, free: 15.94 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5511, allocations: 0 / 0.7178 GB, free: 15.94 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.5511, allocations: 7.938 kB / 0.7178 GB, free: 15.93 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5511, allocations: 7.984 kB / 0.7178 GB, free: 15.93 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.5523, allocations: 67.94 kB / 0.7179 GB, free: 15.86 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005693/0.5529, allocations: 0.8555 MB / 0.7187 GB, free: 15 MB / 0.5608 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.004658/0.5575, allocations: 4.906 MB / 0.7235 GB, free: 10.08 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/0.559, allocations: 2.267 MB / 0.7257 GB, free: 7.781 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.5611, allocations: 2.569 MB / 0.7282 GB, free: 5.203 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5611, allocations: 0 / 0.7282 GB, free: 5.203 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5611, allocations: 0 / 0.7282 GB, free: 5.203 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.5611, allocations: 0 / 0.7282 GB, free: 5.203 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005774/0.5668, allocations: 7.616 MB / 0.7356 GB, free: 13.54 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5669, allocations: 0 / 0.7356 GB, free: 13.54 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.5669, allocations: 3.938 kB / 0.7356 GB, free: 13.54 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5669, allocations: 4 kB / 0.7356 GB, free: 13.53 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.5671, allocations: 193 kB / 0.7358 GB, free: 13.34 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5671, allocations: 7.875 kB / 0.7358 GB, free: 13.34 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5671, allocations: 3.984 kB / 0.7358 GB, free: 13.33 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.5703, allocations: 4.174 MB / 0.7399 GB, free: 9.105 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/0.5723, allocations: 1.983 MB / 0.7419 GB, free: 7.074 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007499/0.5731, allocations: 64 kB / 0.7419 GB, free: 7.012 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5741, allocations: 64 kB / 0.742 GB, free: 6.949 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.5741, allocations: 4 kB / 0.742 GB, free: 6.945 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005724/0.5747, allocations: 0.8594 MB / 0.7428 GB, free: 6.086 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.0167/0.5914, allocations: 17.24 MB / 0.7597 GB, free: 5 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5914, allocations: 4 kB / 0.7597 GB, free: 4.996 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001259/0.5927, allocations: 0.6445 MB / 0.7603 GB, free: 4.352 MB / 0.592 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.0002515/0.593, allocations: 183.6 kB / 0.7605 GB, free: 4.168 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0008987/0.5939, allocations: 0.6871 MB / 0.7611 GB, free: 3.469 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5939, allocations: 0 / 0.7611 GB, free: 3.469 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.5944, allocations: 423.4 kB / 0.7615 GB, free: 3.043 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/0.5976, allocations: 1.701 MB / 0.7632 GB, free: 1.344 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4015/0.9992, allocations: 34.61 MB / 0.797 GB, free: 180.4 MB / 0.6235 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008794/1.008, allocations: 8.912 MB / 0.8057 GB, free: 179.1 MB / 0.6235 GB Notification: Performance of simCode: alias equations: time 0.007049/1.015, allocations: 4.698 MB / 0.8103 GB, free: 177.2 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/1.016, allocations: 0.9877 MB / 0.8113 GB, free: 177.2 MB / 0.6235 GB Notification: Performance of SimCode: time 4.41e-07/1.016, allocations: 0 / 0.8113 GB, free: 177.2 MB / 0.6235 GB Notification: Performance of Templates: time 0.0745/1.09, allocations: 82.78 MB / 0.8921 GB, free: 112.3 MB / 0.6235 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_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","../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches