Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 112.9 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 181.4 kB / 23.71 MB, free: 4.699 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.123/1.123, allocations: 120.6 MB / 428.3 MB, free: 5.547 MB / 334.1 MB
"
[Timeout remaining time 179]
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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable")
translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 59.89 kB / 0.5989 GB, free: 16.84 MB / 446.3 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2172, allocations: 84.71 MB / 0.6816 GB, free: 11.93 MB / 0.5139 GB
Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.00339/0.2206, allocations: 1.395 MB / 0.683 GB, free: 10.52 MB / 0.5139 GB
Notification: Performance of NFInst.instExpressions: time 0.00133/0.2219, allocations: 0.5882 MB / 0.6836 GB, free: 9.93 MB / 0.5139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.222, allocations: 3.938 kB / 0.6836 GB, free: 9.926 MB / 0.5139 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.2222, allocations: 19.91 kB / 0.6836 GB, free: 9.906 MB / 0.5139 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.2225, allocations: 67.8 kB / 0.6836 GB, free: 9.84 MB / 0.5139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.2229, allocations: 82.91 kB / 0.6837 GB, free: 9.762 MB / 0.5139 GB
Notification: Performance of NFFlatten.flatten: time 0.0001994/0.2231, allocations: 79.88 kB / 0.6838 GB, free: 9.684 MB / 0.5139 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.2232, allocations: 7.984 kB / 0.6838 GB, free: 9.676 MB / 0.5139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.2233, allocations: 47.84 kB / 0.6839 GB, free: 9.629 MB / 0.5139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2235, allocations: 63.69 kB / 0.6839 GB, free: 9.566 MB / 0.5139 GB
Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.2235, allocations: 4 kB / 0.6839 GB, free: 9.562 MB / 0.5139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.2237, allocations: 83.92 kB / 0.684 GB, free: 9.48 MB / 0.5139 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.2239, allocations: 55.88 kB / 0.6841 GB, free: 9.426 MB / 0.5139 GB
Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.224, allocations: 55.61 kB / 0.6841 GB, free: 9.371 MB / 0.5139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.2243, allocations: 155.2 kB / 0.6843 GB, free: 9.219 MB / 0.5139 GB
Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2243, allocations: 0 / 0.6843 GB, free: 9.219 MB / 0.5139 GB
Notification: Performance of FrontEnd: time 1.663e-06/0.2243, allocations: 0 / 0.6843 GB, free: 9.219 MB / 0.5139 GB
Notification: Performance of Transformations before backend: time 9.768e-06/0.2243, allocations: 0 / 0.6843 GB, free: 9.219 MB / 0.5139 GB
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.0008034/0.2251, allocations: 403 kB / 0.6846 GB, free: 8.789 MB / 0.5139 GB
Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2252, allocations: 12.03 kB / 0.6846 GB, free: 8.777 MB / 0.5139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.2253, allocations: 20.84 kB / 0.6847 GB, free: 8.758 MB / 0.5139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.2259, allocations: 261.4 kB / 0.6849 GB, free: 8.473 MB / 0.5139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.2259, allocations: 4.375 kB / 0.6849 GB, free: 8.469 MB / 0.5139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2259, allocations: 4.375 kB / 0.6849 GB, free: 8.465 MB / 0.5139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2261, allocations: 57.98 kB / 0.685 GB, free: 8.402 MB / 0.5139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2261, allocations: 0 / 0.685 GB, free: 8.402 MB / 0.5139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2261, allocations: 4 kB / 0.685 GB, free: 8.398 MB / 0.5139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2261, allocations: 0 / 0.685 GB, free: 8.398 MB / 0.5139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.2262, allocations: 19.98 kB / 0.685 GB, free: 8.379 MB / 0.5139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.2264, allocations: 172.7 kB / 0.6852 GB, free: 8.168 MB / 0.5139 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.16e-05/0.2265, allocations: 34.52 kB / 0.6852 GB, free: 8.125 MB / 0.5139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.2266, allocations: 20.89 kB / 0.6852 GB, free: 8.102 MB / 0.5139 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.2266, allocations: 7.984 kB / 0.6852 GB, free: 8.094 MB / 0.5139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.2267, allocations: 101 kB / 0.6853 GB, free: 7.977 MB / 0.5139 GB
Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.2267, allocations: 3.938 kB / 0.6853 GB, free: 7.973 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=8): time 0.0003747/0.2271, allocations: 175.3 kB / 0.6855 GB, free: 7.789 MB / 0.5139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.2272, allocations: 85.11 kB / 0.6856 GB, free: 7.688 MB / 0.5139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.2274, allocations: 232.1 kB / 0.6858 GB, free: 7.453 MB / 0.5139 GB
Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2274, allocations: 29.69 kB / 0.6858 GB, free: 7.418 MB / 0.5139 GB
Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.2275, allocations: 120.1 kB / 0.6859 GB, free: 7.297 MB / 0.5139 GB
Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.2276, allocations: 15.84 kB / 0.686 GB, free: 7.281 MB / 0.5139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.2276, allocations: 25.67 kB / 0.686 GB, free: 7.25 MB / 0.5139 GB
Notification: Performance of setup shared object (initialization): time 0.0001554/0.2278, allocations: 334.8 kB / 0.6863 GB, free: 6.914 MB / 0.5139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.2278, allocations: 16 kB / 0.6863 GB, free: 6.898 MB / 0.5139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.2279, allocations: 19.98 kB / 0.6863 GB, free: 6.879 MB / 0.5139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.228, allocations: 120.2 kB / 0.6865 GB, free: 6.746 MB / 0.5139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.228, allocations: 0 / 0.6865 GB, free: 6.746 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002117/0.2282, allocations: 147.2 kB / 0.6866 GB, free: 6.59 MB / 0.5139 GB
Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.2283, allocations: 33.69 kB / 0.6866 GB, free: 6.551 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.2283, allocations: 0 / 0.6866 GB, free: 6.551 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2283, allocations: 4 kB / 0.6866 GB, free: 6.547 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.2283, allocations: 4 kB / 0.6866 GB, free: 6.543 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2284, allocations: 3.938 kB / 0.6866 GB, free: 6.539 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.2284, allocations: 4 kB / 0.6866 GB, free: 6.535 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.2284, allocations: 8 kB / 0.6866 GB, free: 6.527 MB / 0.5139 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.0001577/0.2286, allocations: 171.5 kB / 0.6868 GB, free: 6.344 MB / 0.5139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.2286, allocations: 27.8 kB / 0.6868 GB, free: 6.316 MB / 0.5139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.2287, allocations: 21.39 kB / 0.6869 GB, free: 6.293 MB / 0.5139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2287, allocations: 0 / 0.6869 GB, free: 6.293 MB / 0.5139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2287, allocations: 0 / 0.6869 GB, free: 6.293 MB / 0.5139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2287, allocations: 0 / 0.6869 GB, free: 6.293 MB / 0.5139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.2289, allocations: 184.7 kB / 0.687 GB, free: 6.07 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2289, allocations: 0 / 0.687 GB, free: 6.07 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.2289, allocations: 7.938 kB / 0.687 GB, free: 6.062 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2289, allocations: 7.938 kB / 0.687 GB, free: 6.055 MB / 0.5139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2289, allocations: 7.984 kB / 0.6871 GB, free: 6.047 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2289, allocations: 0 / 0.6871 GB, free: 6.047 MB / 0.5139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2289, allocations: 0 / 0.6871 GB, free: 6.047 MB / 0.5139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.2292, allocations: 202.6 kB / 0.6872 GB, free: 5.824 MB / 0.5139 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.2292, allocations: 27.78 kB / 0.6873 GB, free: 5.797 MB / 0.5139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.2293, allocations: 8 kB / 0.6873 GB, free: 5.789 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.2293, allocations: 0 / 0.6873 GB, free: 5.789 MB / 0.5139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2294, allocations: 8 kB / 0.6873 GB, free: 5.781 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2294, allocations: 11.98 kB / 0.6873 GB, free: 5.77 MB / 0.5139 GB
Notification: Performance of sorting global known variables: time 0.0001686/0.2295, allocations: 165.8 kB / 0.6875 GB, free: 5.609 MB / 0.5139 GB
Notification: Performance of sort global known variables: time 7e-08/0.2295, allocations: 0 / 0.6875 GB, free: 5.609 MB / 0.5139 GB
Notification: Performance of remove unused functions: time 0.0002506/0.2298, allocations: 43.88 kB / 0.6875 GB, free: 5.566 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.0001986/0.23, allocations: 119.2 kB / 0.6876 GB, free: 5.441 MB / 0.5139 GB
Notification: Performance of simCode: created initialization part: time 0.000236/0.2302, allocations: 111.4 kB / 0.6877 GB, free: 5.32 MB / 0.5139 GB
Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2302, allocations: 0 / 0.6877 GB, free: 5.32 MB / 0.5139 GB
Notification: Performance of simCode: created simulation system equations: time 9.893e-05/0.2303, allocations: 91.33 kB / 0.6878 GB, free: 5.219 MB / 0.5139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.2305, allocations: 18.62 kB / 0.6878 GB, free: 5.203 MB / 0.5139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.2311, allocations: 291.4 kB / 0.6881 GB, free: 4.883 MB / 0.5139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.2315, allocations: 0.7278 MB / 0.6888 GB, free: 4.125 MB / 0.5139 GB
Notification: Performance of simCode: alias equations: time 7.098e-05/0.2316, allocations: 25.78 kB / 0.6888 GB, free: 4.102 MB / 0.5139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.2316, allocations: 15.44 kB / 0.6889 GB, free: 4.086 MB / 0.5139 GB
Notification: Performance of SimCode: time 4e-07/0.2316, allocations: 0 / 0.6889 GB, free: 4.086 MB / 0.5139 GB
Notification: Performance of Templates: time 0.005637/0.2373, allocations: 1.414 MB / 0.6902 GB, free: 2.68 MB / 0.5139 GB
"
[Timeout remaining time 300]
make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300]
(rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable  -abortSlowSimulation -alarm=300  -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300]
diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.152765955775976]