Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001483/0.001483, 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.513/1.513, 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.0008735/0.0008734, allocations: 85 kB / 292.1 MB, free: 10.94 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.3809/0.3809, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 12 kB / 460 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3864, allocations: 61.91 MB / 0.5096 GB, free: 37.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5202, allocations: 89.52 MB / 0.5971 GB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5206, allocations: 87.91 kB / 0.5972 GB, free: 5.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.5389, allocations: 6.423 MB / 0.6034 GB, free: 15.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5389, allocations: 3.938 kB / 0.6034 GB, free: 15.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.539, allocations: 4 kB / 0.6034 GB, free: 15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006176/0.5396, allocations: 426.8 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5397, allocations: 12.03 kB / 0.6039 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.5397, allocations: 30.56 kB / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.5398, allocations: 7.906 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.5401, allocations: 209 kB / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5401, allocations: 3.953 kB / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.5401, allocations: 8 kB / 0.6041 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.5403, allocations: 75.31 kB / 0.6042 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5404, allocations: 4 kB / 0.6042 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.5404, allocations: 8 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5404, allocations: 0 / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.5405, allocations: 31.95 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.541, allocations: 296.8 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.5412, allocations: 78.59 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.5412, allocations: 11.94 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.5414, allocations: 71.52 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5414, allocations: 0 / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006731/0.5421, allocations: 213.4 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.5422, allocations: 77.11 kB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.5424, allocations: 155.1 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.5424, allocations: 33.64 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.5425, allocations: 100.1 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.5425, allocations: 27.64 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5425, allocations: 0 / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.5427, allocations: 326.8 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.5428, allocations: 23.98 kB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/0.5429, allocations: 50.55 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.543, allocations: 36.03 kB / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.543, allocations: 0 / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002338/0.5432, allocations: 121.5 kB / 0.6058 GB, free: 12.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5433, allocations: 9.406 kB / 0.6058 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5433, allocations: 0 / 0.6058 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5433, allocations: 0 / 0.6058 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5434, allocations: 23.92 kB / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5434, allocations: 0 / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.5435, allocations: 8 kB / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.5435, allocations: 3.984 kB / 0.6058 GB, free: 12.32 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 (11): * Single equations (assignments): 11 * 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.0001131/0.5436, allocations: 128.5 kB / 0.6059 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.5437, allocations: 11.91 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.544, allocations: 150.4 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.544, allocations: 4 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.544, allocations: 0 / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.544, allocations: 0 / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.5446, allocations: 443.1 kB / 0.6065 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5446, allocations: 0 / 0.6065 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.5446, allocations: 12 kB / 0.6065 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.5447, allocations: 7.984 kB / 0.6065 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5447, allocations: 0 / 0.6065 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5447, allocations: 3.938 kB / 0.6065 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5447, allocations: 4.469 kB / 0.6065 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.545, allocations: 241.9 kB / 0.6068 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.5451, allocations: 85.02 kB / 0.6068 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.5451, allocations: 11.98 kB / 0.6069 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.5452, allocations: 0 / 0.6069 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.5453, allocations: 11.94 kB / 0.6069 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.5453, allocations: 8 kB / 0.6069 GB, free: 11.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.5454, allocations: 129.7 kB / 0.607 GB, free: 10.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.894e-06/0.5454, allocations: 4 kB / 0.607 GB, free: 10.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.5457, allocations: 47.86 kB / 0.6071 GB, free: 10.93 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 (11): * Single equations (assignments): 9 * 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.001789/0.5475, allocations: 1.245 MB / 0.6083 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.5477, allocations: 83.84 kB / 0.6083 GB, free: 9.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5477, allocations: 0 / 0.6083 GB, free: 9.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.227e-05/0.5478, allocations: 43.92 kB / 0.6084 GB, free: 9.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.5481, allocations: 33.75 kB / 0.6084 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.5495, allocations: 0.8541 MB / 0.6093 GB, free: 8.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.5499, allocations: 0.7083 MB / 0.6099 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.406e-05/0.55, allocations: 20.86 kB / 0.61 GB, free: 8.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.5501, allocations: 35.42 kB / 0.61 GB, free: 7.992 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5501, allocations: 0 / 0.61 GB, free: 7.992 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.5661, allocations: 3.312 MB / 0.6132 GB, free: 4.824 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.5663, allocations: 220.4 kB / 0.6134 GB, free: 4.582 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.219, allocations: 0 / 0.6134 GB, free: 4.582 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat