Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 114.6 kB / 17.07 MB, free: 5.973 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.001149/0.001149, allocations: 198.8 kB / 18 MB, free: 5.059 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.22/1.22, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.8 kB / 0.5709 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1806, allocations: 80.69 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002682/0.1834, allocations: 1.417 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1844, allocations: 0.5652 MB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.1845, allocations: 0 / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.1847, allocations: 119.8 kB / 0.6518 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.1851, allocations: 159.7 kB / 0.6519 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1854, allocations: 87.77 kB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.1858, allocations: 345.4 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.1858, allocations: 8 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.186, allocations: 169.7 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.1864, allocations: 283.6 kB / 0.6528 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.1864, allocations: 20 kB / 0.6528 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1866, allocations: 91.92 kB / 0.6529 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0007688/0.1874, allocations: 0.6371 MB / 0.6535 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.1877, allocations: 376.3 kB / 0.6538 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006734/0.1884, allocations: 0.8588 MB / 0.6547 GB, free: 7.953 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1884, allocations: 0 / 0.6547 GB, free: 7.953 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1884, allocations: 0 / 0.6547 GB, free: 7.953 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.1884, allocations: 0 / 0.6547 GB, free: 7.953 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.001643/0.19, allocations: 1.573 MB / 0.6562 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1901, allocations: 8.031 kB / 0.6562 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.1903, allocations: 151 kB / 0.6564 GB, free: 6.16 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.1928, allocations: 1.742 MB / 0.6581 GB, free: 4.371 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1928, allocations: 8.312 kB / 0.6581 GB, free: 4.363 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.1928, allocations: 8.375 kB / 0.6581 GB, free: 4.355 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.193, allocations: 102 kB / 0.6582 GB, free: 4.25 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1931, allocations: 0 / 0.6582 GB, free: 4.25 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.1931, allocations: 4 kB / 0.6582 GB, free: 4.246 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1931, allocations: 0 / 0.6582 GB, free: 4.246 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.1932, allocations: 47.98 kB / 0.6582 GB, free: 4.199 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.1938, allocations: 0.5773 MB / 0.6588 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1939, allocations: 58.52 kB / 0.6589 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.194, allocations: 52.89 kB / 0.6589 GB, free: 3.453 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.194, allocations: 3.938 kB / 0.6589 GB, free: 3.449 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1942, allocations: 137 kB / 0.659 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.1942, allocations: 3.938 kB / 0.659 GB, free: 3.293 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0005771/0.1948, allocations: 405.6 kB / 0.6594 GB, free: 2.883 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1949, allocations: 81.05 kB / 0.6595 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.1966, allocations: 1.644 MB / 0.6611 GB, free: 1.145 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1967, allocations: 29.7 kB / 0.6611 GB, free: 1.109 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/0.1972, allocations: 0.6334 MB / 0.6618 GB, free: 484 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.1973, allocations: 23.66 kB / 0.6618 GB, free: 460 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.1974, allocations: 49.7 kB / 0.6618 GB, free: 404 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1975, allocations: 310 kB / 0.6621 GB, free: 88 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.1976, allocations: 35.98 kB / 0.6622 GB, free: 52 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.933e-05/0.1977, allocations: 28 kB / 0.6622 GB, free: 24 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1978, allocations: 136.3 kB / 0.6623 GB, free: 15.87 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1979, allocations: 0 / 0.6623 GB, free: 15.87 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004118/0.1983, allocations: 377.2 kB / 0.6627 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.1983, allocations: 44.97 kB / 0.6627 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1983, allocations: 0 / 0.6627 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1984, allocations: 4 kB / 0.6627 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.1985, allocations: 4 kB / 0.6627 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.1985, allocations: 0 / 0.6627 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1986, allocations: 4 kB / 0.6627 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.1987, allocations: 63.98 kB / 0.6628 GB, free: 15.37 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.0004927/0.1992, allocations: 452.3 kB / 0.6632 GB, free: 14.91 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.1993, allocations: 158 kB / 0.6634 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.1995, allocations: 178.8 kB / 0.6635 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1995, allocations: 0 / 0.6635 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1995, allocations: 3.938 kB / 0.6636 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1995, allocations: 0 / 0.6636 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.2001, allocations: 0.6282 MB / 0.6642 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2001, allocations: 0 / 0.6642 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.2002, allocations: 7.938 kB / 0.6642 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2002, allocations: 3.938 kB / 0.6642 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.2002, allocations: 16 kB / 0.6642 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2002, allocations: 0 / 0.6642 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2002, allocations: 4 kB / 0.6642 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.2007, allocations: 433.5 kB / 0.6646 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.201, allocations: 211.2 kB / 0.6648 GB, free: 13.19 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.201, allocations: 12 kB / 0.6648 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2011, allocations: 4 kB / 0.6648 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.2012, allocations: 4 kB / 0.6648 GB, free: 13.17 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.2013, allocations: 60 kB / 0.6649 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001306/0.2026, allocations: 1.15 MB / 0.666 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.853e-06/0.2026, allocations: 0 / 0.666 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003276/0.2029, allocations: 67.94 kB / 0.6661 GB, free: 11.91 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.0002099/0.2031, allocations: 131.3 kB / 0.6662 GB, free: 11.77 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.2034, allocations: 171.4 kB / 0.6664 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2034, allocations: 0 / 0.6664 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.2036, allocations: 131.4 kB / 0.6665 GB, free: 11.45 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.204, allocations: 126.3 kB / 0.6666 GB, free: 11.33 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.2067, allocations: 2.1 MB / 0.6687 GB, free: 9.195 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.2076, allocations: 1.18 MB / 0.6698 GB, free: 7.988 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0005738/0.2082, allocations: 297.7 kB / 0.6701 GB, free: 7.691 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.2082, allocations: 71.44 kB / 0.6702 GB, free: 7.621 MB / 0.5139 GB Notification: Performance of SimCode: time 2.51e-07/0.2082, allocations: 0 / 0.6702 GB, free: 7.621 MB / 0.5139 GB Notification: Performance of Templates: time 0.01399/0.2222, allocations: 5.756 MB / 0.6758 GB, free: 1.785 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches