Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.0009642/0.0009643, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.408/1.408, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008162/0.0008161, allocations: 97.47 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4945/0.4945, allocations: 44.21 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 12 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, allocations: 61.9 MB / 0.5096 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.524, allocations: 90.06 MB / 0.5976 GB, free: 5.035 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5243, allocations: 79.92 kB / 0.5977 GB, free: 4.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.544, allocations: 7.161 MB / 0.6047 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5441, allocations: 4 kB / 0.6047 GB, free: 13.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.5441, allocations: 8.125 kB / 0.6047 GB, free: 13.79 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007772/0.5449, allocations: 0.5505 MB / 0.6052 GB, free: 13.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5449, allocations: 8.031 kB / 0.6052 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.545, allocations: 38.56 kB / 0.6052 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.5451, allocations: 19.72 kB / 0.6053 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.5455, allocations: 294.4 kB / 0.6055 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5456, allocations: 7.984 kB / 0.6056 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.5456, allocations: 7.953 kB / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.5459, allocations: 112.2 kB / 0.6057 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5459, allocations: 3.938 kB / 0.6057 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5459, allocations: 4 kB / 0.6057 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5459, allocations: 0 / 0.6057 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.5461, allocations: 43.97 kB / 0.6057 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.5466, allocations: 393.6 kB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.5469, allocations: 113.4 kB / 0.6062 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.547, allocations: 4 kB / 0.6062 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.5472, allocations: 125 kB / 0.6063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.5472, allocations: 0 / 0.6063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004716/0.5477, allocations: 189.3 kB / 0.6065 GB, free: 11.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.5478, allocations: 102.8 kB / 0.6066 GB, free: 11.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.5482, allocations: 310.1 kB / 0.6069 GB, free: 11.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.5482, allocations: 29.7 kB / 0.6069 GB, free: 11.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5483, allocations: 136.1 kB / 0.6071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.5484, allocations: 31.7 kB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.5484, allocations: 8 kB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5485, allocations: 330.8 kB / 0.6074 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.263e-05/0.5486, allocations: 35.98 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.5487, allocations: 83.38 kB / 0.6075 GB, free: 10.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.741e-05/0.5488, allocations: 47.88 kB / 0.6076 GB, free: 10.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5488, allocations: 0 / 0.6076 GB, free: 10.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002757/0.5491, allocations: 145.3 kB / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5491, allocations: 4 kB / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5492, allocations: 8.094 kB / 0.6077 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5492, allocations: 0 / 0.6077 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.5493, allocations: 27.92 kB / 0.6077 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5493, allocations: 0 / 0.6077 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/0.5494, allocations: 20.47 kB / 0.6078 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.5495, allocations: 7.984 kB / 0.6078 GB, free: 10.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001762/0.5496, allocations: 162.3 kB / 0.6079 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.5497, allocations: 23.72 kB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.5501, allocations: 175.3 kB / 0.6081 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.5501, allocations: 0 / 0.6081 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5501, allocations: 0 / 0.6081 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5501, allocations: 3.938 kB / 0.6081 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.5504, allocations: 265.4 kB / 0.6084 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5504, allocations: 3.953 kB / 0.6084 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.5504, allocations: 19.92 kB / 0.6084 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5505, allocations: 0 / 0.6084 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.5505, allocations: 7.938 kB / 0.6084 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5505, allocations: 4 kB / 0.6084 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5505, allocations: 0 / 0.6084 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.5508, allocations: 208.5 kB / 0.6086 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.551, allocations: 116.8 kB / 0.6087 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.551, allocations: 0 / 0.6087 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.5511, allocations: 19.98 kB / 0.6087 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.5512, allocations: 11.92 kB / 0.6088 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.5512, allocations: 4 kB / 0.6088 GB, free: 9.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002646/0.5514, allocations: 249.9 kB / 0.609 GB, free: 8.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5515, allocations: 0 / 0.609 GB, free: 8.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.5518, allocations: 44 kB / 0.609 GB, free: 8.914 MB / 426.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001556/0.5533, allocations: 1.135 MB / 0.6101 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.5536, allocations: 99.89 kB / 0.6102 GB, free: 7.805 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5536, allocations: 0 / 0.6102 GB, free: 7.805 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.5538, allocations: 56.09 kB / 0.6103 GB, free: 7.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.5542, allocations: 56.44 kB / 0.6103 GB, free: 7.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.5562, allocations: 1.708 MB / 0.612 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5565, allocations: 0.7557 MB / 0.6128 GB, free: 5.133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.5566, allocations: 38.05 kB / 0.6128 GB, free: 5.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.5568, allocations: 71.41 kB / 0.6129 GB, free: 5.02 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5568, allocations: 0 / 0.6129 GB, free: 5.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.5742, allocations: 5.229 MB / 0.618 GB, free: 15.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.5744, allocations: 206.2 kB / 0.6182 GB, free: 15.71 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.456, allocations: 0 / 0.6182 GB, free: 15.71 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat