Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",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.001878/0.001878, 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.385/1.385, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.00106/0.00106, allocations: 91.8 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.155/1.155, allocations: 120.5 MB / 457.9 MB, free: 7.062 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.448e-05, allocations: 3.938 kB / 0.5358 GB, free: 12.12 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6861, allocations: 82.84 MB / 0.6167 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.8854, allocations: 129.1 MB / 0.7428 GB, free: 8.059 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.8857, allocations: 51.92 kB / 0.7429 GB, free: 8.008 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01217/0.8979, allocations: 4.084 MB / 0.7469 GB, free: 3.922 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8979, allocations: 4 kB / 0.7469 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.898, allocations: 4 kB / 0.7469 GB, free: 3.914 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006068/0.8986, allocations: 450 kB / 0.7473 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.8986, allocations: 12.02 kB / 0.7473 GB, free: 3.418 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.8987, allocations: 34.52 kB / 0.7473 GB, free: 3.375 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.752e-05/0.8988, allocations: 19.81 kB / 0.7474 GB, free: 3.355 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.8993, allocations: 318.2 kB / 0.7477 GB, free: 3 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.8994, allocations: 4 kB / 0.7477 GB, free: 2.996 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.8994, allocations: 0 / 0.7477 GB, free: 2.996 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.8995, allocations: 53.67 kB / 0.7477 GB, free: 2.938 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.8995, allocations: 7.938 kB / 0.7477 GB, free: 2.93 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.8995, allocations: 0 / 0.7477 GB, free: 2.93 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.8996, allocations: 3.953 kB / 0.7477 GB, free: 2.926 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.8996, allocations: 12 kB / 0.7477 GB, free: 2.914 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.8999, allocations: 213.7 kB / 0.7479 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.9, allocations: 46.62 kB / 0.748 GB, free: 2.602 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.9001, allocations: 24.94 kB / 0.748 GB, free: 2.574 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.9001, allocations: 0 / 0.748 GB, free: 2.574 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.9002, allocations: 63.34 kB / 0.7481 GB, free: 2.5 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.9003, allocations: 0 / 0.7481 GB, free: 2.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0002395/0.9005, allocations: 93.39 kB / 0.7482 GB, free: 2.402 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.9006, allocations: 55.36 kB / 0.7482 GB, free: 2.336 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.9008, allocations: 251.1 kB / 0.7485 GB, free: 2.086 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.9009, allocations: 25.7 kB / 0.7485 GB, free: 2.055 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.901, allocations: 140.1 kB / 0.7486 GB, free: 1.914 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.901, allocations: 11.84 kB / 0.7486 GB, free: 1.902 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.901, allocations: 4 kB / 0.7486 GB, free: 1.898 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9011, allocations: 334.8 kB / 0.7489 GB, free: 1.562 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.9012, allocations: 12 kB / 0.749 GB, free: 1.551 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.083e-05/0.9012, allocations: 29.59 kB / 0.749 GB, free: 1.516 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.9013, allocations: 23.98 kB / 0.749 GB, free: 1.492 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9013, allocations: 3.938 kB / 0.749 GB, free: 1.488 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001494/0.9015, allocations: 85.41 kB / 0.7491 GB, free: 1.398 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.9015, allocations: 4 kB / 0.7491 GB, free: 1.395 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.9015, allocations: 0 / 0.7491 GB, free: 1.395 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.9015, allocations: 4 kB / 0.7491 GB, free: 1.391 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.9016, allocations: 15.94 kB / 0.7491 GB, free: 1.375 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9016, allocations: 0 / 0.7491 GB, free: 1.375 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.9017, allocations: 11.94 kB / 0.7491 GB, free: 1.363 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.9017, allocations: 4.031 kB / 0.7491 GB, free: 1.359 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.488e-05/0.9018, allocations: 105 kB / 0.7492 GB, free: 1.25 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.9018, allocations: 31.7 kB / 0.7493 GB, free: 1.219 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.902, allocations: 102.9 kB / 0.7494 GB, free: 1.109 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.902, allocations: 0 / 0.7494 GB, free: 1.109 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.902, allocations: 192 / 0.7494 GB, free: 1.109 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9021, allocations: 4 kB / 0.7494 GB, free: 1.105 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.9022, allocations: 221.5 kB / 0.7496 GB, free: 0.8398 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9023, allocations: 0 / 0.7496 GB, free: 0.8398 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.9023, allocations: 12 kB / 0.7496 GB, free: 0.8281 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.9023, allocations: 3.984 kB / 0.7496 GB, free: 0.8242 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.9023, allocations: 4 kB / 0.7496 GB, free: 0.8203 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9023, allocations: 0 / 0.7496 GB, free: 0.8203 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9023, allocations: 0 / 0.7496 GB, free: 0.8203 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.9025, allocations: 120.8 kB / 0.7497 GB, free: 0.6836 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.9026, allocations: 104.8 kB / 0.7498 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.9026, allocations: 4 kB / 0.7498 GB, free: 0.5586 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.792e-05/0.9027, allocations: 8 kB / 0.7498 GB, free: 0.5508 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.9028, allocations: 7.938 kB / 0.7498 GB, free: 0.543 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.9028, allocations: 3.984 kB / 0.7498 GB, free: 0.5391 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001991/0.903, allocations: 203.1 kB / 0.75 GB, free: 348 kB / 0.5419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.903, allocations: 0 / 0.75 GB, free: 348 kB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002284/0.9032, allocations: 31.94 kB / 0.7501 GB, free: 316 kB / 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.7412/1.644, allocations: 0.9205 MB / 0.751 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0002255/1.645, allocations: 36.92 kB / 0.751 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.645, allocations: 0 / 0.751 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/1.645, allocations: 23.19 kB / 0.751 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/1.645, allocations: 39.53 kB / 0.7511 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/1.646, allocations: 303 kB / 0.7513 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/1.646, allocations: 0.7455 MB / 0.7521 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001327/1.646, allocations: 34.64 kB / 0.7521 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/1.646, allocations: 66.22 kB / 0.7522 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of SimCode: time 3.91e-07/1.646, allocations: 0 / 0.7522 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/1.664, allocations: 3.761 MB / 0.7558 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.664, allocations: 209.8 kB / 0.756 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/3.663, allocations: 0 / 0.756 GB, free: 129.8 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat does not exist to compare? outputFormat=mat