Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.001233/0.001233, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.458/1.458, allocations: 221.3 MB / 236 MB, free: 2.934 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.001091/0.001091, allocations: 95.98 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.27/0.27, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.214e-05, allocations: 4.219 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.6229, allocations: 89.22 MB / 0.5889 GB, free: 24 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/0.6234, allocations: 72.05 kB / 0.589 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01786/0.6412, allocations: 5.868 MB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.918e-06/0.6413, allocations: 3.938 kB / 0.5947 GB, free: 10.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.6413, allocations: 4 kB / 0.5947 GB, free: 10.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006058/0.6419, allocations: 426.1 kB / 0.5951 GB, free: 9.637 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/0.642, allocations: 8.031 kB / 0.5952 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.6421, allocations: 34.56 kB / 0.5952 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.6421, allocations: 7.906 kB / 0.5952 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.6426, allocations: 230.5 kB / 0.5954 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.6426, allocations: 15.89 kB / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.6426, allocations: 0 / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.6428, allocations: 53.67 kB / 0.5955 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6428, allocations: 4 kB / 0.5955 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.6428, allocations: 7.938 kB / 0.5955 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.6428, allocations: 0 / 0.5955 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.493e-05/0.6429, allocations: 19.98 kB / 0.5955 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.6434, allocations: 304.8 kB / 0.5958 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.6436, allocations: 58.62 kB / 0.5959 GB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.6437, allocations: 20.98 kB / 0.5959 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.6437, allocations: 0 / 0.5959 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.6439, allocations: 71.39 kB / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.6439, allocations: 0 / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005054/0.6444, allocations: 161.1 kB / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.6444, allocations: 55.41 kB / 0.5962 GB, free: 8.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.6448, allocations: 233.8 kB / 0.5964 GB, free: 8.215 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.6448, allocations: 33.69 kB / 0.5964 GB, free: 8.176 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6449, allocations: 112.1 kB / 0.5965 GB, free: 8.062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.645, allocations: 27.64 kB / 0.5965 GB, free: 8.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.645, allocations: 4 kB / 0.5965 GB, free: 8.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6451, allocations: 326.8 kB / 0.5969 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.6452, allocations: 23.94 kB / 0.5969 GB, free: 7.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.6452, allocations: 33.7 kB / 0.5969 GB, free: 7.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.6453, allocations: 27.98 kB / 0.5969 GB, free: 7.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6453, allocations: 4 kB / 0.5969 GB, free: 7.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001658/0.6455, allocations: 97.44 kB / 0.597 GB, free: 7.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6455, allocations: 9.25 kB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.6455, allocations: 0 / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.6455, allocations: 0 / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.6456, allocations: 16.17 kB / 0.5971 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.6457, allocations: 4 kB / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.6457, allocations: 3.938 kB / 0.5971 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.6458, allocations: 8.031 kB / 0.5971 GB, free: 7.469 MB / 410.7 MB 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001085/0.6459, allocations: 112.9 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.6459, allocations: 19.8 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.6462, allocations: 119.1 kB / 0.5973 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6462, allocations: 4 kB / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6462, allocations: 0 / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6462, allocations: 3.984 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.6467, allocations: 431.2 kB / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6468, allocations: 3.938 kB / 0.5977 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.6468, allocations: 11.94 kB / 0.5977 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6468, allocations: 7.984 kB / 0.5978 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.6468, allocations: 4 kB / 0.5978 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6468, allocations: 0 / 0.5978 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6468, allocations: 4 kB / 0.5978 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.6471, allocations: 221.8 kB / 0.598 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.6472, allocations: 100.9 kB / 0.5981 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.6473, allocations: 8 kB / 0.5981 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.6473, allocations: 4 kB / 0.5981 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.6474, allocations: 11.94 kB / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.6474, allocations: 0 / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002374/0.6477, allocations: 196.2 kB / 0.5983 GB, free: 6.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6477, allocations: 4 kB / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.648, allocations: 35.94 kB / 0.5983 GB, free: 6.074 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001674/0.6496, allocations: 1.149 MB / 0.5994 GB, free: 5.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.6498, allocations: 52 kB / 0.5995 GB, free: 4.965 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6499, allocations: 3.938 kB / 0.5995 GB, free: 4.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.6499, allocations: 35.92 kB / 0.5995 GB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.6503, allocations: 27.84 kB / 0.5996 GB, free: 4.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.651, allocations: 293 kB / 0.5998 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.6513, allocations: 0.7238 MB / 0.6005 GB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.5e-05/0.6514, allocations: 24.41 kB / 0.6006 GB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.6516, allocations: 43.42 kB / 0.6006 GB, free: 3.754 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6516, allocations: 4 kB / 0.6006 GB, free: 3.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.669, allocations: 3.436 MB / 0.604 GB, free: 408 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.6692, allocations: 178.9 kB / 0.6041 GB, free: 184 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.385, allocations: 0 / 0.6041 GB, free: 184 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat