Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.001765/0.001765, allocations: 180.1 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.572/1.572, allocations: 221.3 MB / 236 MB, free: 2.965 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.001022/0.001022, allocations: 95.61 kB / 287 MB, free: 252 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.2352/0.2352, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.863e-05/3.865e-05, allocations: 4 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.6223, allocations: 89.04 MB / 0.5888 GB, free: 224 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.6226, allocations: 75.95 kB / 0.5888 GB, free: 148 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01511/0.6377, allocations: 5.73 MB / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6377, allocations: 0 / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.6378, allocations: 4 kB / 0.5944 GB, free: 10.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004684/0.6382, allocations: 410.1 kB / 0.5948 GB, free: 9.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6383, allocations: 12.03 kB / 0.5948 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.6383, allocations: 38.55 kB / 0.5949 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.6384, allocations: 7.906 kB / 0.5949 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.6387, allocations: 222.5 kB / 0.5951 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.6388, allocations: 4 kB / 0.5951 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.6388, allocations: 3.953 kB / 0.5951 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.6389, allocations: 41.69 kB / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6389, allocations: 4 kB / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.6389, allocations: 4 kB / 0.5951 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6389, allocations: 0 / 0.5951 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.639, allocations: 19.92 kB / 0.5952 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.6393, allocations: 197.7 kB / 0.5953 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.6394, allocations: 46.62 kB / 0.5954 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.6394, allocations: 20.8 kB / 0.5954 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.6395, allocations: 7.953 kB / 0.5954 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.6396, allocations: 71.45 kB / 0.5955 GB, free: 9.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.6396, allocations: 0 / 0.5955 GB, free: 9.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002104/0.6398, allocations: 81.5 kB / 0.5956 GB, free: 9.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.6399, allocations: 51.41 kB / 0.5956 GB, free: 9.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.6402, allocations: 241.8 kB / 0.5958 GB, free: 8.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.6402, allocations: 25.7 kB / 0.5959 GB, free: 8.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.6402, allocations: 116.1 kB / 0.596 GB, free: 8.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.6403, allocations: 11.81 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/0.6403, allocations: 0 / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6404, allocations: 326.8 kB / 0.5963 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.6405, allocations: 12 kB / 0.5963 GB, free: 8.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.6405, allocations: 33.62 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.6406, allocations: 20 kB / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6406, allocations: 4 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001244/0.6407, allocations: 73.59 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.6407, allocations: 11.95 kB / 0.5965 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6408, allocations: 128 / 0.5965 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6408, allocations: 0 / 0.5965 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.6409, allocations: 19.92 kB / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.6409, allocations: 4 kB / 0.5965 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.6409, allocations: 7.844 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.641, allocations: 4 kB / 0.5965 GB, free: 8.082 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 (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 7.237e-05/0.641, allocations: 113 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.6411, allocations: 15.83 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.6413, allocations: 102.5 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6413, allocations: 4 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6413, allocations: 0 / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6413, allocations: 0 / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.6415, allocations: 205.6 kB / 0.5969 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6415, allocations: 0 / 0.5969 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.6415, allocations: 7.984 kB / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6415, allocations: 4 kB / 0.5969 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.6416, allocations: 0 / 0.5969 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.6416, allocations: 3.953 kB / 0.5969 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6416, allocations: 7.938 kB / 0.5969 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.6417, allocations: 112.9 kB / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.6418, allocations: 93.02 kB / 0.5971 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.6419, allocations: 7.984 kB / 0.5971 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.6419, allocations: 0 / 0.5971 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.642, allocations: 15.89 kB / 0.5971 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.642, allocations: 0 / 0.5971 GB, free: 7.297 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.6422, allocations: 196.2 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6422, allocations: 0 / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.6424, allocations: 27.98 kB / 0.5974 GB, free: 7.078 MB / 410.7 MB 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,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 (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.001276/0.6437, allocations: 0.9275 MB / 0.5983 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.6438, allocations: 39.94 kB / 0.5983 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6438, allocations: 0 / 0.5983 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.6439, allocations: 20 kB / 0.5983 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.6441, allocations: 31.7 kB / 0.5984 GB, free: 6.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.6447, allocations: 272.2 kB / 0.5986 GB, free: 5.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.6451, allocations: 0.72 MB / 0.5993 GB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.6451, allocations: 16.42 kB / 0.5993 GB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.6452, allocations: 39.42 kB / 0.5994 GB, free: 5.039 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6452, allocations: 0 / 0.5994 GB, free: 5.039 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.6651, allocations: 3.16 MB / 0.6025 GB, free: 1.969 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/0.6655, allocations: 187.4 kB / 0.6026 GB, free: 1.746 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.393, allocations: 0 / 0.6026 GB, free: 1.746 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat