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.001689/0.001689, allocations: 115.8 kB / 17.07 MB, free: 5.773 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.002061/0.002061, allocations: 195.9 kB / 18 MB, free: 4.953 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.541/1.541, 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.172/1.172, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 67.06 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1926, allocations: 80.7 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.002847/0.1955, allocations: 1.413 MB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.1965, allocations: 0.5652 MB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.1966, allocations: 0 / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1969, allocations: 231.6 kB / 0.6519 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.1974, allocations: 271.5 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1977, allocations: 83.8 kB / 0.6522 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.1982, allocations: 0.6046 MB / 0.6528 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.1982, allocations: 3.984 kB / 0.6528 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.1985, allocations: 307.5 kB / 0.6531 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.199, allocations: 0.5267 MB / 0.6536 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.71e-05/0.1991, allocations: 36 kB / 0.6536 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1993, allocations: 107.9 kB / 0.6537 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.2007, allocations: 1.255 MB / 0.655 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.2012, allocations: 0.7234 MB / 0.6557 GB, free: 6.961 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.2024, allocations: 1.624 MB / 0.6573 GB, free: 5.328 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2024, allocations: 7.938 kB / 0.6573 GB, free: 5.32 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2024, allocations: 4 kB / 0.6573 GB, free: 5.316 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.2024, allocations: 0 / 0.6573 GB, free: 5.316 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.002648/0.2051, allocations: 2.762 MB / 0.66 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2051, allocations: 12.03 kB / 0.66 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.2054, allocations: 289.1 kB / 0.6603 GB, free: 2.184 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/0.2098, allocations: 3.318 MB / 0.6635 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.2099, allocations: 4.375 kB / 0.6635 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.2099, allocations: 8.375 kB / 0.6635 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2101, allocations: 153.9 kB / 0.6637 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2101, allocations: 0 / 0.6637 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.2102, allocations: 8 kB / 0.6637 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2102, allocations: 0 / 0.6637 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2103, allocations: 71.98 kB / 0.6637 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.2112, allocations: 1.015 MB / 0.6647 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2113, allocations: 70.5 kB / 0.6648 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.2115, allocations: 64.86 kB / 0.6649 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.2115, allocations: 3.938 kB / 0.6649 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.2117, allocations: 177 kB / 0.665 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.2117, allocations: 0 / 0.665 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0007956/0.2125, allocations: 0.656 MB / 0.6657 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.2126, allocations: 81.11 kB / 0.6657 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.2157, allocations: 3.185 MB / 0.6689 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2158, allocations: 33.7 kB / 0.6689 GB, free: 9.191 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.2168, allocations: 1.244 MB / 0.6701 GB, free: 7.945 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.2169, allocations: 27.66 kB / 0.6701 GB, free: 7.918 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.217, allocations: 77.7 kB / 0.6702 GB, free: 7.836 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2171, allocations: 310 kB / 0.6705 GB, free: 7.527 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.2172, allocations: 47.98 kB / 0.6705 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.2173, allocations: 48 kB / 0.6706 GB, free: 7.434 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.2175, allocations: 168.3 kB / 0.6707 GB, free: 7.254 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2175, allocations: 0 / 0.6707 GB, free: 7.254 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006199/0.2181, allocations: 0.6127 MB / 0.6713 GB, free: 6.625 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.2182, allocations: 44.66 kB / 0.6714 GB, free: 6.578 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2182, allocations: 0 / 0.6714 GB, free: 6.578 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.2182, allocations: 0 / 0.6714 GB, free: 6.578 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.2183, allocations: 4 kB / 0.6714 GB, free: 6.574 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2183, allocations: 0 / 0.6714 GB, free: 6.574 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2185, allocations: 12 kB / 0.6714 GB, free: 6.562 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/0.2186, allocations: 112 kB / 0.6715 GB, free: 6.453 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.0007597/0.2194, allocations: 0.7383 MB / 0.6722 GB, free: 5.699 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.2196, allocations: 308.1 kB / 0.6725 GB, free: 5.395 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.2199, allocations: 337.7 kB / 0.6728 GB, free: 5.062 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2199, allocations: 0 / 0.6728 GB, free: 5.062 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2199, allocations: 3.984 kB / 0.6729 GB, free: 5.059 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2199, allocations: 0 / 0.6729 GB, free: 5.059 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.2209, allocations: 1.089 MB / 0.6739 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2209, allocations: 3.938 kB / 0.6739 GB, free: 3.922 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.2209, allocations: 7.938 kB / 0.6739 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2209, allocations: 0 / 0.6739 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.221, allocations: 28 kB / 0.674 GB, free: 3.887 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.221, allocations: 0 / 0.674 GB, free: 3.887 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.221, allocations: 4 kB / 0.674 GB, free: 3.883 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.2216, allocations: 0.6728 MB / 0.6746 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.222, allocations: 333.2 kB / 0.6749 GB, free: 2.836 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2221, allocations: 19.98 kB / 0.6749 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2223, allocations: 8 kB / 0.675 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.2223, allocations: 4 kB / 0.675 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/0.2224, allocations: 116 kB / 0.6751 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002347/0.2248, allocations: 2.215 MB / 0.6772 GB, free: 0.4961 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2248, allocations: 0 / 0.6772 GB, free: 0.4961 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003545/0.2252, allocations: 108 kB / 0.6773 GB, free: 400 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.0001948/0.2254, allocations: 135.7 kB / 0.6775 GB, free: 256 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.2257, allocations: 203.4 kB / 0.6777 GB, free: 40 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2257, allocations: 0 / 0.6777 GB, free: 40 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2259, allocations: 147.4 kB / 0.6778 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.2265, allocations: 228.6 kB / 0.678 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.2317, allocations: 4.164 MB / 0.6821 GB, free: 11.46 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.233, allocations: 1.702 MB / 0.6837 GB, free: 9.723 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.00109/0.234, allocations: 0.5884 MB / 0.6843 GB, free: 9.129 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.2342, allocations: 135.4 kB / 0.6845 GB, free: 8.996 MB / 0.5295 GB Notification: Performance of SimCode: time 7.31e-07/0.2342, allocations: 4 kB / 0.6845 GB, free: 8.992 MB / 0.5295 GB Notification: Performance of Templates: time 0.02336/0.2576, allocations: 10.67 MB / 0.6949 GB, free: 14.28 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/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