Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.001111/0.001111, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.798/1.798, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008952/0.0008948, allocations: 85.14 kB / 267.1 MB, free: 9.281 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.3904/0.3904, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.346e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1551, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.6238, allocations: 87.48 MB / 0.5583 GB, free: 16.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.6241, allocations: 81.61 kB / 0.5584 GB, free: 16.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02201/0.6462, allocations: 6.439 MB / 0.5647 GB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.6462, allocations: 0 / 0.5647 GB, free: 12.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.769e-05/0.6463, allocations: 19.44 kB / 0.5647 GB, free: 12.51 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008813/0.6472, allocations: 0.5893 MB / 0.5653 GB, free: 11.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.6473, allocations: 8.031 kB / 0.5653 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.6473, allocations: 41.92 kB / 0.5653 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.6474, allocations: 51.34 kB / 0.5654 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.6484, allocations: 471.4 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.6484, allocations: 4 kB / 0.5658 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.6485, allocations: 4 kB / 0.5659 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.6487, allocations: 88.38 kB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6487, allocations: 1.375 kB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.6487, allocations: 0 / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6487, allocations: 3.938 kB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.6489, allocations: 32.48 kB / 0.566 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.6494, allocations: 379.5 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.6496, allocations: 106.3 kB / 0.5664 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.6497, allocations: 37.11 kB / 0.5665 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.6497, allocations: 0 / 0.5665 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.65, allocations: 111 kB / 0.5666 GB, free: 10.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.65, allocations: 0 / 0.5666 GB, free: 10.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004194/0.6504, allocations: 160.7 kB / 0.5667 GB, free: 10.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.6505, allocations: 87.39 kB / 0.5668 GB, free: 10.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.6521, allocations: 0.9068 MB / 0.5677 GB, free: 9.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.6521, allocations: 25.7 kB / 0.5677 GB, free: 9.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.6523, allocations: 228.8 kB / 0.5679 GB, free: 9.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.6523, allocations: 39.09 kB / 0.568 GB, free: 9.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.6524, allocations: 3.375 kB / 0.568 GB, free: 9.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6525, allocations: 368.2 kB / 0.5683 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/0.6526, allocations: 23.25 kB / 0.5684 GB, free: 9.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.156e-05/0.6527, allocations: 55.11 kB / 0.5684 GB, free: 9.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.6528, allocations: 38.8 kB / 0.5684 GB, free: 9.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6528, allocations: 0 / 0.5684 GB, free: 9.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000294/0.6531, allocations: 165 kB / 0.5686 GB, free: 8.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.6531, allocations: 4 kB / 0.5686 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6531, allocations: 4 kB / 0.5686 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6532, allocations: 0 / 0.5686 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.6533, allocations: 23.98 kB / 0.5686 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.6533, allocations: 0 / 0.5686 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.6535, allocations: 19.95 kB / 0.5687 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.6535, allocations: 7.312 kB / 0.5687 GB, free: 8.812 MB / 394.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: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.379e-05/0.6536, allocations: 121.5 kB / 0.5688 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.6537, allocations: 47.44 kB / 0.5688 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.6541, allocations: 195.8 kB / 0.569 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6542, allocations: 4 kB / 0.569 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6542, allocations: 0 / 0.569 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6542, allocations: 3.938 kB / 0.569 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.6546, allocations: 395.4 kB / 0.5694 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6546, allocations: 8 kB / 0.5694 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.6547, allocations: 8 kB / 0.5694 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6547, allocations: 0 / 0.5694 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6547, allocations: 4 kB / 0.5694 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6547, allocations: 256 / 0.5694 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6547, allocations: 0 / 0.5694 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.6551, allocations: 233 kB / 0.5696 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.6554, allocations: 186.1 kB / 0.5698 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.6555, allocations: 7.25 kB / 0.5698 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.6556, allocations: 4 kB / 0.5698 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.6557, allocations: 15.36 kB / 0.5698 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.6557, allocations: 4 kB / 0.5698 GB, free: 7.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.6568, allocations: 0.7197 MB / 0.5705 GB, free: 7.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6568, allocations: 1.312 kB / 0.5705 GB, free: 7.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.6573, allocations: 87.3 kB / 0.5706 GB, free: 7.035 MB / 394.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001601/0.6589, allocations: 1.095 MB / 0.5717 GB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.6591, allocations: 82.61 kB / 0.5718 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6591, allocations: 4.125 kB / 0.5718 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.6592, allocations: 48.61 kB / 0.5718 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.6598, allocations: 63.14 kB / 0.5719 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.6615, allocations: 0.8694 MB / 0.5727 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.6618, allocations: 0.8533 MB / 0.5736 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.662, allocations: 85.64 kB / 0.5736 GB, free: 4.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.6623, allocations: 156.8 kB / 0.5738 GB, free: 4.059 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6623, allocations: 0 / 0.5738 GB, free: 4.059 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.6941, allocations: 8.874 MB / 0.5825 GB, free: 11.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003931/0.6945, allocations: 187.6 kB / 0.5826 GB, free: 10.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.983, allocations: 0 / 0.5826 GB, free: 10.98 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat