Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001102/0.001102, allocations: 177 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.431/1.431, allocations: 223.2 MB / 241 MB, free: 10.16 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.00082/0.0008197, allocations: 91.84 kB / 292.1 MB, free: 10.7 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.3268/0.3268, allocations: 44.21 MB / 387.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003593, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3879, allocations: 61.9 MB / 0.5096 GB, free: 37.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5195, allocations: 89.52 MB / 0.5971 GB, free: 5.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.5198, allocations: 83.91 kB / 0.5971 GB, free: 5.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01804/0.5378, allocations: 6.176 MB / 0.6032 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5379, allocations: 0 / 0.6032 GB, free: 15.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.538, allocations: 4 kB / 0.6032 GB, free: 15.34 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.0008599/0.5388, allocations: 411 kB / 0.6036 GB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/0.5389, allocations: 8.031 kB / 0.6036 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.052e-05/0.539, allocations: 34.56 kB / 0.6036 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.5391, allocations: 7.906 kB / 0.6036 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.5395, allocations: 213.2 kB / 0.6038 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5395, allocations: 0 / 0.6038 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.5396, allocations: 4 kB / 0.6038 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.5398, allocations: 75.38 kB / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5398, allocations: 0 / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.5398, allocations: 4 kB / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5399, allocations: 0 / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.278e-05/0.54, allocations: 19.98 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.5405, allocations: 296.7 kB / 0.6042 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.5408, allocations: 62.67 kB / 0.6043 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.5408, allocations: 0 / 0.6043 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.541, allocations: 71.45 kB / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.5411, allocations: 3.938 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007464/0.5418, allocations: 169.3 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.5419, allocations: 85.05 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.5421, allocations: 148.9 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5421, allocations: 25.7 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.5422, allocations: 96.12 kB / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.5423, allocations: 19.72 kB / 0.6049 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.5423, allocations: 0 / 0.6049 GB, free: 13.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5425, allocations: 327.1 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.5425, allocations: 15.98 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.5426, allocations: 46.56 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.5427, allocations: 24 kB / 0.6053 GB, free: 12.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5427, allocations: 0 / 0.6053 GB, free: 12.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002037/0.5429, allocations: 105.5 kB / 0.6054 GB, free: 12.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.543, allocations: 7.938 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.543, allocations: 0 / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.543, allocations: 4 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.5431, allocations: 15.98 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5431, allocations: 4.062 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.5432, allocations: 11.95 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.5432, allocations: 4 kB / 0.6054 GB, free: 12.82 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.0001518/0.5434, allocations: 126.2 kB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.5434, allocations: 11.81 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.5437, allocations: 122.3 kB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5437, allocations: 0 / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5437, allocations: 0 / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5438, allocations: 4 kB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.5444, allocations: 411.4 kB / 0.606 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5444, allocations: 0 / 0.606 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.5444, allocations: 8 kB / 0.6061 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.5444, allocations: 288 / 0.6061 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5445, allocations: 7.984 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5445, allocations: 3.953 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5445, allocations: 4.391 kB / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.5448, allocations: 226 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.5449, allocations: 89 kB / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.545, allocations: 11.95 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.5451, allocations: 4 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.5451, allocations: 7.984 kB / 0.6064 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5452, allocations: 8 kB / 0.6064 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.5453, allocations: 121.5 kB / 0.6065 GB, free: 11.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5453, allocations: 0 / 0.6065 GB, free: 11.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.5457, allocations: 36 kB / 0.6065 GB, free: 11.53 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.002087/0.5478, allocations: 1.235 MB / 0.6078 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.548, allocations: 67.89 kB / 0.6078 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.548, allocations: 0 / 0.6078 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.5481, allocations: 31.98 kB / 0.6079 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.5484, allocations: 25.75 kB / 0.6079 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.5499, allocations: 0.8001 MB / 0.6087 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.5503, allocations: 0.7004 MB / 0.6093 GB, free: 8.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.589e-05/0.5504, allocations: 20.83 kB / 0.6094 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.5504, allocations: 31.42 kB / 0.6094 GB, free: 8.695 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5504, allocations: 0 / 0.6094 GB, free: 8.695 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.5682, allocations: 3.095 MB / 0.6124 GB, free: 5.742 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.5684, allocations: 225 kB / 0.6126 GB, free: 5.496 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.217, allocations: 0 / 0.6126 GB, free: 5.496 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat