Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.001198/0.001199, allocations: 183.7 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.0008936/0.0008939, allocations: 94.91 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.406/0.406, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.08e-05/4.082e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5695, allocations: 87.66 MB / 0.5585 GB, free: 16.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5697, allocations: 73.14 kB / 0.5586 GB, free: 16.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.5841, allocations: 5.67 MB / 0.5641 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5841, allocations: 3.281 kB / 0.5641 GB, free: 13.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5841, allocations: 0 / 0.5641 GB, free: 13.25 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.0005255/0.5847, allocations: 430.2 kB / 0.5645 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.5847, allocations: 16.03 kB / 0.5646 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.5848, allocations: 33.47 kB / 0.5646 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.5849, allocations: 19.25 kB / 0.5646 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.5852, allocations: 246.2 kB / 0.5648 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5853, allocations: 0 / 0.5648 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.5853, allocations: 9.062 kB / 0.5648 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.5855, allocations: 100.1 kB / 0.5649 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5855, allocations: 0 / 0.5649 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5855, allocations: 1.375 kB / 0.5649 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5855, allocations: 0 / 0.5649 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.5856, allocations: 32.27 kB / 0.565 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.5858, allocations: 222.5 kB / 0.5652 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.5861, allocations: 99.31 kB / 0.5653 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.5862, allocations: 44.61 kB / 0.5653 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5862, allocations: 4 kB / 0.5653 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.5864, allocations: 102.9 kB / 0.5654 GB, free: 11.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.5864, allocations: 4 kB / 0.5654 GB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000277/0.5867, allocations: 135.8 kB / 0.5656 GB, free: 11.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.5868, allocations: 136.5 kB / 0.5657 GB, free: 11.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5869, allocations: 195.4 kB / 0.5659 GB, free: 11.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.587, allocations: 25.7 kB / 0.5659 GB, free: 11.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.587, allocations: 113.6 kB / 0.566 GB, free: 11.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.5871, allocations: 34.86 kB / 0.566 GB, free: 11.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.5871, allocations: 0 / 0.566 GB, free: 11.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.5871, allocations: 333.7 kB / 0.5664 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.5872, allocations: 30.8 kB / 0.5664 GB, free: 10.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.5872, allocations: 69.59 kB / 0.5665 GB, free: 10.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.5873, allocations: 37.97 kB / 0.5665 GB, free: 10.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5873, allocations: 4.031 kB / 0.5665 GB, free: 10.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001592/0.5875, allocations: 122.6 kB / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5875, allocations: 8 kB / 0.5666 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.5875, allocations: 3.984 kB / 0.5666 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5875, allocations: 4 kB / 0.5666 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.5876, allocations: 23.92 kB / 0.5667 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5877, allocations: 0 / 0.5667 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.5878, allocations: 11.19 kB / 0.5667 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.5878, allocations: 4 kB / 0.5667 GB, free: 10.71 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 6.458e-05/0.5878, allocations: 127.8 kB / 0.5668 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.5879, allocations: 25.38 kB / 0.5668 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.5881, allocations: 160.9 kB / 0.567 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5881, allocations: 4 kB / 0.567 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5881, allocations: 0 / 0.567 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5882, allocations: 3.938 kB / 0.567 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.5883, allocations: 229.2 kB / 0.5672 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5883, allocations: 0 / 0.5672 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.5884, allocations: 15.98 kB / 0.5672 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5884, allocations: 0 / 0.5672 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.5884, allocations: 4 kB / 0.5672 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5884, allocations: 0 / 0.5672 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5884, allocations: 0 / 0.5672 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.5886, allocations: 183.4 kB / 0.5674 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.5887, allocations: 112 kB / 0.5675 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.5887, allocations: 0 / 0.5675 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.5888, allocations: 7.5 kB / 0.5675 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.5888, allocations: 7.984 kB / 0.5675 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5888, allocations: 11.75 kB / 0.5675 GB, free: 9.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.589, allocations: 169.9 kB / 0.5677 GB, free: 9.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.589, allocations: 0 / 0.5677 GB, free: 9.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.5892, allocations: 43.17 kB / 0.5677 GB, free: 9.652 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.001162/0.5904, allocations: 1.101 MB / 0.5688 GB, free: 8.621 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.5906, allocations: 84.92 kB / 0.5689 GB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5906, allocations: 0 / 0.5689 GB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.5907, allocations: 50.36 kB / 0.5689 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.591, allocations: 43.47 kB / 0.569 GB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.5915, allocations: 265 kB / 0.5692 GB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.5916, allocations: 0.7245 MB / 0.5699 GB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.356e-05/0.5917, allocations: 29.3 kB / 0.57 GB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/0.5918, allocations: 50.91 kB / 0.57 GB, free: 7.414 MB / 394.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5918, allocations: 0 / 0.57 GB, free: 7.414 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.6093, allocations: 4.203 MB / 0.5741 GB, free: 3.242 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.6096, allocations: 196.1 kB / 0.5743 GB, free: 3.008 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.408, allocations: 0 / 0.5743 GB, free: 3.008 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat