Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.2 MB / 218.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009134/0.0009138, allocations: 94.53 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4622/0.4622, allocations: 43.46 MB / 358.6 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.061e-05, allocations: 12 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1463, allocations: 58.84 MB / 484.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5397/0.6861, allocations: 87.63 MB / 0.5585 GB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.6865, allocations: 79.94 kB / 0.5586 GB, free: 1.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02078/0.7073, allocations: 5.312 MB / 0.5637 GB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7073, allocations: 0 / 0.5637 GB, free: 11.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.7074, allocations: 7.391 kB / 0.5637 GB, free: 11.96 MB / 394.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.0006198/0.708, allocations: 404.7 kB / 0.5641 GB, free: 11.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.708, allocations: 8.031 kB / 0.5641 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.7081, allocations: 38.56 kB / 0.5642 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.7082, allocations: 15.34 kB / 0.5642 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.7086, allocations: 196 kB / 0.5644 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.7086, allocations: 8 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.7087, allocations: 0 / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.7088, allocations: 53.67 kB / 0.5644 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.7089, allocations: 0 / 0.5644 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7089, allocations: 5.375 kB / 0.5644 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.7089, allocations: 3.984 kB / 0.5644 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.709, allocations: 19.94 kB / 0.5645 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.7095, allocations: 300.7 kB / 0.5648 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.7097, allocations: 50.69 kB / 0.5648 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.7098, allocations: 24.92 kB / 0.5648 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.7098, allocations: 0 / 0.5648 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.71, allocations: 75.95 kB / 0.5649 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.71, allocations: 0 / 0.5649 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006084/0.7106, allocations: 153.2 kB / 0.565 GB, free: 10.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.7107, allocations: 59.41 kB / 0.5651 GB, free: 10.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.711, allocations: 162.6 kB / 0.5653 GB, free: 10.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.711, allocations: 29.7 kB / 0.5653 GB, free: 10.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.7111, allocations: 100.1 kB / 0.5654 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.7111, allocations: 27.64 kB / 0.5654 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.7111, allocations: 4.844 kB / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7113, allocations: 322.8 kB / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.7114, allocations: 20 kB / 0.5657 GB, free: 9.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.7115, allocations: 30.66 kB / 0.5658 GB, free: 9.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.007e-05/0.7116, allocations: 23.98 kB / 0.5658 GB, free: 9.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.7116, allocations: 0 / 0.5658 GB, free: 9.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002414/0.7118, allocations: 97.53 kB / 0.5659 GB, free: 9.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.7119, allocations: 8.031 kB / 0.5659 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.7119, allocations: 0 / 0.5659 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7119, allocations: 4 kB / 0.5659 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.712, allocations: 15.98 kB / 0.5659 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.7121, allocations: 7.891 kB / 0.5659 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.7122, allocations: 4 kB / 0.5659 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.7122, allocations: 192 / 0.5659 GB, free: 9.52 MB / 394.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.0001438/0.7123, allocations: 109 kB / 0.566 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.7124, allocations: 15.83 kB / 0.566 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.7127, allocations: 118.1 kB / 0.5661 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.7127, allocations: 0 / 0.5661 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.7127, allocations: 7.984 kB / 0.5662 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.7128, allocations: 3.953 kB / 0.5662 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.7135, allocations: 395.3 kB / 0.5665 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7135, allocations: 0 / 0.5665 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.7135, allocations: 15.98 kB / 0.5666 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.7136, allocations: 8.031 kB / 0.5666 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.7136, allocations: 3.953 kB / 0.5666 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.7136, allocations: 240 / 0.5666 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7136, allocations: 3.938 kB / 0.5666 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.714, allocations: 217.9 kB / 0.5668 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.7141, allocations: 92.91 kB / 0.5669 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.7141, allocations: 15.95 kB / 0.5669 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.7143, allocations: 4 kB / 0.5669 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.7143, allocations: 7.984 kB / 0.5669 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.7143, allocations: 0 / 0.5669 GB, free: 8.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001856/0.7145, allocations: 127.3 kB / 0.567 GB, free: 8.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7145, allocations: 7.938 kB / 0.567 GB, free: 8.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004271/0.715, allocations: 31.92 kB / 0.5671 GB, free: 8.246 MB / 394.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.00225/0.7172, allocations: 1.139 MB / 0.5682 GB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.7175, allocations: 59.91 kB / 0.5682 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7175, allocations: 0 / 0.5682 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.7176, allocations: 28 kB / 0.5682 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.718, allocations: 31.91 kB / 0.5683 GB, free: 7.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.7188, allocations: 209.4 kB / 0.5685 GB, free: 6.797 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.7192, allocations: 0.7162 MB / 0.5692 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.7193, allocations: 12.86 kB / 0.5692 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.7194, allocations: 31.42 kB / 0.5692 GB, free: 6.012 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.7194, allocations: 0 / 0.5692 GB, free: 6.012 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.7397, allocations: 2.933 MB / 0.5721 GB, free: 3.113 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/0.7401, allocations: 187.6 kB / 0.5723 GB, free: 2.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.441, allocations: 0 / 0.5723 GB, free: 2.887 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat