Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 110.5 kB / 17.06 MB, free: 6.016 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.001272/0.001272, allocations: 190.1 kB / 18 MB, free: 5.102 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.56/1.56, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.249/1.249, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 62.44 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1798, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003129/0.183, allocations: 1.554 MB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1846, allocations: 0.8885 MB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.1846, allocations: 0 / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.185, allocations: 55.73 kB / 0.6521 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.1854, allocations: 107.6 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1857, allocations: 105.8 kB / 0.6524 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1859, allocations: 131.6 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.186, allocations: 11.98 kB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1861, allocations: 63.7 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1863, allocations: 59.75 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1863, allocations: 4 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.1864, allocations: 31.98 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1866, allocations: 75.73 kB / 0.6527 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.722e-05/0.1867, allocations: 55.55 kB / 0.6528 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1869, allocations: 155.2 kB / 0.6529 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1869, allocations: 0 / 0.6529 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1869, allocations: 4 kB / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.187, allocations: 0 / 0.6529 GB, free: 9.762 MB / 0.4983 GB 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.0006872/0.1876, allocations: 498 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1877, allocations: 12.03 kB / 0.6534 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.1877, allocations: 20.8 kB / 0.6534 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.1883, allocations: 339.6 kB / 0.6537 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1883, allocations: 12.25 kB / 0.6538 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1883, allocations: 4.125 kB / 0.6538 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1885, allocations: 57.67 kB / 0.6538 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1885, allocations: 3.938 kB / 0.6538 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1885, allocations: 0 / 0.6538 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1885, allocations: 4 kB / 0.6538 GB, free: 8.738 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.1886, allocations: 12 kB / 0.6538 GB, free: 8.727 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.1888, allocations: 213.6 kB / 0.654 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.189, allocations: 58.55 kB / 0.6541 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.1891, allocations: 20.8 kB / 0.6541 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1891, allocations: 3.984 kB / 0.6541 GB, free: 8.375 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.1893, allocations: 67.39 kB / 0.6542 GB, free: 8.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1893, allocations: 0 / 0.6542 GB, free: 8.297 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0003159/0.1896, allocations: 109.5 kB / 0.6543 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1897, allocations: 55.34 kB / 0.6543 GB, free: 8.117 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.19, allocations: 274.7 kB / 0.6546 GB, free: 7.836 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.19, allocations: 25.7 kB / 0.6546 GB, free: 7.805 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1901, allocations: 144.1 kB / 0.6548 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1901, allocations: 7.953 kB / 0.6548 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1902, allocations: 17.72 kB / 0.6548 GB, free: 7.629 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1904, allocations: 338.8 kB / 0.6551 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.1905, allocations: 15.98 kB / 0.6551 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.1905, allocations: 21.72 kB / 0.6552 GB, free: 7.246 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1907, allocations: 49.7 kB / 0.6552 GB, free: 7.191 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1907, allocations: 0 / 0.6552 GB, free: 7.191 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000251/0.191, allocations: 93.42 kB / 0.6553 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.191, allocations: 8 kB / 0.6553 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.191, allocations: 0 / 0.6553 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.191, allocations: 0 / 0.6553 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.1911, allocations: 11.98 kB / 0.6553 GB, free: 7.074 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1911, allocations: 8.094 kB / 0.6553 GB, free: 7.066 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.1912, allocations: 12.2 kB / 0.6553 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1912, allocations: 8.031 kB / 0.6553 GB, free: 7.047 MB / 0.4983 GB 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.0001384/0.1914, allocations: 146.6 kB / 0.6555 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.1914, allocations: 19.86 kB / 0.6555 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.1915, allocations: 33.28 kB / 0.6555 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1915, allocations: 0 / 0.6555 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1915, allocations: 0 / 0.6555 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1915, allocations: 7.938 kB / 0.6555 GB, free: 6.832 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1917, allocations: 217.5 kB / 0.6557 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1917, allocations: 0 / 0.6557 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.1918, allocations: 8 kB / 0.6557 GB, free: 6.562 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1918, allocations: 3.938 kB / 0.6557 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1918, allocations: 7.984 kB / 0.6558 GB, free: 6.551 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1918, allocations: 0 / 0.6558 GB, free: 6.551 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1918, allocations: 0 / 0.6558 GB, free: 6.551 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.192, allocations: 124.8 kB / 0.6559 GB, free: 6.41 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.1921, allocations: 96.97 kB / 0.656 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1921, allocations: 0 / 0.656 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.1922, allocations: 11.98 kB / 0.656 GB, free: 6.285 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1922, allocations: 4 kB / 0.656 GB, free: 6.281 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1922, allocations: 4 kB / 0.656 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0002014/0.1925, allocations: 201.9 kB / 0.6562 GB, free: 6.082 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1925, allocations: 0 / 0.6562 GB, free: 6.082 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002185/0.1927, allocations: 19.94 kB / 0.6562 GB, free: 6.062 MB / 0.4983 GB 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00143/0.1941, allocations: 405.4 kB / 0.6566 GB, free: 5.816 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1943, allocations: 51.86 kB / 0.6566 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1943, allocations: 0 / 0.6566 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.1944, allocations: 16 kB / 0.6567 GB, free: 5.75 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1947, allocations: 46.89 kB / 0.6567 GB, free: 5.707 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.1953, allocations: 319.2 kB / 0.657 GB, free: 5.371 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.1957, allocations: 0.7437 MB / 0.6577 GB, free: 4.598 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 9.682e-05/0.1958, allocations: 37.5 kB / 0.6578 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.1959, allocations: 23.44 kB / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of SimCode: time 2.81e-07/0.1959, allocations: 0 / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of Templates: time 0.005443/0.2013, allocations: 1.73 MB / 0.6595 GB, free: 2.816 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches