Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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.001772/0.001772, allocations: 122.9 kB / 17.78 MB, free: 5.121 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.002014/0.002014, allocations: 189.2 kB / 20.73 MB, free: 2.184 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.425/1.425, allocations: 225.6 MB / 249.1 MB, free: 3.641 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.7346/0.7346, allocations: 120.6 MB / 424.6 MB, free: 5.578 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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 59.89 kB / 0.5932 GB, free: 3.117 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6313, allocations: 84.66 MB / 0.6759 GB, free: 16.43 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.00289/0.6342, allocations: 1.415 MB / 0.6773 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.6353, allocations: 0.5795 MB / 0.6778 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.6354, allocations: 0 / 0.6778 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.6358, allocations: 448.5 kB / 0.6783 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.6364, allocations: 494.2 kB / 0.6787 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.6367, allocations: 76.67 kB / 0.6788 GB, free: 14.47 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0009135/0.6376, allocations: 1.131 MB / 0.6799 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.6376, allocations: 1.812 kB / 0.6799 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.6383, allocations: 0.5633 MB / 0.6805 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.6396, allocations: 1.156 MB / 0.6816 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.6398, allocations: 65.59 kB / 0.6816 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.6401, allocations: 147.5 kB / 0.6818 GB, free: 13.1 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.6426, allocations: 2.562 MB / 0.6843 GB, free: 11.83 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.6439, allocations: 1.42 MB / 0.6857 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.6469, allocations: 3.198 MB / 0.6888 GB, free: 8.621 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6469, allocations: 0 / 0.6888 GB, free: 8.621 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.975e-06/0.6469, allocations: 3.938 kB / 0.6888 GB, free: 8.617 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001272/0.647, allocations: 1.188 kB / 0.6888 GB, free: 8.617 MB / 0.5139 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.006759/0.6538, allocations: 5.389 MB / 0.6941 GB, free: 4.461 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6538, allocations: 14.52 kB / 0.6941 GB, free: 4.457 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.6539, allocations: 36 kB / 0.6941 GB, free: 4.414 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007628/0.6546, allocations: 0.5877 MB / 0.6947 GB, free: 4.07 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.6662, allocations: 6.621 MB / 0.7012 GB, free: 72 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6663, allocations: 2.125 kB / 0.7012 GB, free: 72 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.6663, allocations: 17.22 kB / 0.7012 GB, free: 72 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.6667, allocations: 237.6 kB / 0.7014 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6667, allocations: 0 / 0.7014 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.6668, allocations: 16.41 kB / 0.7014 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.6668, allocations: 1.281 kB / 0.7014 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.667, allocations: 134.6 kB / 0.7015 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.6711, allocations: 1.867 MB / 0.7034 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.6714, allocations: 93.25 kB / 0.7035 GB, free: 14.77 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.6716, allocations: 79.58 kB / 0.7035 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.6716, allocations: 5.234 kB / 0.7035 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.672, allocations: 257.9 kB / 0.7038 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=8): time 2.514e-06/0.672, allocations: 4 kB / 0.7038 GB, free: 14.49 MB / 0.5295 GB Notification: Performance of matching and sorting (n=8): time 0.002475/0.6745, allocations: 1.202 MB / 0.705 GB, free: 13.27 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.6745, allocations: 85.11 kB / 0.705 GB, free: 13.17 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/0.6864, allocations: 6.271 MB / 0.7112 GB, free: 6.945 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.6866, allocations: 41.7 kB / 0.7112 GB, free: 6.898 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.003333/0.6899, allocations: 2.524 MB / 0.7137 GB, free: 4.371 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.6902, allocations: 31.91 kB / 0.7137 GB, free: 4.34 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.6904, allocations: 133.7 kB / 0.7138 GB, free: 4.203 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6906, allocations: 318 kB / 0.7141 GB, free: 3.887 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.6907, allocations: 76 kB / 0.7142 GB, free: 3.812 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.6909, allocations: 83.92 kB / 0.7143 GB, free: 3.73 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.6913, allocations: 224.3 kB / 0.7145 GB, free: 3.496 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6913, allocations: 0 / 0.7145 GB, free: 3.496 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002216/0.6935, allocations: 1.128 MB / 0.7156 GB, free: 2.352 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/0.6935, allocations: 33.7 kB / 0.7156 GB, free: 2.312 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6935, allocations: 0 / 0.7156 GB, free: 2.312 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.6936, allocations: 3.984 kB / 0.7156 GB, free: 2.309 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.6937, allocations: 4 kB / 0.7156 GB, free: 2.305 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6937, allocations: 4 kB / 0.7156 GB, free: 2.301 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.6948, allocations: 20 kB / 0.7157 GB, free: 2.281 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.695, allocations: 224 kB / 0.7159 GB, free: 2.062 MB / 0.5295 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.003033/0.698, allocations: 1.331 MB / 0.7172 GB, free: 0.7148 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/0.6993, allocations: 0.6053 MB / 0.7178 GB, free: 108 kB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.701, allocations: 0.648 MB / 0.7184 GB, free: 15.45 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.701, allocations: 4 kB / 0.7184 GB, free: 15.45 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.701, allocations: 0 / 0.7184 GB, free: 15.45 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.701, allocations: 0 / 0.7184 GB, free: 15.45 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.7046, allocations: 2.034 MB / 0.7204 GB, free: 13.37 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.7046, allocations: 7.938 kB / 0.7204 GB, free: 13.36 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.7046, allocations: 4 kB / 0.7204 GB, free: 13.36 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.7046, allocations: 0 / 0.7204 GB, free: 13.36 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/0.7049, allocations: 52 kB / 0.7205 GB, free: 13.3 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.7049, allocations: 0 / 0.7205 GB, free: 13.3 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.7049, allocations: 4 kB / 0.7205 GB, free: 13.3 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.7071, allocations: 1.195 MB / 0.7216 GB, free: 12.08 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/0.7086, allocations: 0.5986 MB / 0.7222 GB, free: 11.46 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004279/0.709, allocations: 20 kB / 0.7222 GB, free: 11.44 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.7094, allocations: 19.94 kB / 0.7222 GB, free: 11.42 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.7095, allocations: 7.984 kB / 0.7223 GB, free: 11.41 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/0.7097, allocations: 224 kB / 0.7225 GB, free: 11.19 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.00828/0.718, allocations: 4.324 MB / 0.7267 GB, free: 6.906 MB / 0.5452 GB Notification: Performance of sort global known variables: time 6.01e-07/0.718, allocations: 0 / 0.7267 GB, free: 6.906 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001318/0.7193, allocations: 184 kB / 0.7269 GB, free: 6.727 MB / 0.5452 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.002331/0.7216, allocations: 1.821 MB / 0.7286 GB, free: 4.871 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.7221, allocations: 247.4 kB / 0.7289 GB, free: 4.617 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7221, allocations: 0 / 0.7289 GB, free: 4.617 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.7223, allocations: 159.4 kB / 0.729 GB, free: 4.449 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.7239, allocations: 445.2 kB / 0.7295 GB, free: 4.012 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05512/0.779, allocations: 32.81 MB / 0.7615 GB, free: 3.078 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003087/0.7821, allocations: 2.728 MB / 0.7642 GB, free: 332 kB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.003042/0.7851, allocations: 1.138 MB / 0.7653 GB, free: 15.18 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/0.7878, allocations: 2.089 MB / 0.7673 GB, free: 13.09 MB / 0.592 GB Notification: Performance of SimCode: time 2.114e-06/0.7878, allocations: 0 / 0.7673 GB, free: 13.09 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/0.9365, allocations: 79.47 MB / 0.8449 GB, free: 13.57 MB / 0.6702 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.01/24.95, allocations: 10.03 kB / 0.8449 GB, free: 13.57 MB / 0.6702 GB " [Timeout remaining time 275] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 29.733165592886508]