Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 82.58 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 167.2 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.058/1.058, allocations: 88.08 MB / 348.7 MB, free: 1.777 MB / 318.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5235 GB, free: 8.332 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.492e-05, allocations: 3.125 kB / 0.5235 GB, free: 8.328 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003027/0.003062, allocations: 1.433 MB / 0.5249 GB, free: 7.203 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.004175, allocations: 0.5507 MB / 0.5254 GB, free: 6.785 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.004234, allocations: 1.469 kB / 0.5254 GB, free: 6.785 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.004709, allocations: 444.3 kB / 0.5258 GB, free: 6.566 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0006524/0.005362, allocations: 0.4901 MB / 0.5263 GB, free: 6.309 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.00567, allocations: 84.25 kB / 0.5264 GB, free: 6.254 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.006694, allocations: 1.118 MB / 0.5275 GB, free: 5.711 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.006738, allocations: 6.516 kB / 0.5275 GB, free: 5.707 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007045/0.007442, allocations: 0.6386 MB / 0.5281 GB, free: 5.363 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.00846, allocations: 1.153 MB / 0.5292 GB, free: 4.875 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.00862, allocations: 65.16 kB / 0.5293 GB, free: 4.875 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.008882, allocations: 130.6 kB / 0.5294 GB, free: 4.828 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.002102/0.01098, allocations: 2.634 MB / 0.532 GB, free: 2.188 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.0115, allocations: 0.6097 MB / 0.5326 GB, free: 1.574 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.01365, allocations: 2.845 MB / 0.5354 GB, free: 14.71 MB / 462.2 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01365, allocations: 0 / 0.5354 GB, free: 14.71 MB / 462.2 MB Notification: Performance of FrontEnd: time 1.783e-06/0.01366, allocations: 3.938 kB / 0.5354 GB, free: 14.71 MB / 462.2 MB Notification: Performance of Transformations before backend: time 4.035e-05/0.0137, allocations: 4 kB / 0.5354 GB, free: 14.71 MB / 462.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.006599/0.0203, allocations: 5.25 MB / 0.5405 GB, free: 9.379 MB / 462.2 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.02036, allocations: 8.031 kB / 0.5405 GB, free: 9.371 MB / 462.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007699/0.02113, allocations: 0.5867 MB / 0.5411 GB, free: 8.777 MB / 462.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.03193, allocations: 6.317 MB / 0.5473 GB, free: 2.355 MB / 462.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.03194, allocations: 8.312 kB / 0.5473 GB, free: 2.348 MB / 462.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.032, allocations: 16.38 kB / 0.5473 GB, free: 2.332 MB / 462.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.03242, allocations: 279.7 kB / 0.5475 GB, free: 2.047 MB / 462.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.03243, allocations: 192 / 0.5475 GB, free: 2.047 MB / 462.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.03248, allocations: 16.38 kB / 0.5476 GB, free: 2.031 MB / 462.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.03248, allocations: 7.938 kB / 0.5476 GB, free: 2.023 MB / 462.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.03271, allocations: 157.7 kB / 0.5477 GB, free: 1.863 MB / 462.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.03496, allocations: 1.775 MB / 0.5495 GB, free: 60 kB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.03521, allocations: 124.3 kB / 0.5496 GB, free: 15.92 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.03539, allocations: 114.5 kB / 0.5497 GB, free: 15.8 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.0354, allocations: 0 / 0.5497 GB, free: 15.8 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/0.03579, allocations: 286.8 kB / 0.55 GB, free: 15.5 MB / 478.2 MB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.0358, allocations: 0 / 0.55 GB, free: 15.5 MB / 478.2 MB Notification: Performance of matching and sorting (n=8): time 0.001824/0.03762, allocations: 1.264 MB / 0.5512 GB, free: 14.2 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.03769, allocations: 85.05 kB / 0.5513 GB, free: 14.1 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008323/0.04601, allocations: 6.279 MB / 0.5574 GB, free: 7.867 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 9.82e-05/0.04611, allocations: 41.7 kB / 0.5574 GB, free: 7.82 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002559/0.04867, allocations: 2.52 MB / 0.5599 GB, free: 5.297 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.04878, allocations: 35.84 kB / 0.5599 GB, free: 5.262 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.04897, allocations: 129.7 kB / 0.5601 GB, free: 5.129 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.04912, allocations: 318 kB / 0.5604 GB, free: 4.812 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.04929, allocations: 109.7 kB / 0.5605 GB, free: 4.699 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.04945, allocations: 109.7 kB / 0.5606 GB, free: 4.586 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.04981, allocations: 232.3 kB / 0.5608 GB, free: 4.344 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.04981, allocations: 3.938 kB / 0.5608 GB, free: 4.34 MB / 478.2 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001735/0.05155, allocations: 1.153 MB / 0.5619 GB, free: 3.164 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.05161, allocations: 41.69 kB / 0.562 GB, free: 3.117 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.05162, allocations: 0 / 0.562 GB, free: 3.117 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.05164, allocations: 144 / 0.562 GB, free: 3.117 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.05174, allocations: 7.938 kB / 0.562 GB, free: 3.109 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.05175, allocations: 4 kB / 0.562 GB, free: 3.105 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.05223, allocations: 31.83 kB / 0.562 GB, free: 3.074 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.05246, allocations: 228 kB / 0.5622 GB, free: 2.852 MB / 478.2 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.001889/0.05435, allocations: 1.342 MB / 0.5635 GB, free: 1.492 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006132/0.05496, allocations: 0.6015 MB / 0.5641 GB, free: 0.8867 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.05575, allocations: 0.6442 MB / 0.5648 GB, free: 248 kB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.05576, allocations: 4 kB / 0.5648 GB, free: 244 kB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.05576, allocations: 3.938 kB / 0.5648 GB, free: 240 kB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.05577, allocations: 0 / 0.5648 GB, free: 240 kB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.0578, allocations: 1.935 MB / 0.5667 GB, free: 14.27 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.0578, allocations: 0 / 0.5667 GB, free: 14.27 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.05784, allocations: 7.984 kB / 0.5667 GB, free: 14.26 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.05785, allocations: 0 / 0.5667 GB, free: 14.26 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.05792, allocations: 48 kB / 0.5667 GB, free: 14.21 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.05792, allocations: 0 / 0.5667 GB, free: 14.21 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.05793, allocations: 4 kB / 0.5667 GB, free: 14.21 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.05945, allocations: 1.235 MB / 0.5679 GB, free: 12.94 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007863/0.06023, allocations: 0.5155 MB / 0.5684 GB, free: 12.42 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.06049, allocations: 23.98 kB / 0.5684 GB, free: 12.4 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.06082, allocations: 20 kB / 0.5685 GB, free: 12.38 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.06087, allocations: 7.875 kB / 0.5685 GB, free: 12.37 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/0.06107, allocations: 224 kB / 0.5687 GB, free: 12.15 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.006022/0.06709, allocations: 4.324 MB / 0.5729 GB, free: 7.867 MB / 494.2 MB Notification: Performance of sort global known variables: time 8e-08/0.06709, allocations: 0 / 0.5729 GB, free: 7.867 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.0007179/0.06781, allocations: 195.9 kB / 0.5731 GB, free: 7.676 MB / 494.2 MB 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.0002793/0.06809, allocations: 135.2 kB / 0.5732 GB, free: 7.531 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.06862, allocations: 318.8 kB / 0.5735 GB, free: 7.195 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.06862, allocations: 0 / 0.5735 GB, free: 7.195 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.06887, allocations: 189.1 kB / 0.5737 GB, free: 6.992 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.07015, allocations: 462.8 kB / 0.5741 GB, free: 6.543 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.08267, allocations: 8.558 MB / 0.5825 GB, free: 13.93 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/0.08533, allocations: 2.193 MB / 0.5846 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.002629/0.08795, allocations: 1.145 MB / 0.5858 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.08829, allocations: 256.5 kB / 0.586 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of SimCode: time 2.475e-06/0.08829, allocations: 0 / 0.586 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of Templates: time 0.05482/0.1431, allocations: 20.51 MB / 0.606 GB, free: 5.691 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.641844179481268]