Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000826/0.000826, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2622/0.2622, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 58.85 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5135/0.6675, allocations: 87.71 MB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/0.668, allocations: 78.27 kB / 0.5646 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01617/0.6842, allocations: 5.445 MB / 0.5699 GB, free: 7.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.6843, allocations: 0 / 0.5699 GB, free: 7.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.6843, allocations: 4 kB / 0.5699 GB, free: 7.383 MB / 378.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.0007896/0.6851, allocations: 433.5 kB / 0.5703 GB, free: 6.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.6852, allocations: 8.031 kB / 0.5703 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.6852, allocations: 30.56 kB / 0.5704 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.6853, allocations: 19.75 kB / 0.5704 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.6857, allocations: 218.5 kB / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.6857, allocations: 3.25 kB / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.6858, allocations: 8 kB / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.6861, allocations: 52.36 kB / 0.5706 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6861, allocations: 4 kB / 0.5706 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.6861, allocations: 0 / 0.5706 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.6861, allocations: 0 / 0.5706 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.6862, allocations: 30.97 kB / 0.5707 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.6868, allocations: 301.9 kB / 0.571 GB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.687, allocations: 60.23 kB / 0.571 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.6871, allocations: 0.5 kB / 0.571 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.6873, allocations: 71.23 kB / 0.5711 GB, free: 6.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.6873, allocations: 0 / 0.5711 GB, free: 6.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006834/0.688, allocations: 185 kB / 0.5713 GB, free: 5.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.6881, allocations: 55.41 kB / 0.5713 GB, free: 5.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.6883, allocations: 183.7 kB / 0.5715 GB, free: 5.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.6884, allocations: 25.7 kB / 0.5715 GB, free: 5.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.6884, allocations: 104.2 kB / 0.5716 GB, free: 5.555 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.6885, allocations: 23.16 kB / 0.5716 GB, free: 5.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.6885, allocations: 0 / 0.5716 GB, free: 5.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6886, allocations: 325.5 kB / 0.572 GB, free: 5.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.6887, allocations: 22.67 kB / 0.572 GB, free: 5.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.6888, allocations: 36.64 kB / 0.572 GB, free: 5.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.6889, allocations: 31.3 kB / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6889, allocations: 0 / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.6891, allocations: 104.1 kB / 0.5721 GB, free: 5.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.6891, allocations: 11.44 kB / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6891, allocations: 0 / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6891, allocations: 0 / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.6893, allocations: 19.92 kB / 0.5722 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6893, allocations: 11.98 kB / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.6893, allocations: 0 / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6894, allocations: 4 kB / 0.5722 GB, free: 5.012 MB / 378.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.0001444/0.6895, allocations: 133 kB / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.6895, allocations: 11.81 kB / 0.5723 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.6898, allocations: 124.4 kB / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.6898, allocations: 0 / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6899, allocations: 0 / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6899, allocations: 11.95 kB / 0.5724 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.6905, allocations: 410.4 kB / 0.5728 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6905, allocations: 0 / 0.5728 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.6905, allocations: 8 kB / 0.5728 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6905, allocations: 4 kB / 0.5729 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.6906, allocations: 4.984 kB / 0.5729 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6906, allocations: 7.891 kB / 0.5729 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6906, allocations: 4 kB / 0.5729 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.6909, allocations: 228 kB / 0.5731 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.691, allocations: 91.44 kB / 0.5732 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.691, allocations: 8.766 kB / 0.5732 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.6911, allocations: 1.312 kB / 0.5732 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.6911, allocations: 12.61 kB / 0.5732 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.6911, allocations: 8.688 kB / 0.5732 GB, free: 3.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.6913, allocations: 151.6 kB / 0.5733 GB, free: 3.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6913, allocations: 0 / 0.5733 GB, free: 3.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.6916, allocations: 31.19 kB / 0.5734 GB, free: 3.785 MB / 378.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.001698/0.6933, allocations: 1.195 MB / 0.5745 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.6935, allocations: 62.78 kB / 0.5746 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6935, allocations: 4.062 kB / 0.5746 GB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.6936, allocations: 30.92 kB / 0.5746 GB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.6939, allocations: 22.61 kB / 0.5747 GB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.6953, allocations: 0.8933 MB / 0.5755 GB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.6957, allocations: 0.7198 MB / 0.5762 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.6958, allocations: 12.56 kB / 0.5762 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.6958, allocations: 34.17 kB / 0.5763 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of SimCode: time 1.089e-05/0.6959, allocations: 112 / 0.5763 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.7144, allocations: 3.083 MB / 0.5793 GB, free: 13.86 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.7148, allocations: 209.8 kB / 0.5795 GB, free: 13.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.486, allocations: 0 / 0.5795 GB, free: 13.62 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat