Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.001698/0.001698, allocations: 177.1 kB / 17.06 MB, free: 5.098 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.416/1.416, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008825/0.0008825, allocations: 93.41 kB / 292.1 MB, free: 10.68 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.3791/0.3791, allocations: 44.22 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003209, allocations: 12 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3511, allocations: 61.91 MB / 0.5096 GB, free: 37.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4721, allocations: 89.34 MB / 0.5969 GB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4724, allocations: 87.91 kB / 0.597 GB, free: 5.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01684/0.4893, allocations: 6.019 MB / 0.6029 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4893, allocations: 0 / 0.6029 GB, free: 15.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.4893, allocations: 4 kB / 0.6029 GB, free: 15.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000644/0.49, allocations: 442.6 kB / 0.6033 GB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.49, allocations: 16.03 kB / 0.6033 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.4901, allocations: 34.56 kB / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.4901, allocations: 11.89 kB / 0.6033 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.4905, allocations: 221.7 kB / 0.6036 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.4905, allocations: 7.953 kB / 0.6036 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4905, allocations: 0 / 0.6036 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4907, allocations: 61.66 kB / 0.6036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4907, allocations: 3.938 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4907, allocations: 4 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4907, allocations: 8 kB / 0.6036 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.265e-05/0.4908, allocations: 23.92 kB / 0.6037 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.4913, allocations: 316.6 kB / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.4916, allocations: 58.56 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4916, allocations: 7.984 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.4917, allocations: 75.44 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.4918, allocations: 0 / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007759/0.4925, allocations: 245.3 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4926, allocations: 55.41 kB / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4928, allocations: 201.8 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4929, allocations: 25.7 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.4929, allocations: 108.1 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.493, allocations: 31.55 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.493, allocations: 4 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4931, allocations: 338.8 kB / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.4932, allocations: 24 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.4933, allocations: 49.69 kB / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.4934, allocations: 39.98 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4934, allocations: 4 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002386/0.4936, allocations: 125.4 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4937, allocations: 8 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4937, allocations: 0 / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4937, allocations: 0 / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.4938, allocations: 27.92 kB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4938, allocations: 0 / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.4938, allocations: 8 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4939, allocations: 4 kB / 0.6053 GB, free: 12.86 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 (13): * Single equations (assignments): 13 * 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.0001248/0.494, allocations: 147.9 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.494, allocations: 11.81 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.4943, allocations: 151.7 kB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4944, allocations: 7.938 kB / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4944, allocations: 0 / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4944, allocations: 0 / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.495, allocations: 483.9 kB / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.495, allocations: 96 / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.495, allocations: 19.94 kB / 0.6061 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4951, allocations: 4 kB / 0.6061 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.4951, allocations: 0 / 0.6061 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.4951, allocations: 7.984 kB / 0.6061 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4951, allocations: 3.953 kB / 0.6061 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.4954, allocations: 256.5 kB / 0.6064 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.4955, allocations: 104.9 kB / 0.6065 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4955, allocations: 4 kB / 0.6065 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.4956, allocations: 11.98 kB / 0.6065 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.4957, allocations: 8 kB / 0.6065 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4957, allocations: 11.92 kB / 0.6065 GB, free: 11.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.4958, allocations: 168.3 kB / 0.6067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4958, allocations: 0 / 0.6067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.4961, allocations: 47.92 kB / 0.6067 GB, free: 11.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001755/0.4979, allocations: 1.355 MB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.4981, allocations: 79.91 kB / 0.6081 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4981, allocations: 0 / 0.6081 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.4982, allocations: 48.11 kB / 0.6082 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.4985, allocations: 32.31 kB / 0.6082 GB, free: 9.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.4999, allocations: 1.022 MB / 0.6092 GB, free: 8.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.5002, allocations: 0.72 MB / 0.6099 GB, free: 8.152 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.828e-05/0.5003, allocations: 24.62 kB / 0.6099 GB, free: 8.129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.5004, allocations: 43.42 kB / 0.61 GB, free: 8.086 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5004, allocations: 0 / 0.61 GB, free: 8.086 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.515, allocations: 3.519 MB / 0.6134 GB, free: 4.699 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.5153, allocations: 221.5 kB / 0.6136 GB, free: 4.453 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.245, allocations: 0 / 0.6136 GB, free: 4.453 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat