Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001482/0.001482, allocations: 185.1 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.484/1.484, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008762/0.0008762, allocations: 97.19 kB / 292.1 MB, free: 10.92 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.3664/0.3664, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4474, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.6239, allocations: 89.3 MB / 0.5969 GB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.6243, allocations: 79.92 kB / 0.5969 GB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.6393, allocations: 5.728 MB / 0.6025 GB, free: 16 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6393, allocations: 0 / 0.6025 GB, free: 16 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.6394, allocations: 4 kB / 0.6025 GB, free: 12 kB / 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.0005278/0.6399, allocations: 426.8 kB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.6399, allocations: 12.03 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.64, allocations: 30.56 kB / 0.603 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.64, allocations: 11.81 kB / 0.603 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.6403, allocations: 221.1 kB / 0.6032 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.6404, allocations: 7.938 kB / 0.6032 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.6404, allocations: 8 kB / 0.6032 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.6405, allocations: 57.61 kB / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6406, allocations: 0 / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.6406, allocations: 0 / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.6406, allocations: 0 / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.6407, allocations: 19.98 kB / 0.6033 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.6411, allocations: 308.8 kB / 0.6036 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.6412, allocations: 54.62 kB / 0.6036 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.6413, allocations: 0 / 0.6036 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.6414, allocations: 71.5 kB / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.6414, allocations: 4 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005429/0.642, allocations: 177.1 kB / 0.6039 GB, free: 14.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.642, allocations: 55.41 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.6422, allocations: 193.5 kB / 0.6041 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.6423, allocations: 25.7 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.6423, allocations: 104.1 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.6424, allocations: 23.7 kB / 0.6043 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.6424, allocations: 4 kB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6425, allocations: 335 kB / 0.6046 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.6426, allocations: 12 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.6426, allocations: 41.64 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.6427, allocations: 27.98 kB / 0.6047 GB, free: 13.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6427, allocations: 0 / 0.6047 GB, free: 13.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/0.6429, allocations: 101.5 kB / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.6429, allocations: 7.984 kB / 0.6048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6429, allocations: 7.969 kB / 0.6048 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6429, allocations: 0 / 0.6048 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.643, allocations: 24.31 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6431, allocations: 0 / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.6431, allocations: 7.984 kB / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.6431, allocations: 4 kB / 0.6048 GB, free: 13.45 MB / 426.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 () * Number of clocked 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.0001074/0.6432, allocations: 132.4 kB / 0.6049 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.6433, allocations: 15.81 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.6435, allocations: 139 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6435, allocations: 0 / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6436, allocations: 0 / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6436, allocations: 0 / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.644, allocations: 419.2 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6441, allocations: 4 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.6441, allocations: 11.94 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6441, allocations: 4.031 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.6441, allocations: 4 kB / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6441, allocations: 0 / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6441, allocations: 0 / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.6444, allocations: 233.8 kB / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.6445, allocations: 93.02 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.6445, allocations: 7.984 kB / 0.6058 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.6446, allocations: 4 kB / 0.6058 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.6446, allocations: 7.953 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6447, allocations: 11.98 kB / 0.6058 GB, free: 12.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.6448, allocations: 155.2 kB / 0.606 GB, free: 12.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6448, allocations: 0 / 0.606 GB, free: 12.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.6451, allocations: 28 kB / 0.606 GB, free: 12.08 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * 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.001536/0.6466, allocations: 1.197 MB / 0.6072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.6468, allocations: 59.91 kB / 0.6072 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6468, allocations: 0 / 0.6072 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.6469, allocations: 35.92 kB / 0.6073 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.6471, allocations: 33.69 kB / 0.6073 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.6484, allocations: 0.9212 MB / 0.6082 GB, free: 9.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.6486, allocations: 0.7121 MB / 0.6089 GB, free: 9.199 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.6487, allocations: 16.86 kB / 0.6089 GB, free: 9.184 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.6488, allocations: 35.42 kB / 0.609 GB, free: 9.148 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6488, allocations: 0 / 0.609 GB, free: 9.148 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.6628, allocations: 3.147 MB / 0.612 GB, free: 6.133 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.6631, allocations: 220.4 kB / 0.6122 GB, free: 5.887 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.306, allocations: 0 / 0.6122 GB, free: 5.887 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat