Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.001138/0.001138, allocations: 177.6 kB / 8.003 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 78.64 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2256/0.2256, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.179e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.512, allocations: 87.75 MB / 0.5517 GB, free: 7.379 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5123, allocations: 79.67 kB / 0.5518 GB, free: 7.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.5287, allocations: 6.881 MB / 0.5585 GB, free: 1.926 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5288, allocations: 0 / 0.5585 GB, free: 1.926 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.5288, allocations: 4 kB / 0.5585 GB, free: 1.922 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004904/0.5293, allocations: 0.4895 MB / 0.559 GB, free: 1.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.5293, allocations: 16.03 kB / 0.559 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.5294, allocations: 19.72 kB / 0.559 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.5298, allocations: 291.7 kB / 0.5593 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.5298, allocations: 0 / 0.5593 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.5298, allocations: 4 kB / 0.5593 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.42e-05/0.5299, allocations: 35.3 kB / 0.5593 GB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.5301, allocations: 101.2 kB / 0.5594 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5301, allocations: 0 / 0.5594 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.5301, allocations: 4 kB / 0.5595 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.5301, allocations: 0 / 0.5595 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.5305, allocations: 364.2 kB / 0.5598 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.5306, allocations: 110.7 kB / 0.5599 GB, free: 496 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.5307, allocations: 40.92 kB / 0.5599 GB, free: 460 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.5307, allocations: 4 kB / 0.5599 GB, free: 456 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.5309, allocations: 113.2 kB / 0.5601 GB, free: 340 kB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.5309, allocations: 7.984 kB / 0.5601 GB, free: 332 kB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002559/0.5311, allocations: 137.1 kB / 0.5602 GB, free: 212 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.5312, allocations: 110.8 kB / 0.5603 GB, free: 76 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.5315, allocations: 288.4 kB / 0.5606 GB, free: 15.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.5316, allocations: 25.7 kB / 0.5606 GB, free: 15.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.5316, allocations: 136.8 kB / 0.5607 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.5317, allocations: 31.19 kB / 0.5608 GB, free: 15.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.5317, allocations: 3.938 kB / 0.5608 GB, free: 15.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5318, allocations: 345.6 kB / 0.5611 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.5319, allocations: 29.23 kB / 0.5611 GB, free: 15.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.532, allocations: 68.58 kB / 0.5612 GB, free: 15.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.532, allocations: 35.61 kB / 0.5612 GB, free: 15.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5321, allocations: 0 / 0.5612 GB, free: 15.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002012/0.5323, allocations: 138.6 kB / 0.5614 GB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5323, allocations: 4 kB / 0.5614 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5323, allocations: 0 / 0.5614 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.5323, allocations: 4 kB / 0.5614 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.5324, allocations: 23.92 kB / 0.5614 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5325, allocations: 4 kB / 0.5614 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.5326, allocations: 7.984 kB / 0.5614 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.5326, allocations: 4 kB / 0.5614 GB, free: 15.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.658e-05/0.5327, allocations: 120.2 kB / 0.5615 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002119/0.5329, allocations: 144.1 kB / 0.5616 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.533, allocations: 23.72 kB / 0.5617 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.5332, allocations: 161.5 kB / 0.5618 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5332, allocations: 0 / 0.5618 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5332, allocations: 0 / 0.5618 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5333, allocations: 0 / 0.5618 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.5335, allocations: 245 kB / 0.5621 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5335, allocations: 4 kB / 0.5621 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.5335, allocations: 11.98 kB / 0.5621 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5336, allocations: 4 kB / 0.5621 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5336, allocations: 0 / 0.5621 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5336, allocations: 3.938 kB / 0.5621 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5336, allocations: 7.938 kB / 0.5621 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.5338, allocations: 188.2 kB / 0.5623 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.534, allocations: 118.5 kB / 0.5624 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.534, allocations: 4 kB / 0.5624 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.5341, allocations: 4 kB / 0.5624 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.5341, allocations: 14.55 kB / 0.5624 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.5342, allocations: 7.984 kB / 0.5624 GB, free: 14.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002314/0.5344, allocations: 234.4 kB / 0.5626 GB, free: 13.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5344, allocations: 0 / 0.5626 GB, free: 13.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.5347, allocations: 43.89 kB / 0.5627 GB, free: 13.84 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001265/0.5359, allocations: 1.063 MB / 0.5637 GB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.5362, allocations: 93.55 kB / 0.5638 GB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5362, allocations: 0 / 0.5638 GB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.5363, allocations: 50.75 kB / 0.5639 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.5366, allocations: 51.73 kB / 0.5639 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.5373, allocations: 356.5 kB / 0.5642 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.5377, allocations: 0.7514 MB / 0.565 GB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.5378, allocations: 37.92 kB / 0.565 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.5379, allocations: 75.16 kB / 0.5651 GB, free: 11.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5379, allocations: 0 / 0.5651 GB, free: 11.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.5624, allocations: 4.717 MB / 0.5697 GB, free: 6.777 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.5627, allocations: 172.9 kB / 0.5699 GB, free: 6.574 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.246, allocations: 0 / 0.5699 GB, free: 6.574 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat