Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",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.001408/0.001408, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.987/1.987, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001101/0.001101, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2367/0.2367, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 58.85 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.5433, allocations: 87.72 MB / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5436, allocations: 73.72 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.559, allocations: 5.384 MB / 0.5699 GB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.559, allocations: 0 / 0.5699 GB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.5591, allocations: 3.984 kB / 0.5699 GB, free: 7.375 MB / 378.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.0005627/0.5596, allocations: 418.8 kB / 0.5703 GB, free: 6.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5597, allocations: 8.031 kB / 0.5703 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.5598, allocations: 38.48 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.5598, allocations: 11.84 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.5601, allocations: 221.3 kB / 0.5705 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5601, allocations: 4 kB / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.5602, allocations: 0 / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.5603, allocations: 52.61 kB / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5604, allocations: 0 / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5604, allocations: 0 / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5604, allocations: 4 kB / 0.5706 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.5605, allocations: 35.28 kB / 0.5706 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.5609, allocations: 293.6 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.5611, allocations: 57.36 kB / 0.5709 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.5611, allocations: 0 / 0.5709 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.5613, allocations: 70.64 kB / 0.571 GB, free: 6.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5613, allocations: 0 / 0.571 GB, free: 6.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005686/0.5619, allocations: 179.7 kB / 0.5712 GB, free: 5.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.5619, allocations: 51.41 kB / 0.5712 GB, free: 5.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.5621, allocations: 178.1 kB / 0.5714 GB, free: 5.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.5621, allocations: 25.7 kB / 0.5714 GB, free: 5.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.5622, allocations: 101.5 kB / 0.5715 GB, free: 5.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.5622, allocations: 30.94 kB / 0.5716 GB, free: 5.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.5623, allocations: 0 / 0.5716 GB, free: 5.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5624, allocations: 325.1 kB / 0.5719 GB, free: 5.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.5624, allocations: 22.48 kB / 0.5719 GB, free: 5.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.5625, allocations: 39.58 kB / 0.5719 GB, free: 5.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.5626, allocations: 18.88 kB / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5626, allocations: 0 / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.5628, allocations: 111.6 kB / 0.5721 GB, free: 5.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5628, allocations: 7.438 kB / 0.5721 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5628, allocations: 384 / 0.5721 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5628, allocations: 4.031 kB / 0.5721 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.5629, allocations: 23.73 kB / 0.5721 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.563, allocations: 3.953 kB / 0.5721 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.563, allocations: 8 kB / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.563, allocations: 0 / 0.5721 GB, free: 5.047 MB / 378.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.0001008/0.5631, allocations: 141 kB / 0.5722 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.5632, allocations: 7.906 kB / 0.5722 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.5634, allocations: 124.3 kB / 0.5724 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5634, allocations: 0 / 0.5724 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5634, allocations: 0 / 0.5724 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5634, allocations: 3.953 kB / 0.5724 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.5639, allocations: 411.4 kB / 0.5728 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5639, allocations: 0 / 0.5728 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.564, allocations: 15.98 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.564, allocations: 0 / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.564, allocations: 7.219 kB / 0.5728 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.564, allocations: 11.95 kB / 0.5728 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.564, allocations: 0 / 0.5728 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.5643, allocations: 213.3 kB / 0.573 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.5643, allocations: 90.88 kB / 0.5731 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.5644, allocations: 9.641 kB / 0.5731 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.5645, allocations: 5.125 kB / 0.5731 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.5645, allocations: 8.672 kB / 0.5731 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.5645, allocations: 4.5 kB / 0.5731 GB, free: 3.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.5647, allocations: 147.1 kB / 0.5732 GB, free: 3.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5647, allocations: 0 / 0.5732 GB, free: 3.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002779/0.565, allocations: 35.59 kB / 0.5733 GB, free: 3.832 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: 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.001517/0.5665, allocations: 1.202 MB / 0.5745 GB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.5667, allocations: 61.03 kB / 0.5745 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5667, allocations: 0 / 0.5745 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.5668, allocations: 33.61 kB / 0.5745 GB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.567, allocations: 19.67 kB / 0.5746 GB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.5683, allocations: 0.879 MB / 0.5754 GB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.5686, allocations: 0.7043 MB / 0.5761 GB, free: 1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.5687, allocations: 23.92 kB / 0.5761 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.5688, allocations: 33.22 kB / 0.5762 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5688, allocations: 3.938 kB / 0.5762 GB, free: 0.957 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.5848, allocations: 2.999 MB / 0.5791 GB, free: 13.98 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.5851, allocations: 213.8 kB / 0.5793 GB, free: 13.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.147, allocations: 0 / 0.5793 GB, free: 13.74 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat