Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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.001041/0.001041, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001118/0.001118, allocations: 163.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.953/0.953, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6749/0.6749, allocations: 88.08 MB / 349.9 MB, free: 14.29 MB / 330.7 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.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.797e-05, allocations: 2.859 kB / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.001798/0.001816, allocations: 1.637 MB / 453.2 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003001, allocations: 1.011 MB / 454.2 MB, free: 31.6 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.003083, allocations: 0 / 454.2 MB, free: 31.6 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.004114, allocations: 1.753 MB / 456 MB, free: 31.28 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008327/0.004946, allocations: 1.005 MB / 457 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.005096, allocations: 80.09 kB / 457 MB, free: 31 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.006193, allocations: 2.238 MB / 459.3 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.006234, allocations: 5.969 kB / 459.3 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000722/0.006956, allocations: 1.241 MB / 460.5 MB, free: 30.28 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009967/0.007953, allocations: 2.296 MB / 462.8 MB, free: 29.96 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.008121, allocations: 129.9 kB / 462.9 MB, free: 29.96 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.00832, allocations: 156 kB / 463.1 MB, free: 29.95 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002812/0.01113, allocations: 5.262 MB / 468.4 MB, free: 28.31 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006477/0.01178, allocations: 1.201 MB / 469.6 MB, free: 27.62 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.01458, allocations: 5.065 MB / 474.6 MB, free: 25.61 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01458, allocations: 0 / 474.6 MB, free: 25.61 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.073e-06/0.01458, allocations: 0 / 474.6 MB, free: 25.61 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.26e-05/0.01465, allocations: 4.844 kB / 474.6 MB, free: 25.6 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008441/0.02309, allocations: 10.78 MB / 485.4 MB, free: 18.04 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.02314, allocations: 9.469 kB / 485.4 MB, free: 18.04 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.02428, allocations: 1.17 MB / 486.6 MB, free: 17.36 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.0364, allocations: 10.7 MB / 497.3 MB, free: 10.22 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.03643, allocations: 384 / 497.3 MB, free: 10.22 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.03644, allocations: 4.891 kB / 497.3 MB, free: 10.22 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.03663, allocations: 62.38 kB / 497.4 MB, free: 10.16 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.03664, allocations: 3.938 kB / 497.4 MB, free: 10.15 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.03665, allocations: 0 / 497.4 MB, free: 10.15 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.03666, allocations: 0.75 kB / 497.4 MB, free: 10.15 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.0367, allocations: 9.906 kB / 497.4 MB, free: 10.14 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004542/0.04124, allocations: 4.627 MB / 0.4902 GB, free: 6.215 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.04139, allocations: 47.3 kB / 0.4903 GB, free: 6.16 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.04142, allocations: 13.8 kB / 0.4903 GB, free: 6.145 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.04144, allocations: 8 kB / 0.4903 GB, free: 6.137 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.04157, allocations: 68.28 kB / 0.4904 GB, free: 6.062 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.04157, allocations: 0 / 0.4904 GB, free: 6.062 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.001234/0.04281, allocations: 1.27 MB / 0.4916 GB, free: 4.785 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.04285, allocations: 51.97 kB / 0.4917 GB, free: 4.723 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008927/0.05178, allocations: 11.41 MB / 0.5028 GB, free: 9.418 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.0518, allocations: 33.7 kB / 0.5028 GB, free: 9.379 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003876/0.05568, allocations: 5.818 MB / 0.5085 GB, free: 3.551 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.05574, allocations: 15.91 kB / 0.5085 GB, free: 3.535 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.05582, allocations: 27.38 kB / 0.5086 GB, free: 3.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.05597, allocations: 492.4 kB / 0.509 GB, free: 3.012 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.05601, allocations: 16.06 kB / 0.509 GB, free: 2.996 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.05606, allocations: 31.3 kB / 0.5091 GB, free: 2.957 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.777e-05/0.05611, allocations: 35.38 kB / 0.5091 GB, free: 2.914 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.05612, allocations: 0 / 0.5091 GB, free: 2.914 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001303/0.05742, allocations: 1.259 MB / 0.5103 GB, free: 1.641 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.05745, allocations: 8 kB / 0.5103 GB, free: 1.633 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.05746, allocations: 3.938 kB / 0.5103 GB, free: 1.629 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.05747, allocations: 0 / 0.5103 GB, free: 1.629 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.05759, allocations: 16.02 kB / 0.5104 GB, free: 1.613 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.0576, allocations: 0 / 0.5104 GB, free: 1.613 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.0582, allocations: 43.89 kB / 0.5104 GB, free: 1.57 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.05821, allocations: 0 / 0.5104 GB, free: 1.57 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0004887/0.0587, allocations: 160.6 kB / 0.5106 GB, free: 1.402 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/0.05953, allocations: 1.23 MB / 0.5118 GB, free: 168 kB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009967/0.06053, allocations: 0.9972 MB / 0.5127 GB, free: 15.16 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.06054, allocations: 4 kB / 0.5127 GB, free: 15.15 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.06054, allocations: 3.984 kB / 0.5127 GB, free: 15.15 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.06055, allocations: 0 / 0.5127 GB, free: 15.15 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004218/0.06476, allocations: 4.783 MB / 0.5174 GB, free: 10.32 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.06477, allocations: 3.984 kB / 0.5174 GB, free: 10.32 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/0.06481, allocations: 4 kB / 0.5174 GB, free: 10.31 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.06481, allocations: 0 / 0.5174 GB, free: 10.31 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.06483, allocations: 12.12 kB / 0.5174 GB, free: 10.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.06483, allocations: 3.938 kB / 0.5174 GB, free: 10.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.06483, allocations: 0 / 0.5174 GB, free: 10.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009152/0.06575, allocations: 1.445 MB / 0.5188 GB, free: 8.812 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/0.06649, allocations: 0.9334 MB / 0.5198 GB, free: 7.871 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.06677, allocations: 32 kB / 0.5198 GB, free: 7.84 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.06716, allocations: 35.94 kB / 0.5198 GB, free: 7.805 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.06721, allocations: 11.98 kB / 0.5198 GB, free: 7.793 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.06722, allocations: 4 kB / 0.5198 GB, free: 7.789 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006088/0.07331, allocations: 6.055 MB / 0.5257 GB, free: 1.816 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.07331, allocations: 0 / 0.5257 GB, free: 1.816 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0005776/0.07389, allocations: 328 kB / 0.5261 GB, free: 1.496 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009407/0.07483, allocations: 382.1 kB / 0.5264 GB, free: 1.266 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.07496, allocations: 43.59 kB / 0.5265 GB, free: 1.219 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.07496, allocations: 0 / 0.5265 GB, free: 1.219 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.075, allocations: 19.69 kB / 0.5265 GB, free: 1.195 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.07689, allocations: 0.9358 MB / 0.5274 GB, free: 264 kB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.09037, allocations: 14.62 MB / 0.5417 GB, free: 1.523 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.09167, allocations: 1.94 MB / 0.5436 GB, free: 15.56 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003283/0.09496, allocations: 2.449 MB / 0.546 GB, free: 13.1 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.0961, allocations: 1.117 MB / 0.547 GB, free: 11.99 MB / 474.8 MB Notification: Performance of SimCode: time 1.873e-06/0.0961, allocations: 0 / 0.547 GB, free: 11.99 MB / 474.8 MB Notification: Performance of Templates: time 0.06052/0.1566, allocations: 23.98 MB / 0.5705 GB, free: 4.012 MB / 490.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4673555651679635]