Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001013/0.001013, allocations: 177.1 kB / 17.06 MB, free: 5.094 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.357/1.357, allocations: 223.2 MB / 241 MB, free: 10.17 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.0009981/0.000998, allocations: 109.3 kB / 292.1 MB, free: 10.7 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.327/0.327, allocations: 44.2 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 8 kB / 460 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3397, allocations: 61.9 MB / 0.5096 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4622, allocations: 90.21 MB / 0.5977 GB, free: 4.891 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4624, allocations: 83.92 kB / 0.5978 GB, free: 4.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01222/0.4747, allocations: 4.404 MB / 0.6021 GB, free: 420 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4747, allocations: 4 kB / 0.6021 GB, free: 416 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.4747, allocations: 0 / 0.6021 GB, free: 416 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000706/0.4755, allocations: 488.4 kB / 0.6026 GB, free: 15.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4755, allocations: 8.031 kB / 0.6026 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.4756, allocations: 38.56 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.4756, allocations: 19.8 kB / 0.6027 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.476, allocations: 233 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.476, allocations: 11.94 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.4761, allocations: 8 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.4763, allocations: 106.3 kB / 0.603 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4763, allocations: 0 / 0.603 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.4764, allocations: 4 kB / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4764, allocations: 0 / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.4765, allocations: 59.91 kB / 0.6031 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.4772, allocations: 0.5204 MB / 0.6036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.4775, allocations: 94.59 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.4775, allocations: 4 kB / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.4777, allocations: 95.16 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.4777, allocations: 0 / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004063/0.4782, allocations: 149.5 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.4782, allocations: 55.41 kB / 0.6039 GB, free: 14.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.4784, allocations: 174.6 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4784, allocations: 29.7 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.4785, allocations: 115.9 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.4785, allocations: 27.64 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.4786, allocations: 4 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4787, allocations: 326.8 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.4788, allocations: 31.97 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.4789, allocations: 73.91 kB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.479, allocations: 35.92 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.479, allocations: 0 / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003052/0.4793, allocations: 149.3 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4794, allocations: 4 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4794, allocations: 4.469 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4794, allocations: 0 / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4795, allocations: 23.98 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.4795, allocations: 7.938 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.493e-05/0.4796, allocations: 20.02 kB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4796, allocations: 11.89 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000108/0.4798, allocations: 127.7 kB / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.4798, allocations: 11.91 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.4801, allocations: 139 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4801, allocations: 4 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4801, allocations: 4 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4801, allocations: 0 / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4804, allocations: 217.6 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4804, allocations: 0 / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.245e-05/0.4805, allocations: 15.98 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4805, allocations: 0 / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.4805, allocations: 4 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4805, allocations: 3.938 kB / 0.6054 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4805, allocations: 3.938 kB / 0.6054 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.4809, allocations: 204.8 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.481, allocations: 93.03 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.4811, allocations: 0 / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.4812, allocations: 8 kB / 0.6057 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.4812, allocations: 16.05 kB / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4812, allocations: 0 / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.4814, allocations: 141.2 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4814, allocations: 0 / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.4816, allocations: 35.83 kB / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001558/0.4832, allocations: 1.049 MB / 0.6069 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.4834, allocations: 83.84 kB / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4835, allocations: 192 / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4836, allocations: 52.16 kB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.4838, allocations: 32.16 kB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.4854, allocations: 1.45 MB / 0.6085 GB, free: 9.551 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4857, allocations: 0.72 MB / 0.6092 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.375e-05/0.4858, allocations: 21.06 kB / 0.6092 GB, free: 8.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.4859, allocations: 43.42 kB / 0.6093 GB, free: 8.742 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4859, allocations: 0 / 0.6093 GB, free: 8.742 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.509, allocations: 3.317 MB / 0.6125 GB, free: 5.562 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/0.5094, allocations: 212.5 kB / 0.6127 GB, free: 5.324 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.223, allocations: 4 kB / 0.6127 GB, free: 5.32 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat