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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 112.9 kB / 17.74 MB, free: 5.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002414/0.002414, allocations: 186.9 kB / 20.68 MB, free: 2.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8869/0.8869, allocations: 119.3 MB / 417.9 MB, free: 12.02 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.86 kB / 0.5789 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6411, allocations: 80.69 MB / 0.6577 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002309/0.6434, allocations: 1.421 MB / 0.6591 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.6443, allocations: 0.572 MB / 0.6597 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.6444, allocations: 4 kB / 0.6597 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.6447, allocations: 231.4 kB / 0.6599 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.6451, allocations: 269.5 kB / 0.6602 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.6454, allocations: 76.77 kB / 0.6602 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.6459, allocations: 0.6052 MB / 0.6608 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.646, allocations: 2.781 kB / 0.6608 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.6463, allocations: 304.3 kB / 0.6611 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.647, allocations: 0.5408 MB / 0.6616 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.347e-05/0.6471, allocations: 34.38 kB / 0.6617 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.6473, allocations: 111 kB / 0.6618 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.6485, allocations: 1.25 MB / 0.663 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.6489, allocations: 0.7197 MB / 0.6637 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.6503, allocations: 1.645 MB / 0.6653 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6503, allocations: 0 / 0.6653 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6503, allocations: 0 / 0.6653 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.6504, allocations: 0 / 0.6653 GB, free: 8.332 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.002939/0.6533, allocations: 2.879 MB / 0.6681 GB, free: 6.055 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6534, allocations: 12.98 kB / 0.6681 GB, free: 6.051 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.6534, allocations: 41 kB / 0.6682 GB, free: 6.004 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.6537, allocations: 303 kB / 0.6685 GB, free: 5.832 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/0.6588, allocations: 3.361 MB / 0.6717 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.6588, allocations: 5.562 kB / 0.6718 GB, free: 3.766 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.6588, allocations: 10.12 kB / 0.6718 GB, free: 3.766 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.6591, allocations: 151.5 kB / 0.6719 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.6591, allocations: 0 / 0.6719 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.6592, allocations: 8.375 kB / 0.6719 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.6592, allocations: 0 / 0.6719 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.6593, allocations: 73.73 kB / 0.672 GB, free: 3.684 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.6609, allocations: 1.009 MB / 0.673 GB, free: 3.012 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.6611, allocations: 72.53 kB / 0.673 GB, free: 2.973 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.6612, allocations: 60.17 kB / 0.6731 GB, free: 2.953 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.6613, allocations: 5.094 kB / 0.6731 GB, free: 2.949 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.6615, allocations: 177.8 kB / 0.6733 GB, free: 2.824 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.6615, allocations: 5.625 kB / 0.6733 GB, free: 2.82 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.001096/0.6626, allocations: 0.6641 MB / 0.6739 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.6627, allocations: 80.7 kB / 0.674 GB, free: 2.461 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.6665, allocations: 3.188 MB / 0.6771 GB, free: 1.055 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.6666, allocations: 34.92 kB / 0.6771 GB, free: 1.023 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009702/0.6676, allocations: 1.241 MB / 0.6784 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.6677, allocations: 22.91 kB / 0.6784 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.6678, allocations: 79.52 kB / 0.6785 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.668, allocations: 310.9 kB / 0.6788 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.6681, allocations: 55.48 kB / 0.6788 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.6682, allocations: 43.5 kB / 0.6788 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.6685, allocations: 166.5 kB / 0.679 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6685, allocations: 0 / 0.679 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001079/0.6696, allocations: 0.6232 MB / 0.6796 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.6697, allocations: 41.28 kB / 0.6797 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6697, allocations: 0 / 0.6797 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6697, allocations: 0 / 0.6797 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.6698, allocations: 5.031 kB / 0.6797 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.6698, allocations: 4 kB / 0.6797 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.6702, allocations: 19.27 kB / 0.6797 GB, free: 15.19 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.6704, allocations: 116 kB / 0.6798 GB, free: 15.17 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.001301/0.6717, allocations: 0.7412 MB / 0.6805 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.6721, allocations: 314.1 kB / 0.6808 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.6726, allocations: 338.3 kB / 0.6811 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6726, allocations: 1.422 kB / 0.6811 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.6727, allocations: 7.984 kB / 0.6811 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6727, allocations: 4 kB / 0.6812 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.674, allocations: 1.09 MB / 0.6822 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6741, allocations: 3.938 kB / 0.6822 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.6741, allocations: 4 kB / 0.6822 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.6741, allocations: 0 / 0.6822 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.6742, allocations: 24 kB / 0.6822 GB, free: 13.49 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6742, allocations: 4 kB / 0.6822 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6742, allocations: 3.938 kB / 0.6823 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.6752, allocations: 0.6824 MB / 0.6829 GB, free: 12.77 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.6757, allocations: 355 kB / 0.6833 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.6759, allocations: 12 kB / 0.6833 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.6761, allocations: 12 kB / 0.6833 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.6761, allocations: 0 / 0.6833 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.6762, allocations: 116 kB / 0.6834 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.003227/0.6795, allocations: 2.207 MB / 0.6855 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6795, allocations: 0 / 0.6855 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006205/0.6801, allocations: 107.9 kB / 0.6857 GB, free: 9.977 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.001398/0.6815, allocations: 1.28 MB / 0.6869 GB, free: 8.66 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.6819, allocations: 207.4 kB / 0.6871 GB, free: 8.445 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.6819, allocations: 0 / 0.6871 GB, free: 8.445 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.6821, allocations: 151.3 kB / 0.6872 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008679/0.683, allocations: 224.9 kB / 0.6875 GB, free: 8.066 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/0.7078, allocations: 16.87 MB / 0.7039 GB, free: 7.074 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.7094, allocations: 1.699 MB / 0.7056 GB, free: 5.344 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001329/0.7108, allocations: 0.5962 MB / 0.7062 GB, free: 4.742 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.7119, allocations: 0.9913 MB / 0.7071 GB, free: 3.754 MB / 0.5295 GB Notification: Performance of SimCode: time 8.22e-07/0.7119, allocations: 0 / 0.7071 GB, free: 3.754 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08452/0.7964, allocations: 40.4 MB / 0.7466 GB, free: 11.43 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.82, allocations: 6.094 kB / 0.7466 GB, free: 11.43 MB / 0.5764 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.14840677496977]