Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.001562/0.001562, allocations: 179.8 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.653/1.653, allocations: 221.3 MB / 236 MB, free: 2.891 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.001259/0.001259, allocations: 106.7 kB / 287 MB, free: 176 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.2616/0.2616, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.728e-05, allocations: 8 kB / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1895, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5224/0.712, allocations: 89.22 MB / 0.5889 GB, free: 32 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.7124, allocations: 75.97 kB / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.7311, allocations: 5.6 MB / 0.5945 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7312, allocations: 0 / 0.5945 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.7312, allocations: 4 kB / 0.5945 GB, free: 10.36 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.000508/0.7317, allocations: 410.2 kB / 0.5949 GB, free: 9.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.7318, allocations: 8.031 kB / 0.5949 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.7318, allocations: 42.48 kB / 0.5949 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.7319, allocations: 11.81 kB / 0.5949 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.7322, allocations: 207.6 kB / 0.5951 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.7323, allocations: 7.953 kB / 0.5951 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.7323, allocations: 3.984 kB / 0.5951 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.7324, allocations: 61.62 kB / 0.5952 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.7325, allocations: 3.938 kB / 0.5952 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7325, allocations: 8 kB / 0.5952 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7325, allocations: 3.984 kB / 0.5952 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.7326, allocations: 16 kB / 0.5952 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.733, allocations: 292.9 kB / 0.5955 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.7332, allocations: 62.62 kB / 0.5956 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.7332, allocations: 16.98 kB / 0.5956 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.7332, allocations: 4 kB / 0.5956 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.7334, allocations: 63.39 kB / 0.5956 GB, free: 8.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.7334, allocations: 0 / 0.5956 GB, free: 8.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004926/0.7339, allocations: 153.1 kB / 0.5958 GB, free: 8.828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.734, allocations: 55.41 kB / 0.5958 GB, free: 8.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.7342, allocations: 191.7 kB / 0.596 GB, free: 8.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.7342, allocations: 25.7 kB / 0.5961 GB, free: 8.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.7343, allocations: 100.1 kB / 0.5961 GB, free: 8.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.7343, allocations: 23.66 kB / 0.5962 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-06/0.7344, allocations: 8 kB / 0.5962 GB, free: 8.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.7345, allocations: 322.8 kB / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.7346, allocations: 20 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.7346, allocations: 41.64 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.7347, allocations: 24 kB / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7347, allocations: 0 / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.7349, allocations: 105.6 kB / 0.5967 GB, free: 7.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7349, allocations: 4 kB / 0.5967 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7349, allocations: 3.938 kB / 0.5967 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7349, allocations: 0 / 0.5967 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.735, allocations: 19.98 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.7351, allocations: 0 / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.7351, allocations: 8.031 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.7351, allocations: 0 / 0.5967 GB, free: 7.84 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.713e-05/0.7352, allocations: 113.7 kB / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.7353, allocations: 11.81 kB / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.7355, allocations: 119.1 kB / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7355, allocations: 4 kB / 0.5969 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7355, allocations: 0 / 0.5969 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.7355, allocations: 0 / 0.5969 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.736, allocations: 423.2 kB / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7361, allocations: 0 / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.7361, allocations: 15.94 kB / 0.5974 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.7361, allocations: 192 / 0.5974 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7361, allocations: 4 kB / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7362, allocations: 4 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7362, allocations: 0 / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.7364, allocations: 225.8 kB / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.7365, allocations: 93 kB / 0.5977 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.7365, allocations: 4 kB / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.7366, allocations: 0 / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.7367, allocations: 11.94 kB / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.7367, allocations: 8 kB / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.7368, allocations: 148.9 kB / 0.5978 GB, free: 6.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7368, allocations: 4 kB / 0.5978 GB, free: 6.562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.7371, allocations: 39.92 kB / 0.5979 GB, free: 6.523 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.001498/0.7386, allocations: 1.132 MB / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.7388, allocations: 59.88 kB / 0.599 GB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7388, allocations: 0 / 0.599 GB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.7389, allocations: 36.08 kB / 0.5991 GB, free: 5.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.7392, allocations: 32.2 kB / 0.5991 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.7399, allocations: 237 kB / 0.5993 GB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.7402, allocations: 0.7082 MB / 0.6 GB, free: 4.359 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.037e-05/0.7403, allocations: 20.41 kB / 0.6 GB, free: 4.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.7404, allocations: 39.36 kB / 0.6001 GB, free: 4.301 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7404, allocations: 4 kB / 0.6001 GB, free: 4.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.7574, allocations: 3.06 MB / 0.6031 GB, free: 1.328 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/0.7578, allocations: 200 kB / 0.6033 GB, free: 1.086 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.61, allocations: 4 kB / 0.6033 GB, free: 1.082 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat