Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.002012/0.002013, allocations: 177.3 kB / 17.06 MB, free: 5.082 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.347/1.347, allocations: 223.2 MB / 241 MB, free: 11.9 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.0009636/0.0009636, allocations: 97.42 kB / 292.1 MB, free: 10.93 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.395/0.395, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.000376, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 61.9 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.5171, allocations: 89.29 MB / 0.5968 GB, free: 5.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.5174, allocations: 83.92 kB / 0.5969 GB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01711/0.5346, allocations: 5.664 MB / 0.6025 GB, free: 104 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5346, allocations: 0 / 0.6025 GB, free: 104 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.5346, allocations: 3.984 kB / 0.6025 GB, free: 100 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.0007814/0.5354, allocations: 418.9 kB / 0.6029 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.5355, allocations: 11.97 kB / 0.6029 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.217e-05/0.5356, allocations: 34.55 kB / 0.6029 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.5356, allocations: 15.81 kB / 0.6029 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.5361, allocations: 216.2 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.5361, allocations: 7.953 kB / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.5361, allocations: 4 kB / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5363, allocations: 53.67 kB / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5363, allocations: 0 / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.5363, allocations: 0 / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.5363, allocations: 7.984 kB / 0.6032 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.5364, allocations: 23.98 kB / 0.6032 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.5369, allocations: 288.9 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.5371, allocations: 66.61 kB / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.5371, allocations: 0 / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.5373, allocations: 63.52 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.5373, allocations: 0 / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006276/0.5379, allocations: 193 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.538, allocations: 55.39 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.5382, allocations: 182.5 kB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.5383, allocations: 29.64 kB / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.5384, allocations: 104.1 kB / 0.6042 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.5384, allocations: 35.56 kB / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.5384, allocations: 0 / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.5386, allocations: 327 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.5387, allocations: 24 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.5388, allocations: 37.7 kB / 0.6046 GB, free: 13.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.958e-05/0.5389, allocations: 23.98 kB / 0.6046 GB, free: 13.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5389, allocations: 0 / 0.6046 GB, free: 13.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002397/0.5391, allocations: 101.5 kB / 0.6047 GB, free: 13.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5392, allocations: 8 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5392, allocations: 0 / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5392, allocations: 0 / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.5393, allocations: 16.03 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5393, allocations: 7.938 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.5394, allocations: 3.984 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.5394, allocations: 8 kB / 0.6047 GB, free: 13.54 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.0001458/0.5396, allocations: 132.1 kB / 0.6049 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.5396, allocations: 11.81 kB / 0.6049 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.5399, allocations: 123 kB / 0.605 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5399, allocations: 4 kB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5399, allocations: 0 / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5399, allocations: 4 kB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.5405, allocations: 411.3 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5405, allocations: 0 / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.5405, allocations: 15.98 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5406, allocations: 4 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5406, allocations: 0 / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5406, allocations: 4.406 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5406, allocations: 4 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.5409, allocations: 230 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.541, allocations: 96.98 kB / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.541, allocations: 8 kB / 0.6057 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.5411, allocations: 4 kB / 0.6057 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.5411, allocations: 15.94 kB / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.5412, allocations: 4 kB / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.5413, allocations: 148.9 kB / 0.6059 GB, free: 12.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5413, allocations: 0 / 0.6059 GB, free: 12.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.5416, allocations: 39.92 kB / 0.6059 GB, free: 12.18 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.001679/0.5433, allocations: 1.193 MB / 0.6071 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.5435, allocations: 59.98 kB / 0.6072 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5436, allocations: 0 / 0.6072 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.5436, allocations: 35.92 kB / 0.6072 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5439, allocations: 42.03 kB / 0.6072 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5453, allocations: 0.8857 MB / 0.6081 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5457, allocations: 0.7121 MB / 0.6088 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.5458, allocations: 16.55 kB / 0.6088 GB, free: 9.328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.5459, allocations: 39.42 kB / 0.6088 GB, free: 9.289 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5459, allocations: 0 / 0.6088 GB, free: 9.289 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.5615, allocations: 3.077 MB / 0.6118 GB, free: 6.348 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.5618, allocations: 218.1 kB / 0.6121 GB, free: 6.102 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.224, allocations: 0 / 0.6121 GB, free: 6.102 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat