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.001557/0.001557, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.354/1.354, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008849/0.0008848, allocations: 102 kB / 291.5 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7338/0.7338, allocations: 120.5 MB / 463 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002927, allocations: 4 kB / 0.5434 GB, free: 42.3 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 82.84 MB / 0.6243 GB, free: 9.113 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6682/0.8137, allocations: 126.7 MB / 0.748 GB, free: 7.207 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.814, allocations: 51.03 kB / 0.7481 GB, free: 7.184 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.008927/0.8229, allocations: 3.197 MB / 0.7512 GB, free: 4.438 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.644e-06/0.8229, allocations: 3.938 kB / 0.7512 GB, free: 4.434 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.8229, allocations: 0 / 0.7512 GB, free: 4.434 MB / 0.5107 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.0004822/0.8234, allocations: 488 kB / 0.7517 GB, free: 3.914 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.8235, allocations: 8.031 kB / 0.7517 GB, free: 3.906 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.979e-05/0.8235, allocations: 38.52 kB / 0.7517 GB, free: 3.859 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.8236, allocations: 15.81 kB / 0.7517 GB, free: 3.844 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.824, allocations: 295 kB / 0.752 GB, free: 3.527 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.824, allocations: 0 / 0.752 GB, free: 3.527 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.824, allocations: 0 / 0.752 GB, free: 3.527 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.8241, allocations: 53.38 kB / 0.7521 GB, free: 3.477 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8242, allocations: 3.984 kB / 0.7521 GB, free: 3.473 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8242, allocations: 4 kB / 0.7521 GB, free: 3.469 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8242, allocations: 3.953 kB / 0.7521 GB, free: 3.465 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.8242, allocations: 23.86 kB / 0.7521 GB, free: 3.445 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.8245, allocations: 204.5 kB / 0.7523 GB, free: 3.215 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.8246, allocations: 42.12 kB / 0.7523 GB, free: 3.176 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.8246, allocations: 3.938 kB / 0.7524 GB, free: 3.172 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.8247, allocations: 96.83 kB / 0.7524 GB, free: 3.066 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=8): time 2.706e-06/0.8247, allocations: 4 kB / 0.7524 GB, free: 3.062 MB / 0.5107 GB Notification: Performance of matching and sorting (n=8): time 0.0003576/0.8251, allocations: 239.7 kB / 0.7527 GB, free: 2.82 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.8252, allocations: 88.75 kB / 0.7528 GB, free: 2.719 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.8254, allocations: 203.7 kB / 0.753 GB, free: 2.535 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.8254, allocations: 25.7 kB / 0.753 GB, free: 2.504 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.8255, allocations: 126.8 kB / 0.7531 GB, free: 2.402 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.8255, allocations: 15.73 kB / 0.7531 GB, free: 2.391 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.8255, allocations: 4 kB / 0.7531 GB, free: 2.387 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8256, allocations: 330.5 kB / 0.7534 GB, free: 2.062 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.8257, allocations: 15.94 kB / 0.7534 GB, free: 2.051 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.8257, allocations: 19.67 kB / 0.7535 GB, free: 2.039 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.8258, allocations: 49.48 kB / 0.7535 GB, free: 1.992 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8258, allocations: 3.938 kB / 0.7535 GB, free: 1.988 MB / 0.5107 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000169/0.8259, allocations: 146.6 kB / 0.7537 GB, free: 1.852 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.826, allocations: 33.39 kB / 0.7537 GB, free: 1.816 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.826, allocations: 6.812 kB / 0.7537 GB, free: 1.812 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.826, allocations: 0 / 0.7537 GB, free: 1.812 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.8261, allocations: 4 kB / 0.7537 GB, free: 1.809 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.8261, allocations: 8.797 kB / 0.7537 GB, free: 1.801 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.8261, allocations: 15.88 kB / 0.7537 GB, free: 1.785 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.8262, allocations: 4 kB / 0.7537 GB, free: 1.781 MB / 0.5107 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.8263, allocations: 182.5 kB / 0.7539 GB, free: 1.602 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.8263, allocations: 19.72 kB / 0.7539 GB, free: 1.582 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.8264, allocations: 21.27 kB / 0.7539 GB, free: 1.559 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8264, allocations: 0 / 0.7539 GB, free: 1.559 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8264, allocations: 0 / 0.7539 GB, free: 1.559 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8264, allocations: 4 kB / 0.7539 GB, free: 1.555 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.8266, allocations: 217 kB / 0.7542 GB, free: 1.312 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8266, allocations: 3.938 kB / 0.7542 GB, free: 1.309 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.8266, allocations: 4 kB / 0.7542 GB, free: 1.305 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8266, allocations: 0 / 0.7542 GB, free: 1.305 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.8266, allocations: 4 kB / 0.7542 GB, free: 1.301 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8266, allocations: 0 / 0.7542 GB, free: 1.301 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8266, allocations: 0 / 0.7542 GB, free: 1.301 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.8269, allocations: 193.1 kB / 0.7543 GB, free: 1.117 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.827, allocations: 100.9 kB / 0.7544 GB, free: 1 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.827, allocations: 4 kB / 0.7544 GB, free: 0.9961 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.8271, allocations: 11.8 kB / 0.7545 GB, free: 0.9883 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.8271, allocations: 4.859 kB / 0.7545 GB, free: 0.9844 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.8271, allocations: 8 kB / 0.7545 GB, free: 0.9766 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.0001338/0.8273, allocations: 171.8 kB / 0.7546 GB, free: 0.8281 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8273, allocations: 0 / 0.7546 GB, free: 0.8281 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002292/0.8275, allocations: 43.88 kB / 0.7547 GB, free: 0.7891 MB / 0.5107 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 (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.0005544/0.8281, allocations: 0.7538 MB / 0.7554 GB, free: 32 kB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.8283, allocations: 146.1 kB / 0.7556 GB, free: 15.91 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8283, allocations: 3.938 kB / 0.7556 GB, free: 15.91 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.8284, allocations: 110.5 kB / 0.7557 GB, free: 15.81 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.8285, allocations: 12.55 kB / 0.7557 GB, free: 15.8 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.8298, allocations: 0.9987 MB / 0.7566 GB, free: 14.85 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.8301, allocations: 0.7319 MB / 0.7574 GB, free: 14.09 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.8302, allocations: 29.39 kB / 0.7574 GB, free: 14.07 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.8302, allocations: 41.98 kB / 0.7574 GB, free: 14.05 MB / 0.5263 GB Notification: Performance of SimCode: time 3.91e-07/0.8302, allocations: 0 / 0.7574 GB, free: 14.05 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.8444, allocations: 3.108 MB / 0.7605 GB, free: 11.09 MB / 0.5263 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.8446, allocations: 182.5 kB / 0.7606 GB, free: 10.85 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.532, allocations: 4 kB / 0.7606 GB, free: 10.84 MB / 0.5263 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