Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.001156/0.001156, allocations: 185.2 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.561/1.561, 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.0009051/0.0009055, allocations: 86.83 kB / 270.2 MB, free: 13.37 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.2415/0.2415, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 58.87 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5752, allocations: 87.71 MB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.5755, allocations: 75.28 kB / 0.5646 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.5907, allocations: 5.511 MB / 0.57 GB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5907, allocations: 0 / 0.57 GB, free: 7.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.5908, allocations: 0 / 0.57 GB, free: 7.344 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.0006791/0.5915, allocations: 438.2 kB / 0.5704 GB, free: 6.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5915, allocations: 8.031 kB / 0.5704 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.5916, allocations: 38.31 kB / 0.5704 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.5916, allocations: 7.906 kB / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.592, allocations: 217.7 kB / 0.5706 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.592, allocations: 4 kB / 0.5706 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.5921, allocations: 0 / 0.5706 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.5922, allocations: 60.61 kB / 0.5707 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5922, allocations: 7.906 kB / 0.5707 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.5923, allocations: 7.938 kB / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5923, allocations: 0 / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.5924, allocations: 19.86 kB / 0.5707 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.5929, allocations: 293.8 kB / 0.571 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.5931, allocations: 69.11 kB / 0.5711 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.5931, allocations: 0 / 0.5711 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.5932, allocations: 66.2 kB / 0.5711 GB, free: 6.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.098e-06/0.5933, allocations: 7.922 kB / 0.5712 GB, free: 6.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.5938, allocations: 185.3 kB / 0.5713 GB, free: 5.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.5939, allocations: 51.41 kB / 0.5714 GB, free: 5.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.5941, allocations: 189.5 kB / 0.5716 GB, free: 5.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.5941, allocations: 37.52 kB / 0.5716 GB, free: 5.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.5942, allocations: 110.4 kB / 0.5717 GB, free: 5.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.5942, allocations: 18.92 kB / 0.5717 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.5942, allocations: 0 / 0.5717 GB, free: 5.484 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5944, allocations: 325.7 kB / 0.572 GB, free: 5.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.5944, allocations: 22.48 kB / 0.5721 GB, free: 5.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.5945, allocations: 36.64 kB / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/0.5946, allocations: 27.56 kB / 0.5721 GB, free: 5.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5946, allocations: 4 kB / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.5948, allocations: 97.55 kB / 0.5722 GB, free: 5.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5948, allocations: 11.44 kB / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5948, allocations: 0 / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5948, allocations: 0 / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.5949, allocations: 19.88 kB / 0.5722 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5949, allocations: 7.953 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.595, allocations: 8.016 kB / 0.5723 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.595, allocations: 4 kB / 0.5723 GB, free: 4.965 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.0001/0.5951, allocations: 133.9 kB / 0.5724 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.5951, allocations: 11.81 kB / 0.5724 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.5954, allocations: 117.4 kB / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5954, allocations: 4 kB / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.5954, allocations: 0 / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5954, allocations: 3.953 kB / 0.5725 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.596, allocations: 420.5 kB / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.596, allocations: 0 / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.596, allocations: 12.62 kB / 0.5729 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.596, allocations: 4.281 kB / 0.5729 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.596, allocations: 4.625 kB / 0.5729 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.5961, allocations: 3.953 kB / 0.5729 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5961, allocations: 7.938 kB / 0.573 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.5964, allocations: 227.4 kB / 0.5732 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.5965, allocations: 87.33 kB / 0.5733 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.5965, allocations: 13.81 kB / 0.5733 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.5966, allocations: 5.375 kB / 0.5733 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.5967, allocations: 5.234 kB / 0.5733 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.5967, allocations: 4.375 kB / 0.5733 GB, free: 3.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.5968, allocations: 161.5 kB / 0.5734 GB, free: 3.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5968, allocations: 0 / 0.5734 GB, free: 3.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002794/0.5971, allocations: 38.92 kB / 0.5735 GB, free: 3.727 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.001488/0.5986, allocations: 1.199 MB / 0.5746 GB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.5988, allocations: 61.59 kB / 0.5747 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5988, allocations: 3.938 kB / 0.5747 GB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.5989, allocations: 42.78 kB / 0.5747 GB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.5992, allocations: 22.3 kB / 0.5748 GB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.6004, allocations: 0.9207 MB / 0.5757 GB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.6007, allocations: 0.716 MB / 0.5764 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.845e-05/0.6008, allocations: 24.48 kB / 0.5764 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.6008, allocations: 34.67 kB / 0.5764 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6009, allocations: 0 / 0.5764 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.6147, allocations: 3.144 MB / 0.5795 GB, free: 13.69 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.615, allocations: 208.7 kB / 0.5797 GB, free: 13.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.144, allocations: 0 / 0.5797 GB, free: 13.45 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat