Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.001217/0.001217, allocations: 183.4 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.697/1.697, 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.0009065/0.0009061, allocations: 86.59 kB / 267.1 MB, free: 9.277 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.4317/0.4317, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.386e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1513, allocations: 58.86 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4937/0.645, allocations: 87.66 MB / 0.5585 GB, free: 16.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.6453, allocations: 79.66 kB / 0.5586 GB, free: 16.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.6603, allocations: 5.661 MB / 0.5641 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6603, allocations: 0 / 0.5641 GB, free: 13.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.6604, allocations: 4 kB / 0.5641 GB, free: 13.26 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.000555/0.6609, allocations: 428.3 kB / 0.5645 GB, free: 12.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.661, allocations: 12.03 kB / 0.5646 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.661, allocations: 39.52 kB / 0.5646 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.6611, allocations: 16.66 kB / 0.5646 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.6614, allocations: 245.9 kB / 0.5648 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.6615, allocations: 4 kB / 0.5648 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.6615, allocations: 5.453 kB / 0.5648 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.6617, allocations: 96.11 kB / 0.5649 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.6617, allocations: 0 / 0.5649 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.6617, allocations: 10.56 kB / 0.565 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6618, allocations: 0 / 0.565 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.6618, allocations: 30.66 kB / 0.565 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.6621, allocations: 221.8 kB / 0.5652 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.6623, allocations: 105.6 kB / 0.5653 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.6624, allocations: 38.09 kB / 0.5653 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.6624, allocations: 0 / 0.5653 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.6626, allocations: 104.5 kB / 0.5654 GB, free: 11.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.6626, allocations: 4 kB / 0.5654 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003017/0.6629, allocations: 140.6 kB / 0.5656 GB, free: 11.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.663, allocations: 128.5 kB / 0.5657 GB, free: 11.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.6632, allocations: 201.2 kB / 0.5659 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.6632, allocations: 29.7 kB / 0.5659 GB, free: 11.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.6633, allocations: 113.4 kB / 0.566 GB, free: 11.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.6633, allocations: 27.44 kB / 0.566 GB, free: 11.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.6633, allocations: 7.812 kB / 0.5661 GB, free: 11.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6634, allocations: 334.7 kB / 0.5664 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.6635, allocations: 27.31 kB / 0.5664 GB, free: 10.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.6636, allocations: 73.89 kB / 0.5665 GB, free: 10.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.6636, allocations: 27.67 kB / 0.5665 GB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6636, allocations: 4.031 kB / 0.5665 GB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001839/0.6638, allocations: 128.5 kB / 0.5666 GB, free: 10.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6639, allocations: 4 kB / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6639, allocations: 4 kB / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6639, allocations: 0 / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.664, allocations: 31.8 kB / 0.5667 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.664, allocations: 0 / 0.5667 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.6641, allocations: 7.984 kB / 0.5667 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.6642, allocations: 4 kB / 0.5667 GB, free: 10.72 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.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.422e-05/0.6643, allocations: 128.7 kB / 0.5668 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.6643, allocations: 15.81 kB / 0.5668 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.6646, allocations: 168.7 kB / 0.567 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6646, allocations: 0 / 0.567 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6646, allocations: 3.984 kB / 0.567 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6646, allocations: 4.312 kB / 0.567 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.6648, allocations: 221.2 kB / 0.5672 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6649, allocations: 4 kB / 0.5672 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.6649, allocations: 16 kB / 0.5672 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6649, allocations: 1.312 kB / 0.5672 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.6649, allocations: 3.812 kB / 0.5672 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.665, allocations: 7.984 kB / 0.5672 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.665, allocations: 0 / 0.5672 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.6652, allocations: 185.8 kB / 0.5674 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.6653, allocations: 100.8 kB / 0.5675 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.6653, allocations: 4 kB / 0.5675 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.6654, allocations: 11.67 kB / 0.5675 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.6654, allocations: 4 kB / 0.5675 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.6655, allocations: 7.984 kB / 0.5675 GB, free: 9.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.6657, allocations: 171.9 kB / 0.5677 GB, free: 9.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6657, allocations: 0 / 0.5677 GB, free: 9.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004265/0.6661, allocations: 43.75 kB / 0.5677 GB, free: 9.664 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001387/0.6675, allocations: 1.102 MB / 0.5688 GB, free: 8.637 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.6677, allocations: 83.36 kB / 0.5689 GB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.6677, allocations: 0 / 0.5689 GB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.767e-05/0.6678, allocations: 47.56 kB / 0.5689 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.6681, allocations: 44.66 kB / 0.569 GB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.6687, allocations: 272.6 kB / 0.5692 GB, free: 8.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.6689, allocations: 0.7206 MB / 0.5699 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.955e-05/0.669, allocations: 25.31 kB / 0.57 GB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.6691, allocations: 58.34 kB / 0.57 GB, free: 7.43 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6691, allocations: 3.938 kB / 0.57 GB, free: 7.426 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.6872, allocations: 4.195 MB / 0.5741 GB, free: 3.262 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.6875, allocations: 200.2 kB / 0.5743 GB, free: 3.023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.404, allocations: 0 / 0.5743 GB, free: 3.023 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat