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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 113.5 kB / 17.06 MB, free: 5.832 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.001845/0.001845, allocations: 194.9 kB / 18.01 MB, free: 4.938 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.429/1.429, 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.008/1.008, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 61.48 kB / 0.5704 GB, free: 40.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1969, allocations: 80.7 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.003439/0.2004, allocations: 1.409 MB / 0.6506 GB, free: 12.13 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2017, allocations: 0.5691 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.2018, allocations: 4 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.2022, allocations: 227.7 kB / 0.6514 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.2028, allocations: 271.5 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.2032, allocations: 83.77 kB / 0.6517 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007514/0.2039, allocations: 0.593 MB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.204, allocations: 11.98 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005056/0.2045, allocations: 311.5 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000803/0.2053, allocations: 0.5228 MB / 0.6531 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.2055, allocations: 36 kB / 0.6532 GB, free: 9.516 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.2058, allocations: 111.9 kB / 0.6533 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001845/0.2076, allocations: 1.259 MB / 0.6545 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0009454/0.2086, allocations: 0.7195 MB / 0.6552 GB, free: 7.418 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.2107, allocations: 1.646 MB / 0.6568 GB, free: 5.762 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2107, allocations: 0 / 0.6568 GB, free: 5.762 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2107, allocations: 0 / 0.6568 GB, free: 5.762 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.933e-05/0.2108, allocations: 3.938 kB / 0.6568 GB, free: 5.758 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.0047/0.2155, allocations: 2.876 MB / 0.6596 GB, free: 2.809 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.2155, allocations: 12.03 kB / 0.6596 GB, free: 2.797 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.2156, allocations: 38.73 kB / 0.6597 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/0.2161, allocations: 302.9 kB / 0.66 GB, free: 2.453 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007293/0.2234, allocations: 3.366 MB / 0.6632 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2235, allocations: 4.375 kB / 0.6632 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2235, allocations: 12.31 kB / 0.6633 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2237, allocations: 149.7 kB / 0.6634 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2238, allocations: 0 / 0.6634 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.2238, allocations: 8 kB / 0.6634 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2238, allocations: 4 kB / 0.6634 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.224, allocations: 75.98 kB / 0.6635 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2252, allocations: 1.007 MB / 0.6645 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2254, allocations: 74.52 kB / 0.6645 GB, free: 13.65 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2255, allocations: 60.83 kB / 0.6646 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2255, allocations: 0 / 0.6646 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.2258, allocations: 184.9 kB / 0.6648 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/0.2258, allocations: 0 / 0.6648 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0009652/0.2267, allocations: 0.6694 MB / 0.6654 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.2268, allocations: 81.11 kB / 0.6655 GB, free: 12.61 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/0.2306, allocations: 3.189 MB / 0.6686 GB, free: 9.438 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.2306, allocations: 33.7 kB / 0.6687 GB, free: 9.398 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.2317, allocations: 1.24 MB / 0.6699 GB, free: 8.156 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.2318, allocations: 23.91 kB / 0.6699 GB, free: 8.133 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2319, allocations: 77.7 kB / 0.67 GB, free: 8.051 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.232, allocations: 314 kB / 0.6703 GB, free: 7.738 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.691e-05/0.2321, allocations: 44 kB / 0.6703 GB, free: 7.695 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.2322, allocations: 47.98 kB / 0.6703 GB, free: 7.648 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2324, allocations: 164.3 kB / 0.6705 GB, free: 7.473 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2325, allocations: 3.938 kB / 0.6705 GB, free: 7.469 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008521/0.2333, allocations: 0.6262 MB / 0.6711 GB, free: 6.828 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.2334, allocations: 40.81 kB / 0.6712 GB, free: 6.785 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2334, allocations: 0 / 0.6712 GB, free: 6.785 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2334, allocations: 4 kB / 0.6712 GB, free: 6.781 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.2335, allocations: 4 kB / 0.6712 GB, free: 6.777 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2335, allocations: 0 / 0.6712 GB, free: 6.777 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.2338, allocations: 15.95 kB / 0.6712 GB, free: 6.762 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.2339, allocations: 112 kB / 0.6713 GB, free: 6.652 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.0008815/0.2348, allocations: 0.7426 MB / 0.672 GB, free: 5.895 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.2352, allocations: 313.9 kB / 0.6723 GB, free: 5.586 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.2355, allocations: 333.8 kB / 0.6726 GB, free: 5.258 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2356, allocations: 0 / 0.6726 GB, free: 5.258 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2356, allocations: 8 kB / 0.6726 GB, free: 5.25 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2356, allocations: 3.984 kB / 0.6726 GB, free: 5.246 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2367, allocations: 1.093 MB / 0.6737 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2367, allocations: 7.875 kB / 0.6737 GB, free: 4.102 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.2368, allocations: 0 / 0.6737 GB, free: 4.102 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2368, allocations: 0 / 0.6737 GB, free: 4.102 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.2368, allocations: 36 kB / 0.6737 GB, free: 4.066 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2368, allocations: 0 / 0.6737 GB, free: 4.066 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2368, allocations: 0 / 0.6737 GB, free: 4.066 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.2377, allocations: 0.6863 MB / 0.6744 GB, free: 3.355 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/0.2382, allocations: 351 kB / 0.6748 GB, free: 2.992 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.2384, allocations: 12 kB / 0.6748 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2386, allocations: 11.98 kB / 0.6748 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.2387, allocations: 4 kB / 0.6748 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/0.2387, allocations: 112 kB / 0.6749 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002762/0.2415, allocations: 2.207 MB / 0.677 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2415, allocations: 0 / 0.677 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004545/0.242, allocations: 112 kB / 0.6771 GB, free: 0.5586 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.001442/0.2435, allocations: 1.276 MB / 0.6784 GB, free: 15.25 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.2439, allocations: 211.4 kB / 0.6786 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2439, allocations: 0 / 0.6786 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2441, allocations: 151.3 kB / 0.6787 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/0.245, allocations: 232.6 kB / 0.679 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/0.2694, allocations: 16.86 MB / 0.6954 GB, free: 13.66 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.2708, allocations: 1.702 MB / 0.6971 GB, free: 11.93 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001185/0.272, allocations: 0.5884 MB / 0.6977 GB, free: 11.33 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008802/0.2729, allocations: 0.9914 MB / 0.6986 GB, free: 10.34 MB / 0.5452 GB Notification: Performance of SimCode: time 2.404e-06/0.273, allocations: 0 / 0.6986 GB, free: 10.34 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07199/0.345, allocations: 40.4 MB / 0.7381 GB, free: 2.027 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/14.87, allocations: 10.38 kB / 0.7381 GB, free: 2.02 MB / 0.5764 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.csv","/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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches