Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.001472/0.001472, allocations: 177.6 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.328/1.328, 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.0008506/0.0008506, allocations: 91.53 kB / 292.1 MB, free: 10.69 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.3133/0.3133, allocations: 44.22 MB / 387.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3901, allocations: 61.91 MB / 0.5096 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.5168, allocations: 89.25 MB / 0.5968 GB, free: 5.844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.5171, allocations: 79.92 kB / 0.5969 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.5325, allocations: 5.398 MB / 0.6021 GB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5326, allocations: 3.938 kB / 0.6022 GB, free: 380 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.5326, allocations: 4 kB / 0.6022 GB, free: 376 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.0006191/0.5332, allocations: 411 kB / 0.6025 GB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5333, allocations: 12.03 kB / 0.6026 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.5333, allocations: 30.56 kB / 0.6026 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.5334, allocations: 15.75 kB / 0.6026 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.5337, allocations: 216.9 kB / 0.6028 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5337, allocations: 3.953 kB / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.5338, allocations: 4 kB / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5339, allocations: 53.67 kB / 0.6029 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5339, allocations: 0 / 0.6029 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5339, allocations: 0 / 0.6029 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.534, allocations: 4 kB / 0.6029 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.534, allocations: 19.98 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.5345, allocations: 292.8 kB / 0.6032 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.5346, allocations: 58.61 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.5347, allocations: 0 / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.5348, allocations: 71.52 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5348, allocations: 7.938 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.5354, allocations: 181.2 kB / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.5355, allocations: 51.41 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.5357, allocations: 147.1 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5357, allocations: 29.7 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.5358, allocations: 96.12 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.5358, allocations: 23.66 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.5358, allocations: 0 / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.536, allocations: 330.8 kB / 0.6041 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.5361, allocations: 27.92 kB / 0.6041 GB, free: 14.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.5362, allocations: 33.7 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.345e-05/0.5362, allocations: 24.19 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5362, allocations: 0 / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002177/0.5365, allocations: 105.6 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5365, allocations: 4 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5365, allocations: 4.031 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5365, allocations: 4 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.5366, allocations: 15.98 kB / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5367, allocations: 0 / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.5367, allocations: 8 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5367, allocations: 7.938 kB / 0.6043 GB, free: 13.88 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.0001061/0.5368, allocations: 122.3 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.5369, allocations: 7.906 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.5371, allocations: 126.2 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5371, allocations: 0 / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5371, allocations: 4 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5372, allocations: 0 / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.5376, allocations: 403.3 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.5377, allocations: 4 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.5377, allocations: 11.94 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5377, allocations: 4.312 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.5377, allocations: 7.984 kB / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5377, allocations: 0 / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5378, allocations: 3.938 kB / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.538, allocations: 225.9 kB / 0.6052 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.5381, allocations: 89 kB / 0.6053 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.5381, allocations: 4 kB / 0.6053 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.5382, allocations: 8 kB / 0.6053 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.5383, allocations: 11.94 kB / 0.6053 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.5383, allocations: 4.375 kB / 0.6053 GB, free: 12.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.672e-05/0.5384, allocations: 125.5 kB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5384, allocations: 0 / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.5386, allocations: 31.94 kB / 0.6055 GB, free: 12.6 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.001533/0.5402, allocations: 1.194 MB / 0.6067 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.5404, allocations: 63.89 kB / 0.6067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5404, allocations: 3.938 kB / 0.6067 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.012e-05/0.5405, allocations: 35.92 kB / 0.6068 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.5408, allocations: 24.25 kB / 0.6068 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.542, allocations: 0.8266 MB / 0.6076 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.5423, allocations: 0.7004 MB / 0.6083 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.5424, allocations: 12.55 kB / 0.6083 GB, free: 9.812 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.5424, allocations: 31.42 kB / 0.6083 GB, free: 9.781 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5424, allocations: 0 / 0.6083 GB, free: 9.781 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.5583, allocations: 2.856 MB / 0.6111 GB, free: 7.062 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/0.5586, allocations: 213.2 kB / 0.6113 GB, free: 6.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.126, allocations: 0 / 0.6113 GB, free: 6.82 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat