Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001336/0.001335, allocations: 108.6 kB / 17.06 MB, free: 6.004 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.001323/0.001323, allocations: 190.1 kB / 18 MB, free: 5.09 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.509/1.509, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.193/1.193, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 70.97 kB / 0.5709 GB, free: 39.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1832, allocations: 80.69 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002873/0.1862, allocations: 1.413 MB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1873, allocations: 0.5691 MB / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.1874, allocations: 4 kB / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.1878, allocations: 227.7 kB / 0.6519 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.1883, allocations: 267.5 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.1886, allocations: 79.78 kB / 0.6522 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.1892, allocations: 0.6047 MB / 0.6528 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1893, allocations: 4 kB / 0.6528 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.1896, allocations: 303.5 kB / 0.6531 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006071/0.1902, allocations: 0.5345 MB / 0.6536 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.233e-05/0.1903, allocations: 35.94 kB / 0.6537 GB, free: 9.051 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.1906, allocations: 111.9 kB / 0.6538 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.192, allocations: 1.259 MB / 0.655 GB, free: 7.68 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006564/0.1927, allocations: 0.7156 MB / 0.6557 GB, free: 6.957 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.1945, allocations: 1.645 MB / 0.6573 GB, free: 5.301 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1945, allocations: 0 / 0.6573 GB, free: 5.301 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.267e-06/0.1945, allocations: 0 / 0.6573 GB, free: 5.301 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.474e-05/0.1946, allocations: 4 kB / 0.6573 GB, free: 5.297 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.003558/0.1981, allocations: 2.876 MB / 0.6601 GB, free: 2.348 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1982, allocations: 8.031 kB / 0.6601 GB, free: 2.34 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.1986, allocations: 306.9 kB / 0.6604 GB, free: 2.039 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.2045, allocations: 3.363 MB / 0.6637 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.2045, allocations: 384 / 0.6637 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.2046, allocations: 16.31 kB / 0.6637 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.2049, allocations: 149.9 kB / 0.6638 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2049, allocations: 4 kB / 0.6639 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.205, allocations: 11.94 kB / 0.6639 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.205, allocations: 4 kB / 0.6639 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.2051, allocations: 71.98 kB / 0.6639 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.2067, allocations: 1.003 MB / 0.6649 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.2069, allocations: 74.56 kB / 0.665 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.207, allocations: 64.8 kB / 0.665 GB, free: 13.17 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.2071, allocations: 7.938 kB / 0.6651 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.2073, allocations: 173 kB / 0.6652 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.2074, allocations: 0 / 0.6652 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001208/0.2086, allocations: 0.6653 MB / 0.6659 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.2087, allocations: 85.05 kB / 0.666 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/0.2128, allocations: 3.189 MB / 0.6691 GB, free: 9.023 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.2129, allocations: 33.7 kB / 0.6691 GB, free: 8.984 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.2142, allocations: 1.244 MB / 0.6703 GB, free: 7.738 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.2143, allocations: 24.05 kB / 0.6703 GB, free: 7.715 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.2145, allocations: 81.7 kB / 0.6704 GB, free: 7.629 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.2147, allocations: 306 kB / 0.6707 GB, free: 7.324 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.2149, allocations: 51.98 kB / 0.6708 GB, free: 7.273 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.215, allocations: 48.03 kB / 0.6708 GB, free: 7.227 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2153, allocations: 164.2 kB / 0.671 GB, free: 7.051 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2153, allocations: 0 / 0.671 GB, free: 7.051 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001061/0.2164, allocations: 0.6223 MB / 0.6716 GB, free: 6.414 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.2165, allocations: 45.69 kB / 0.6716 GB, free: 6.363 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2165, allocations: 0 / 0.6716 GB, free: 6.363 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.2165, allocations: 4.094 kB / 0.6716 GB, free: 6.359 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.686e-05/0.2166, allocations: 7.938 kB / 0.6716 GB, free: 6.352 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2166, allocations: 0 / 0.6716 GB, free: 6.352 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.2169, allocations: 11.95 kB / 0.6716 GB, free: 6.34 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.2171, allocations: 116 kB / 0.6717 GB, free: 6.227 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.001222/0.2183, allocations: 0.7381 MB / 0.6725 GB, free: 5.473 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.2187, allocations: 317.9 kB / 0.6728 GB, free: 5.16 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.2192, allocations: 337.8 kB / 0.6731 GB, free: 4.828 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2192, allocations: 0 / 0.6731 GB, free: 4.828 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2193, allocations: 0 / 0.6731 GB, free: 4.828 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2193, allocations: 0 / 0.6731 GB, free: 4.828 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.2206, allocations: 1.097 MB / 0.6742 GB, free: 3.688 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2207, allocations: 3.938 kB / 0.6742 GB, free: 3.684 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.2207, allocations: 7.938 kB / 0.6742 GB, free: 3.676 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.2207, allocations: 4 kB / 0.6742 GB, free: 3.672 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.2208, allocations: 24 kB / 0.6742 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.2208, allocations: 4 kB / 0.6742 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2208, allocations: 4 kB / 0.6742 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.2218, allocations: 0.6824 MB / 0.6749 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.2222, allocations: 351 kB / 0.6752 GB, free: 2.57 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.2224, allocations: 12 kB / 0.6752 GB, free: 2.559 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.2226, allocations: 12 kB / 0.6752 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.2226, allocations: 0 / 0.6752 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/0.2228, allocations: 116 kB / 0.6753 GB, free: 2.434 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.003531/0.2264, allocations: 2.207 MB / 0.6775 GB, free: 252 kB / 0.5139 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2264, allocations: 4 kB / 0.6775 GB, free: 248 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005585/0.227, allocations: 104 kB / 0.6776 GB, free: 144 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.0002986/0.2273, allocations: 143.7 kB / 0.6777 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.2277, allocations: 203.4 kB / 0.6779 GB, free: 15.78 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2277, allocations: 0 / 0.6779 GB, free: 15.78 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.2279, allocations: 147.4 kB / 0.6781 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.2287, allocations: 230.9 kB / 0.6783 GB, free: 15.39 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/0.2357, allocations: 4.235 MB / 0.6824 GB, free: 11.13 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.2376, allocations: 1.702 MB / 0.6841 GB, free: 9.395 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001421/0.239, allocations: 0.5924 MB / 0.6847 GB, free: 8.797 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.2392, allocations: 135.4 kB / 0.6848 GB, free: 8.664 MB / 0.5295 GB Notification: Performance of SimCode: time 2.134e-06/0.2392, allocations: 4 kB / 0.6848 GB, free: 8.66 MB / 0.5295 GB Notification: Performance of Templates: time 0.02973/0.269, allocations: 10.67 MB / 0.6952 GB, free: 13.94 MB / 0.5452 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches