Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.001089/0.001089, allocations: 176.5 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.471/1.471, allocations: 223.2 MB / 241 MB, free: 10.18 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.0008749/0.000875, allocations: 86.83 kB / 292.1 MB, free: 10.72 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.3498/0.3498, allocations: 44.21 MB / 387.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 16 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3473, allocations: 61.91 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.4594, allocations: 89.25 MB / 0.5968 GB, free: 5.879 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.4597, allocations: 83.89 kB / 0.5969 GB, free: 5.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.4741, allocations: 5.386 MB / 0.6021 GB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4742, allocations: 0 / 0.6021 GB, free: 428 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4742, allocations: 3.938 kB / 0.6021 GB, free: 424 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.0004966/0.4747, allocations: 415 kB / 0.6025 GB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4747, allocations: 8.031 kB / 0.6026 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.4748, allocations: 34.5 kB / 0.6026 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.4748, allocations: 11.81 kB / 0.6026 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.4751, allocations: 207.4 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4751, allocations: 7.953 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.4752, allocations: 4 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.4753, allocations: 61.61 kB / 0.6029 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4753, allocations: 0 / 0.6029 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.4753, allocations: 11.98 kB / 0.6029 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4754, allocations: 0 / 0.6029 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.4754, allocations: 19.98 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.4758, allocations: 288.8 kB / 0.6032 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.4759, allocations: 58.61 kB / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.476, allocations: 11.98 kB / 0.6032 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.4761, allocations: 63.52 kB / 0.6033 GB, free: 15.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.4761, allocations: 0 / 0.6033 GB, free: 15.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005158/0.4767, allocations: 169.2 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.4767, allocations: 55.41 kB / 0.6035 GB, free: 14.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4768, allocations: 149.1 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4769, allocations: 33.7 kB / 0.6037 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.4769, allocations: 96.14 kB / 0.6038 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.477, allocations: 31.62 kB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.477, allocations: 4 kB / 0.6038 GB, free: 14.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4771, allocations: 322.8 kB / 0.6041 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.4772, allocations: 19.98 kB / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.4773, allocations: 45.64 kB / 0.6042 GB, free: 14.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/0.4773, allocations: 24.19 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4773, allocations: 0 / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.4775, allocations: 97.52 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4775, allocations: 8 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4776, allocations: 0 / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4776, allocations: 0 / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.4777, allocations: 16 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4777, allocations: 7.984 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.4778, allocations: 3.938 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.4778, allocations: 8.031 kB / 0.6043 GB, free: 13.93 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.0001067/0.4779, allocations: 126.3 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.4779, allocations: 7.906 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.4782, allocations: 126.3 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.4782, allocations: 3.984 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4782, allocations: 0 / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4782, allocations: 0 / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.4787, allocations: 403.4 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4787, allocations: 0 / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.4788, allocations: 16.3 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4788, allocations: 4 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4788, allocations: 0 / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4788, allocations: 4 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4788, allocations: 80 / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4791, allocations: 237.9 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.4791, allocations: 85.02 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.4792, allocations: 8 kB / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.4792, allocations: 3.984 kB / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4793, allocations: 7.953 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4793, allocations: 4 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.4794, allocations: 125.3 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4794, allocations: 4 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.4797, allocations: 35.92 kB / 0.6055 GB, free: 12.64 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.001451/0.4812, allocations: 1.186 MB / 0.6066 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.4814, allocations: 59.92 kB / 0.6067 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4814, allocations: 0 / 0.6067 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.4815, allocations: 35.92 kB / 0.6067 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.4818, allocations: 32.05 kB / 0.6068 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.4831, allocations: 0.8148 MB / 0.6076 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4834, allocations: 0.7043 MB / 0.6083 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.413e-05/0.4834, allocations: 12.86 kB / 0.6083 GB, free: 9.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.4835, allocations: 39.42 kB / 0.6083 GB, free: 9.828 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4835, allocations: 0 / 0.6083 GB, free: 9.828 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.4974, allocations: 2.862 MB / 0.6111 GB, free: 7.102 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/0.4977, allocations: 209 kB / 0.6113 GB, free: 6.863 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.151, allocations: 0 / 0.6113 GB, free: 6.863 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat