Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.001993/0.001993, allocations: 180 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.666/1.666, allocations: 221.3 MB / 236 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.00082/0.0008202, allocations: 94.91 kB / 287 MB, free: 240 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.2794/0.2794, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.729e-05, allocations: 4.219 kB / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1685, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.6419, allocations: 89.22 MB / 0.5889 GB, free: 8 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.6422, allocations: 72.05 kB / 0.589 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.6583, allocations: 5.872 MB / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6584, allocations: 7.938 kB / 0.5947 GB, free: 10.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.6584, allocations: 4 kB / 0.5947 GB, free: 10.07 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.0005121/0.6589, allocations: 422.1 kB / 0.5951 GB, free: 9.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.659, allocations: 12.03 kB / 0.5952 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.659, allocations: 30.56 kB / 0.5952 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.6591, allocations: 7.906 kB / 0.5952 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.6594, allocations: 230.5 kB / 0.5954 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.6595, allocations: 11.95 kB / 0.5954 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.6595, allocations: 11.98 kB / 0.5954 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.6596, allocations: 49.62 kB / 0.5955 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6597, allocations: 4 kB / 0.5955 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.6597, allocations: 7.938 kB / 0.5955 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.6597, allocations: 0 / 0.5955 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.6598, allocations: 19.98 kB / 0.5955 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.6602, allocations: 304.8 kB / 0.5958 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.6604, allocations: 62.62 kB / 0.5959 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.6604, allocations: 16.98 kB / 0.5959 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.6604, allocations: 7.984 kB / 0.5959 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.6606, allocations: 63.39 kB / 0.596 GB, free: 8.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.6606, allocations: 0 / 0.596 GB, free: 8.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005115/0.6611, allocations: 165.1 kB / 0.5961 GB, free: 8.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.6612, allocations: 55.41 kB / 0.5962 GB, free: 8.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.6614, allocations: 237.8 kB / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.6614, allocations: 25.7 kB / 0.5964 GB, free: 8.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.6615, allocations: 112.1 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.6616, allocations: 23.66 kB / 0.5965 GB, free: 8.016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.6616, allocations: 0 / 0.5965 GB, free: 8.016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6617, allocations: 334.8 kB / 0.5969 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.6617, allocations: 20 kB / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.6618, allocations: 41.66 kB / 0.5969 GB, free: 7.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.6619, allocations: 19.98 kB / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.6619, allocations: 0 / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000151/0.662, allocations: 105.4 kB / 0.597 GB, free: 7.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.662, allocations: 5.25 kB / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6621, allocations: 0 / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6621, allocations: 0 / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.6622, allocations: 24.17 kB / 0.5971 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6622, allocations: 4.031 kB / 0.5971 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.6622, allocations: 7.938 kB / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.6623, allocations: 0 / 0.5971 GB, free: 7.445 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 8.306e-05/0.6624, allocations: 116.9 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.6624, allocations: 15.81 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.6626, allocations: 115.1 kB / 0.5973 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.6626, allocations: 4 kB / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6626, allocations: 0 / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6626, allocations: 4 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.6631, allocations: 431.2 kB / 0.5977 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6632, allocations: 8.109 kB / 0.5977 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.6632, allocations: 23.92 kB / 0.5978 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6632, allocations: 0 / 0.5978 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.6632, allocations: 0 / 0.5978 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6632, allocations: 0 / 0.5978 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6632, allocations: 4 kB / 0.5978 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.6635, allocations: 225.8 kB / 0.598 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.6636, allocations: 100.9 kB / 0.5981 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.6637, allocations: 4 kB / 0.5981 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.6637, allocations: 8 kB / 0.5981 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.6638, allocations: 11.94 kB / 0.5981 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.6638, allocations: 0 / 0.5981 GB, free: 6.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.664, allocations: 200.2 kB / 0.5983 GB, free: 6.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.664, allocations: 4 kB / 0.5983 GB, free: 6.078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.6643, allocations: 39.92 kB / 0.5983 GB, free: 6.039 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.001443/0.6657, allocations: 1.131 MB / 0.5994 GB, free: 4.996 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.6659, allocations: 59.92 kB / 0.5995 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6659, allocations: 3.938 kB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.666, allocations: 36 kB / 0.5995 GB, free: 4.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.6663, allocations: 31.66 kB / 0.5996 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.667, allocations: 285 kB / 0.5998 GB, free: 4.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.6674, allocations: 0.7277 MB / 0.6006 GB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.6675, allocations: 28.47 kB / 0.6006 GB, free: 3.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.6675, allocations: 43.42 kB / 0.6006 GB, free: 3.723 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6676, allocations: 0 / 0.6006 GB, free: 3.723 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.6827, allocations: 3.429 MB / 0.604 GB, free: 384 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.6829, allocations: 190.5 kB / 0.6041 GB, free: 152 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.477, allocations: 4.062 kB / 0.6042 GB, free: 148 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat