Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001293/0.001293, allocations: 197.9 kB / 17.55 MB, free: 5.949 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.401/1.401, allocations: 222.9 MB / 241.2 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.163/1.163, allocations: 119.3 MB / 410.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 55.91 kB / 0.4904 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6655/0.6667, allocations: 80.67 MB / 0.5692 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002725/0.6695, allocations: 1.487 MB / 0.5707 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.6704, allocations: 0.567 MB / 0.5712 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.6705, allocations: 1.219 kB / 0.5712 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.671, allocations: 444.1 kB / 0.5717 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.6716, allocations: 482.3 kB / 0.5721 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.6719, allocations: 77.33 kB / 0.5722 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009684/0.6729, allocations: 1.126 MB / 0.5733 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.6729, allocations: 3.219 kB / 0.5733 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.6735, allocations: 0.5623 MB / 0.5738 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009976/0.6745, allocations: 1.037 MB / 0.5749 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.6746, allocations: 65.94 kB / 0.5749 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.6749, allocations: 138.5 kB / 0.5751 GB, free: 39.5 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002315/0.6772, allocations: 2.497 MB / 0.5775 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.6784, allocations: 1.428 MB / 0.5789 GB, free: 37.06 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.6812, allocations: 3.102 MB / 0.5819 GB, free: 35.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.6813, allocations: 0 / 0.5819 GB, free: 35.1 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.687e-06/0.6813, allocations: 0 / 0.5819 GB, free: 35.1 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001207/0.6814, allocations: 5.219 kB / 0.5819 GB, free: 35.09 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.007349/0.6888, allocations: 5.168 MB / 0.587 GB, free: 31.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6888, allocations: 9.156 kB / 0.587 GB, free: 31.16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.6899, allocations: 0.557 MB / 0.5875 GB, free: 30.84 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.7002, allocations: 6.526 MB / 0.5939 GB, free: 24.38 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.7003, allocations: 384 / 0.5939 GB, free: 24.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.7004, allocations: 24.38 kB / 0.5939 GB, free: 24.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.7009, allocations: 241.8 kB / 0.5941 GB, free: 24.12 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7009, allocations: 0 / 0.5941 GB, free: 24.12 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.701, allocations: 20 kB / 0.5942 GB, free: 24.1 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.701, allocations: 0 / 0.5942 GB, free: 24.1 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.7012, allocations: 132 kB / 0.5943 GB, free: 23.97 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.7039, allocations: 1.858 MB / 0.5961 GB, free: 22.06 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.7041, allocations: 106.6 kB / 0.5962 GB, free: 21.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.7043, allocations: 88.86 kB / 0.5963 GB, free: 21.86 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.7044, allocations: 3.938 kB / 0.5963 GB, free: 21.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003605/0.7047, allocations: 264.8 kB / 0.5965 GB, free: 21.58 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.7047, allocations: 0 / 0.5965 GB, free: 21.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001392/0.7061, allocations: 1.16 MB / 0.5977 GB, free: 20.4 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7062, allocations: 81.11 kB / 0.5978 GB, free: 20.3 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006/0.7122, allocations: 6.279 MB / 0.6039 GB, free: 14.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.272e-05/0.7123, allocations: 45.7 kB / 0.6039 GB, free: 14.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.7139, allocations: 2.52 MB / 0.6064 GB, free: 11.49 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.714, allocations: 35.69 kB / 0.6064 GB, free: 11.46 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.7142, allocations: 133.7 kB / 0.6066 GB, free: 11.32 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.7142, allocations: 314 kB / 0.6069 GB, free: 11.01 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.7144, allocations: 75.94 kB / 0.6069 GB, free: 10.93 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.7145, allocations: 83.98 kB / 0.607 GB, free: 10.85 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.7147, allocations: 224.2 kB / 0.6072 GB, free: 10.62 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7148, allocations: 0 / 0.6072 GB, free: 10.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001207/0.716, allocations: 1.093 MB / 0.6083 GB, free: 9.504 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.716, allocations: 38.47 kB / 0.6083 GB, free: 9.461 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.716, allocations: 0 / 0.6083 GB, free: 9.461 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.7161, allocations: 4 kB / 0.6083 GB, free: 9.457 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.7162, allocations: 8 kB / 0.6083 GB, free: 9.449 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.7162, allocations: 4 kB / 0.6083 GB, free: 9.445 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.7168, allocations: 16 kB / 0.6084 GB, free: 9.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.7169, allocations: 224 kB / 0.6086 GB, free: 9.211 MB / 462.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.001962/0.7189, allocations: 1.339 MB / 0.6099 GB, free: 7.855 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004633/0.7194, allocations: 0.5824 MB / 0.6104 GB, free: 7.266 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.7201, allocations: 0.648 MB / 0.6111 GB, free: 6.609 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.7201, allocations: 4 kB / 0.6111 GB, free: 6.605 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7201, allocations: 0 / 0.6111 GB, free: 6.605 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7201, allocations: 3.984 kB / 0.6111 GB, free: 6.602 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.7215, allocations: 2.018 MB / 0.6131 GB, free: 4.535 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7215, allocations: 0 / 0.6131 GB, free: 4.535 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-05/0.7215, allocations: 7.938 kB / 0.6131 GB, free: 4.527 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.7215, allocations: 0 / 0.6131 GB, free: 4.527 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.7216, allocations: 48 kB / 0.6131 GB, free: 4.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.7216, allocations: 7.938 kB / 0.6131 GB, free: 4.473 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7216, allocations: 0 / 0.6131 GB, free: 4.473 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.7226, allocations: 1.172 MB / 0.6143 GB, free: 3.27 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.7231, allocations: 0.56 MB / 0.6148 GB, free: 2.684 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.7234, allocations: 27.98 kB / 0.6148 GB, free: 2.656 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.7237, allocations: 16 kB / 0.6149 GB, free: 2.641 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.7238, allocations: 4 kB / 0.6149 GB, free: 2.637 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.7239, allocations: 220 kB / 0.6151 GB, free: 2.422 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005439/0.7293, allocations: 4.324 MB / 0.6193 GB, free: 14.14 MB / 478.3 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7294, allocations: 0 / 0.6193 GB, free: 14.14 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.000831/0.7302, allocations: 200 kB / 0.6195 GB, free: 13.94 MB / 478.3 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.0002513/0.7305, allocations: 139.1 kB / 0.6196 GB, free: 13.8 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.731, allocations: 287.3 kB / 0.6199 GB, free: 13.5 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.731, allocations: 0 / 0.6199 GB, free: 13.5 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.7312, allocations: 183.4 kB / 0.6201 GB, free: 13.31 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.7326, allocations: 441.2 kB / 0.6205 GB, free: 12.88 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.7472, allocations: 9.489 MB / 0.6297 GB, free: 3.359 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.75, allocations: 2.724 MB / 0.6324 GB, free: 0.6094 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003287/0.7533, allocations: 1.184 MB / 0.6336 GB, free: 15.41 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.7536, allocations: 259.4 kB / 0.6338 GB, free: 15.16 MB / 494.3 MB Notification: Performance of SimCode: time 1.383e-06/0.7536, allocations: 4 kB / 0.6338 GB, free: 15.16 MB / 494.3 MB Notification: Performance of Templates: time 0.05401/0.8076, allocations: 20.68 MB / 0.654 GB, free: 10.36 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches