Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.03 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.119/1.119, allocations: 120.5 MB / 457.9 MB, free: 7.023 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.606e-05, allocations: 4 kB / 0.5358 GB, free: 12.08 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6618, allocations: 82.83 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.8371, allocations: 126.7 MB / 0.7404 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.8374, allocations: 59.97 kB / 0.7404 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02106/0.8584, allocations: 7.623 MB / 0.7479 GB, free: 2.84 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8585, allocations: 0 / 0.7479 GB, free: 2.84 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.0001203/0.8586, allocations: 20 kB / 0.7479 GB, free: 2.82 MB / 0.5419 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.001542/0.8602, allocations: 1.133 MB / 0.749 GB, free: 1.633 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.8602, allocations: 16.02 kB / 0.749 GB, free: 1.617 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.954e-05/0.8603, allocations: 34.56 kB / 0.7491 GB, free: 1.574 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.8606, allocations: 154.1 kB / 0.7492 GB, free: 1.422 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7102/1.571, allocations: 1.518 MB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/1.571, allocations: 5.875 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/1.571, allocations: 9.375 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/1.571, allocations: 93.78 kB / 0.7508 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.571, allocations: 0 / 0.7508 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.571, allocations: 5.344 kB / 0.7508 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/1.571, allocations: 1.406 kB / 0.7508 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/1.571, allocations: 49.28 kB / 0.7509 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/1.572, allocations: 0.5835 MB / 0.7514 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/1.573, allocations: 54.66 kB / 0.7515 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/1.573, allocations: 46.95 kB / 0.7515 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/1.573, allocations: 4.094 kB / 0.7515 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/1.573, allocations: 134.2 kB / 0.7517 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/1.573, allocations: 4.469 kB / 0.7517 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.0006383/1.574, allocations: 351.8 kB / 0.752 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.574, allocations: 84.59 kB / 0.7521 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/1.576, allocations: 1.399 MB / 0.7534 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/1.576, allocations: 30.42 kB / 0.7535 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005799/1.577, allocations: 0.6369 MB / 0.7541 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/1.577, allocations: 28.19 kB / 0.7541 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/1.577, allocations: 4.906 kB / 0.7541 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 5.54e-05/1.577, allocations: 315.7 kB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/1.577, allocations: 33.53 kB / 0.7545 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.049e-05/1.577, allocations: 32.44 kB / 0.7545 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.948e-05/1.577, allocations: 63.69 kB / 0.7545 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/1.577, allocations: 0 / 0.7545 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005067/1.577, allocations: 362.3 kB / 0.7549 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/1.577, allocations: 39.45 kB / 0.7549 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.578, allocations: 0.8438 kB / 0.7549 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.578, allocations: 1 kB / 0.7549 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/1.578, allocations: 5.219 kB / 0.7549 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.578, allocations: 0 / 0.7549 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/1.578, allocations: 15.91 kB / 0.7549 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/1.578, allocations: 57.72 kB / 0.755 GB, free: 128.6 MB / 0.5421 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/1.578, allocations: 158 kB / 0.7552 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/1.578, allocations: 152.9 kB / 0.7553 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/1.578, allocations: 170 kB / 0.7555 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.578, allocations: 0.9062 kB / 0.7555 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.578, allocations: 0.6094 kB / 0.7555 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.578, allocations: 4.438 kB / 0.7555 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/1.579, allocations: 0.6321 MB / 0.7561 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.579, allocations: 0.7188 kB / 0.7561 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/1.579, allocations: 4.625 kB / 0.7561 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.579, allocations: 0 / 0.7561 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/1.579, allocations: 15.97 kB / 0.7561 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.579, allocations: 0 / 0.7561 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.579, allocations: 0.9375 kB / 0.7561 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/1.58, allocations: 421 kB / 0.7565 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/1.58, allocations: 207.4 kB / 0.7567 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/1.58, allocations: 9.172 kB / 0.7567 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.58, allocations: 8.594 kB / 0.7567 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/1.58, allocations: 6.5 kB / 0.7567 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/1.581, allocations: 63.25 kB / 0.7568 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.001665/1.582, allocations: 1.124 MB / 0.7579 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.31e-07/1.582, allocations: 0 / 0.7579 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003444/1.583, allocations: 74.52 kB / 0.758 GB, free: 127.3 MB / 0.5421 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007846/1.583, allocations: 0.983 MB / 0.7589 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.000225/1.584, allocations: 172.4 kB / 0.7591 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.584, allocations: 1.094 kB / 0.7591 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/1.584, allocations: 130.6 kB / 0.7592 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/1.584, allocations: 111.3 kB / 0.7593 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/1.587, allocations: 1.935 MB / 0.7612 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/1.588, allocations: 1.209 MB / 0.7624 GB, free: 125 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006398/1.589, allocations: 294.2 kB / 0.7627 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/1.589, allocations: 483.3 kB / 0.7631 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of SimCode: time 1.734e-06/1.589, allocations: 0 / 0.7631 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/1.622, allocations: 18.72 MB / 0.7814 GB, free: 108.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/1.622, allocations: 178.2 kB / 0.7816 GB, free: 108.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.577, allocations: 5.75 kB / 0.7816 GB, free: 108.6 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat does not exist to compare? outputFormat=mat