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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.001613/0.001613, allocations: 96.61 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.326/1.326, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.46e-05, allocations: 4 kB / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.713, allocations: 82.84 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.9108, allocations: 126 MB / 0.7328 GB, free: 14.84 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.911, allocations: 55.91 kB / 0.7329 GB, free: 14.78 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03681/0.9478, allocations: 13.28 MB / 0.7458 GB, free: 1.469 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.677e-06/0.9479, allocations: 7.922 kB / 0.7458 GB, free: 1.461 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.0002091/0.9481, allocations: 32 kB / 0.7459 GB, free: 1.43 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.8013/1.749, allocations: 1.89 MB / 0.7477 GB, free: 130 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.749, allocations: 14.64 kB / 0.7477 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009238/1.75, allocations: 295.5 kB / 0.748 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006255/1.757, allocations: 2.881 MB / 0.7508 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.87e-05/1.757, allocations: 1.125 kB / 0.7508 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/1.757, allocations: 9.875 kB / 0.7508 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001715/1.757, allocations: 67.83 kB / 0.7509 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/1.757, allocations: 131 kB / 0.751 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.757, allocations: 0.9688 kB / 0.751 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/1.757, allocations: 8.984 kB / 0.751 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/1.757, allocations: 4.922 kB / 0.751 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/1.759, allocations: 0.9701 MB / 0.752 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/1.759, allocations: 65.7 kB / 0.752 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/1.759, allocations: 50.03 kB / 0.7521 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/1.759, allocations: 0 / 0.7521 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/1.759, allocations: 168.9 kB / 0.7523 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/1.759, allocations: 0.9375 kB / 0.7523 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.000915/1.76, allocations: 0.522 MB / 0.7528 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.76, allocations: 83.47 kB / 0.7528 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/1.764, allocations: 2.547 MB / 0.7553 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/1.764, allocations: 34.92 kB / 0.7554 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.000957/1.765, allocations: 1.26 MB / 0.7566 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/1.765, allocations: 31.05 kB / 0.7566 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/1.765, allocations: 7.938 kB / 0.7566 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/1.765, allocations: 316 kB / 0.7569 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/1.765, allocations: 37.75 kB / 0.757 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.622e-05/1.765, allocations: 34.56 kB / 0.757 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/1.766, allocations: 45.83 kB / 0.757 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.766, allocations: 0 / 0.757 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006892/1.766, allocations: 0.5343 MB / 0.7576 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/1.766, allocations: 32.55 kB / 0.7576 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/1.766, allocations: 1.75 kB / 0.7576 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.766, allocations: 3.703 kB / 0.7576 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/1.767, allocations: 3.406 kB / 0.7576 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.767, allocations: 5.469 kB / 0.7576 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/1.767, allocations: 10.28 kB / 0.7576 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.767, allocations: 113.6 kB / 0.7577 GB, free: 126.3 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 0.0001191/1.767, allocations: 164.5 kB / 0.7579 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005047/1.768, allocations: 0.5451 MB / 0.7584 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/1.768, allocations: 294.1 kB / 0.7587 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/1.768, allocations: 334.1 kB / 0.759 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.768, allocations: 5.797 kB / 0.759 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.768, allocations: 3.938 kB / 0.759 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.768, allocations: 0 / 0.759 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/1.769, allocations: 1.062 MB / 0.7601 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.769, allocations: 0 / 0.7601 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/1.769, allocations: 3.375 kB / 0.7601 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/1.769, allocations: 96 / 0.7601 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/1.769, allocations: 30.44 kB / 0.7601 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.769, allocations: 0.5625 kB / 0.7601 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.769, allocations: 0 / 0.7601 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/1.77, allocations: 0.5877 MB / 0.7607 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/1.77, allocations: 335.6 kB / 0.761 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.77, allocations: 15.03 kB / 0.761 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.771, allocations: 11.44 kB / 0.761 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/1.771, allocations: 3.844 kB / 0.761 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/1.771, allocations: 112.9 kB / 0.7611 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.001804/1.772, allocations: 2.003 MB / 0.7631 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.21e-07/1.773, allocations: 0 / 0.7631 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003567/1.773, allocations: 109.2 kB / 0.7632 GB, free: 124.1 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.0008227/1.774, allocations: 1.176 MB / 0.7643 GB, free: 123.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0002149/1.774, allocations: 187.1 kB / 0.7645 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.774, allocations: 0 / 0.7645 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/1.774, allocations: 143.4 kB / 0.7647 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/1.775, allocations: 209.8 kB / 0.7649 GB, free: 123 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/1.779, allocations: 3.855 MB / 0.7686 GB, free: 119.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009995/1.78, allocations: 1.747 MB / 0.7703 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001246/1.781, allocations: 0.5842 MB / 0.7709 GB, free: 118 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/1.782, allocations: 0.9929 MB / 0.7719 GB, free: 117 MB / 0.5421 GB Notification: Performance of SimCode: time 1.413e-06/1.782, allocations: 0 / 0.7719 GB, free: 117 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06556/1.847, allocations: 33.74 MB / 0.8048 GB, free: 83.33 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/1.848, allocations: 164.8 kB / 0.805 GB, free: 83.14 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.154/6.001, allocations: 4 kB / 0.805 GB, free: 83.13 MB / 0.5421 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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 --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) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat does not exist to compare? outputFormat=mat