Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001857, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.00202/0.00202, allocations: 191 kB / 17.99 MB, free: 5.109 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.09/1.09, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 62.12 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.172, allocations: 80.71 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002471/0.1745, allocations: 1.413 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009417/0.1755, allocations: 0.5652 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.1755, allocations: 0 / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1758, allocations: 227.7 kB / 0.6519 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.1762, allocations: 275.5 kB / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1765, allocations: 79.78 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004553/0.177, allocations: 0.593 MB / 0.6528 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.177, allocations: 11.97 kB / 0.6528 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.1773, allocations: 303.5 kB / 0.6531 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.1778, allocations: 0.5267 MB / 0.6536 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.1779, allocations: 36 kB / 0.6536 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1781, allocations: 111.9 kB / 0.6537 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.1793, allocations: 1.255 MB / 0.655 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.1798, allocations: 0.7234 MB / 0.6557 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1811, allocations: 1.636 MB / 0.6573 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1811, allocations: 0 / 0.6573 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1811, allocations: 0 / 0.6573 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.1811, allocations: 4 kB / 0.6573 GB, free: 5.293 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002737/0.1839, allocations: 2.759 MB / 0.66 GB, free: 2.461 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1839, allocations: 8.031 kB / 0.66 GB, free: 2.453 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.1842, allocations: 289.1 kB / 0.6602 GB, free: 2.168 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004369/0.1886, allocations: 3.322 MB / 0.6635 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1886, allocations: 8.375 kB / 0.6635 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1887, allocations: 12.36 kB / 0.6635 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.1889, allocations: 149.8 kB / 0.6637 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1889, allocations: 0 / 0.6637 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.189, allocations: 12 kB / 0.6637 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.189, allocations: 0 / 0.6637 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1891, allocations: 75.98 kB / 0.6637 GB, free: 14.53 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009689/0.1901, allocations: 1.007 MB / 0.6647 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1902, allocations: 70.58 kB / 0.6648 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1903, allocations: 64.89 kB / 0.6648 GB, free: 13.33 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.1903, allocations: 3.938 kB / 0.6649 GB, free: 13.33 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.1906, allocations: 180.9 kB / 0.665 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.1906, allocations: 0 / 0.665 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0007813/0.1914, allocations: 0.6521 MB / 0.6657 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.1914, allocations: 77.11 kB / 0.6657 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.1946, allocations: 3.189 MB / 0.6688 GB, free: 9.203 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.1946, allocations: 37.7 kB / 0.6689 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009649/0.1956, allocations: 1.24 MB / 0.6701 GB, free: 7.918 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.1956, allocations: 27.66 kB / 0.6701 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1957, allocations: 73.72 kB / 0.6702 GB, free: 7.812 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1959, allocations: 310 kB / 0.6705 GB, free: 7.504 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.1959, allocations: 51.94 kB / 0.6705 GB, free: 7.453 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.196, allocations: 47.98 kB / 0.6706 GB, free: 7.406 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.1962, allocations: 176.3 kB / 0.6708 GB, free: 7.219 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1962, allocations: 0 / 0.6708 GB, free: 7.219 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006061/0.1968, allocations: 0.6088 MB / 0.6713 GB, free: 6.594 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.1969, allocations: 37.7 kB / 0.6714 GB, free: 6.551 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1969, allocations: 3.984 kB / 0.6714 GB, free: 6.547 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1969, allocations: 0 / 0.6714 GB, free: 6.547 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.197, allocations: 4 kB / 0.6714 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.197, allocations: 0 / 0.6714 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1972, allocations: 12 kB / 0.6714 GB, free: 6.531 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.1973, allocations: 112 kB / 0.6715 GB, free: 6.422 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.0007533/0.1981, allocations: 0.7381 MB / 0.6722 GB, free: 5.668 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.1983, allocations: 304.1 kB / 0.6725 GB, free: 5.367 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.1987, allocations: 333.8 kB / 0.6728 GB, free: 5.039 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1987, allocations: 0 / 0.6728 GB, free: 5.039 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1987, allocations: 0 / 0.6728 GB, free: 5.039 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1987, allocations: 0 / 0.6728 GB, free: 5.039 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.1996, allocations: 1.089 MB / 0.6739 GB, free: 3.906 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1996, allocations: 3.938 kB / 0.6739 GB, free: 3.902 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.1997, allocations: 11.92 kB / 0.6739 GB, free: 3.891 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1997, allocations: 0 / 0.6739 GB, free: 3.891 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.1997, allocations: 32 kB / 0.6739 GB, free: 3.859 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1997, allocations: 3.938 kB / 0.6739 GB, free: 3.855 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1997, allocations: 0 / 0.6739 GB, free: 3.855 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.2004, allocations: 0.6651 MB / 0.6746 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.2008, allocations: 341.1 kB / 0.6749 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.2009, allocations: 16 kB / 0.6749 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2011, allocations: 8 kB / 0.6749 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.2012, allocations: 15.98 kB / 0.675 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/0.2013, allocations: 112 kB / 0.6751 GB, free: 2.66 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002478/0.2038, allocations: 2.203 MB / 0.6772 GB, free: 488 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2038, allocations: 0 / 0.6772 GB, free: 488 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003779/0.2041, allocations: 108 kB / 0.6773 GB, free: 380 kB / 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.0002104/0.2044, allocations: 141.9 kB / 0.6775 GB, free: 232 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.2047, allocations: 211.3 kB / 0.6777 GB, free: 8 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2047, allocations: 0 / 0.6777 GB, free: 8 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.2049, allocations: 151.4 kB / 0.6778 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.2055, allocations: 228.6 kB / 0.678 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.21, allocations: 4.156 MB / 0.6821 GB, free: 11.43 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.2112, allocations: 1.695 MB / 0.6837 GB, free: 9.703 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001057/0.2123, allocations: 0.5962 MB / 0.6843 GB, free: 9.102 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2124, allocations: 135.4 kB / 0.6844 GB, free: 8.969 MB / 0.5295 GB Notification: Performance of SimCode: time 5.71e-07/0.2124, allocations: 0 / 0.6844 GB, free: 8.969 MB / 0.5295 GB Notification: Performance of Templates: time 0.0226/0.235, allocations: 10.67 MB / 0.6949 GB, free: 14.25 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches