Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.001031/0.001031, allocations: 176.6 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.486/1.486, 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.0009127/0.0009127, allocations: 99.03 kB / 292.1 MB, free: 10.91 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.371/0.371, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 16 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3961, allocations: 61.89 MB / 0.5096 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5331, allocations: 89.53 MB / 0.5971 GB, free: 5.578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.5333, allocations: 87.92 kB / 0.5972 GB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01605/0.5494, allocations: 6.171 MB / 0.6032 GB, free: 15.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5495, allocations: 4 kB / 0.6032 GB, free: 15.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5495, allocations: 0 / 0.6032 GB, free: 15.32 MB / 426.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.0005258/0.55, allocations: 399 kB / 0.6036 GB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.5501, allocations: 16.03 kB / 0.6036 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.5501, allocations: 34.55 kB / 0.6036 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.5502, allocations: 7.906 kB / 0.6036 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.5505, allocations: 217.2 kB / 0.6038 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.5505, allocations: 0 / 0.6038 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.5505, allocations: 4 kB / 0.6038 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.5507, allocations: 71.39 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5507, allocations: 0 / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5508, allocations: 7.984 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5508, allocations: 3.984 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.5509, allocations: 19.98 kB / 0.6039 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.5513, allocations: 288.8 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.5514, allocations: 58.67 kB / 0.6043 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.5515, allocations: 8 kB / 0.6043 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.5516, allocations: 67.45 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.5516, allocations: 0 / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005648/0.5522, allocations: 181.2 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.5523, allocations: 85.05 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5524, allocations: 144.9 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.5524, allocations: 25.7 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.5525, allocations: 96.14 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.605e-05/0.5526, allocations: 23.7 kB / 0.6049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.5526, allocations: 4 kB / 0.6049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5527, allocations: 323.1 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.5528, allocations: 16 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.5529, allocations: 42.56 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/0.553, allocations: 32.02 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.553, allocations: 0 / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.5532, allocations: 101.5 kB / 0.6054 GB, free: 12.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5532, allocations: 7.938 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5532, allocations: 4 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.5532, allocations: 0 / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.5533, allocations: 12 kB / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5533, allocations: 0 / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.5534, allocations: 11.94 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.5534, allocations: 11.97 kB / 0.6054 GB, free: 12.8 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.0001004/0.5535, allocations: 124.7 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.5535, allocations: 16.19 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.5538, allocations: 114.3 kB / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5538, allocations: 4 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5538, allocations: 0 / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5538, allocations: 4 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.5543, allocations: 411.2 kB / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5543, allocations: 0 / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.5544, allocations: 12 kB / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5544, allocations: 0 / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.5544, allocations: 4.281 kB / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.5544, allocations: 3.953 kB / 0.6061 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5544, allocations: 4 kB / 0.6061 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.5547, allocations: 221.9 kB / 0.6063 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.5547, allocations: 89.02 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.5548, allocations: 11.94 kB / 0.6064 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.5548, allocations: 4 kB / 0.6064 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.5549, allocations: 0 / 0.6064 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5549, allocations: 11.98 kB / 0.6064 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.555, allocations: 121.5 kB / 0.6065 GB, free: 11.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.555, allocations: 0 / 0.6065 GB, free: 11.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.5553, allocations: 39.98 kB / 0.6065 GB, free: 11.52 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.00164/0.5569, allocations: 1.24 MB / 0.6078 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.5571, allocations: 63.91 kB / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5572, allocations: 4 kB / 0.6078 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.5572, allocations: 27.98 kB / 0.6079 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.5575, allocations: 27.86 kB / 0.6079 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.5586, allocations: 0.7924 MB / 0.6087 GB, free: 9.465 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.5589, allocations: 0.7043 MB / 0.6093 GB, free: 8.734 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.227e-05/0.559, allocations: 16.86 kB / 0.6094 GB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.5591, allocations: 39.36 kB / 0.6094 GB, free: 8.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5591, allocations: 0 / 0.6094 GB, free: 8.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.5756, allocations: 3.096 MB / 0.6124 GB, free: 5.727 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.5759, allocations: 213.2 kB / 0.6126 GB, free: 5.492 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.265, allocations: 3.938 kB / 0.6126 GB, free: 5.488 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat