Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",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.001636/0.001636, allocations: 174.9 kB / 8.348 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.474/1.474, allocations: 221.5 MB / 230.3 MB, free: 7.594 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.001011/0.001011, allocations: 89.94 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.517/1.517, allocations: 120.4 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.974e-05, allocations: 3.938 kB / 0.5289 GB, free: 1.227 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7505, allocations: 82.83 MB / 0.6098 GB, free: 12.97 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.9288, allocations: 126 MB / 0.7328 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.9291, allocations: 51.92 kB / 0.7328 GB, free: 14.81 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.009174/0.9383, allocations: 3.168 MB / 0.7359 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9384, allocations: 0 / 0.7359 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.9384, allocations: 4 kB / 0.7359 GB, free: 11.63 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.000415/0.9388, allocations: 439.9 kB / 0.7364 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.9389, allocations: 12.03 kB / 0.7364 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.9389, allocations: 23.75 kB / 0.7364 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.9394, allocations: 291.6 kB / 0.7367 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.9394, allocations: 0 / 0.7367 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.9394, allocations: 8 kB / 0.7367 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.58e-05/0.9395, allocations: 23.92 kB / 0.7367 GB, free: 10.76 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.937e-05/0.9396, allocations: 49.69 kB / 0.7367 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.9396, allocations: 0 / 0.7367 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.9396, allocations: 3.938 kB / 0.7367 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9396, allocations: 3.953 kB / 0.7367 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.9398, allocations: 178.2 kB / 0.7369 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.344e-05/0.9399, allocations: 34.58 kB / 0.737 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.9399, allocations: 28.86 kB / 0.737 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.94, allocations: 8 kB / 0.737 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.9402, allocations: 97.22 kB / 0.7371 GB, free: 10.29 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.9402, allocations: 4 kB / 0.7371 GB, free: 10.29 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0002788/0.9405, allocations: 101.4 kB / 0.7372 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.9405, allocations: 89.09 kB / 0.7373 GB, free: 10.07 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.9407, allocations: 195.2 kB / 0.7375 GB, free: 9.875 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.9407, allocations: 33.7 kB / 0.7375 GB, free: 9.836 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.9408, allocations: 116.1 kB / 0.7376 GB, free: 9.719 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.9408, allocations: 19.75 kB / 0.7376 GB, free: 9.699 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.9409, allocations: 0 / 0.7376 GB, free: 9.699 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.941, allocations: 334.8 kB / 0.7379 GB, free: 9.363 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.941, allocations: 19.92 kB / 0.738 GB, free: 9.344 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.9411, allocations: 16 kB / 0.738 GB, free: 9.328 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.184e-05/0.9411, allocations: 15.94 kB / 0.738 GB, free: 9.312 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9411, allocations: 3.984 kB / 0.738 GB, free: 9.309 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001678/0.9413, allocations: 113.5 kB / 0.7381 GB, free: 9.191 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.9414, allocations: 41.69 kB / 0.7381 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9414, allocations: 0 / 0.7381 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9414, allocations: 0 / 0.7381 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.9415, allocations: 4 kB / 0.7381 GB, free: 9.141 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.9415, allocations: 0 / 0.7381 GB, free: 9.141 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.9415, allocations: 7.906 kB / 0.7381 GB, free: 9.133 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.9415, allocations: 8 kB / 0.7382 GB, free: 9.125 MB / 0.5419 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.797e-05/0.9416, allocations: 146.6 kB / 0.7383 GB, free: 8.969 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001821/0.9418, allocations: 133.4 kB / 0.7384 GB, free: 8.832 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.9419, allocations: 15.81 kB / 0.7384 GB, free: 8.816 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.9419, allocations: 17.84 kB / 0.7385 GB, free: 8.801 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.9419, allocations: 0 / 0.7385 GB, free: 8.801 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9419, allocations: 7.984 kB / 0.7385 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.9419, allocations: 0 / 0.7385 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.9421, allocations: 194.1 kB / 0.7386 GB, free: 8.566 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9421, allocations: 0 / 0.7386 GB, free: 8.566 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.9421, allocations: 3.984 kB / 0.7386 GB, free: 8.562 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9421, allocations: 0 / 0.7386 GB, free: 8.562 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.9422, allocations: 8 kB / 0.7387 GB, free: 8.555 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.9422, allocations: 4 kB / 0.7387 GB, free: 8.551 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9422, allocations: 0 / 0.7387 GB, free: 8.551 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.9424, allocations: 156.7 kB / 0.7388 GB, free: 8.379 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.9425, allocations: 104.8 kB / 0.7389 GB, free: 8.258 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.9425, allocations: 96 / 0.7389 GB, free: 8.258 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.925e-05/0.9426, allocations: 7.938 kB / 0.7389 GB, free: 8.25 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.9426, allocations: 7.984 kB / 0.7389 GB, free: 8.242 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.9426, allocations: 16 kB / 0.7389 GB, free: 8.227 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001218/0.9428, allocations: 165.6 kB / 0.7391 GB, free: 8.066 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9428, allocations: 0 / 0.7391 GB, free: 8.066 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000229/0.943, allocations: 36 kB / 0.7391 GB, free: 8.031 MB / 0.5419 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.0005584/0.9436, allocations: 0.7139 MB / 0.7398 GB, free: 7.289 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.9438, allocations: 147.4 kB / 0.74 GB, free: 7.133 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9438, allocations: 0 / 0.74 GB, free: 7.133 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 9.101e-05/0.9439, allocations: 99.41 kB / 0.7401 GB, free: 7.023 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.9441, allocations: 18.83 kB / 0.7401 GB, free: 7.004 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.9446, allocations: 267 kB / 0.7403 GB, free: 6.707 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.9449, allocations: 0.7357 MB / 0.7411 GB, free: 5.945 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.796e-05/0.945, allocations: 17.2 kB / 0.7411 GB, free: 5.93 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.945, allocations: 43.42 kB / 0.7411 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.945, allocations: 0 / 0.7411 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.968, allocations: 2.668 MB / 0.7437 GB, free: 3.23 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.9683, allocations: 150 kB / 0.7439 GB, free: 3.035 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.756, allocations: 0 / 0.7439 GB, free: 3.035 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat does not exist to compare? outputFormat=mat