Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.001001/0.001001, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.397/1.397, 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.0009008/0.0009005, allocations: 98.81 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.2403/0.2403, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5062/0.6558, allocations: 87.71 MB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003843/0.6563, allocations: 79.58 kB / 0.5646 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.6728, allocations: 5.39 MB / 0.5699 GB, free: 7.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.6729, allocations: 0 / 0.5699 GB, free: 7.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.673, allocations: 4 kB / 0.5699 GB, free: 7.438 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.0007202/0.6737, allocations: 414.7 kB / 0.5703 GB, free: 6.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.6738, allocations: 8.031 kB / 0.5703 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.6738, allocations: 41.73 kB / 0.5703 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.6739, allocations: 7.906 kB / 0.5703 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.6743, allocations: 217.5 kB / 0.5705 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.6744, allocations: 4 kB / 0.5705 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.6744, allocations: 3.375 kB / 0.5705 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.6746, allocations: 51.8 kB / 0.5706 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6746, allocations: 0 / 0.5706 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.6746, allocations: 4 kB / 0.5706 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6746, allocations: 0 / 0.5706 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.6747, allocations: 30.28 kB / 0.5706 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.6753, allocations: 297.1 kB / 0.5709 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.6755, allocations: 57.48 kB / 0.5709 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.6755, allocations: 3.938 kB / 0.571 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.6757, allocations: 77.08 kB / 0.571 GB, free: 6.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.6757, allocations: 0 / 0.571 GB, free: 6.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006431/0.6764, allocations: 182.3 kB / 0.5712 GB, free: 5.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.6764, allocations: 51.41 kB / 0.5712 GB, free: 5.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.6766, allocations: 176.4 kB / 0.5714 GB, free: 5.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.6767, allocations: 29.7 kB / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.6767, allocations: 97.52 kB / 0.5715 GB, free: 5.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.6768, allocations: 27.02 kB / 0.5716 GB, free: 5.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.6768, allocations: 3.25 kB / 0.5716 GB, free: 5.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.677, allocations: 322.1 kB / 0.5719 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.677, allocations: 22.48 kB / 0.5719 GB, free: 5.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.6771, allocations: 39.77 kB / 0.5719 GB, free: 5.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.6772, allocations: 21.94 kB / 0.572 GB, free: 5.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6772, allocations: 0 / 0.572 GB, free: 5.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.6774, allocations: 106.2 kB / 0.5721 GB, free: 5.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6774, allocations: 7.438 kB / 0.5721 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.6774, allocations: 0 / 0.5721 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6774, allocations: 4.031 kB / 0.5721 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.6776, allocations: 19.98 kB / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.6776, allocations: 3.953 kB / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.6776, allocations: 7.938 kB / 0.5721 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.6776, allocations: 0 / 0.5721 GB, free: 5.117 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.000133/0.6778, allocations: 136.7 kB / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.6778, allocations: 7.906 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.6781, allocations: 119.6 kB / 0.5723 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6781, allocations: 3.984 kB / 0.5724 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.973e-05/0.6781, allocations: 0 / 0.5724 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.6782, allocations: 3.953 kB / 0.5724 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.6787, allocations: 411.5 kB / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6787, allocations: 4.281 kB / 0.5728 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.6788, allocations: 11.98 kB / 0.5728 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6788, allocations: 0 / 0.5728 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.6788, allocations: 8.594 kB / 0.5728 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6788, allocations: 11.89 kB / 0.5728 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6788, allocations: 0 / 0.5728 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.6791, allocations: 215.8 kB / 0.573 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/0.6792, allocations: 91.38 kB / 0.5731 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.6792, allocations: 9.078 kB / 0.5731 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.6793, allocations: 5.125 kB / 0.5731 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.6794, allocations: 9.047 kB / 0.5731 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.6794, allocations: 8.625 kB / 0.5731 GB, free: 4.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.6796, allocations: 149 kB / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6796, allocations: 0 / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.6798, allocations: 35.78 kB / 0.5733 GB, free: 3.898 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.001756/0.6816, allocations: 1.199 MB / 0.5745 GB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.6818, allocations: 71.14 kB / 0.5745 GB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6818, allocations: 0 / 0.5745 GB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.6819, allocations: 31.73 kB / 0.5746 GB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.6822, allocations: 19.8 kB / 0.5746 GB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.6835, allocations: 0.8732 MB / 0.5754 GB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6839, allocations: 0.7043 MB / 0.5761 GB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.684, allocations: 16.55 kB / 0.5761 GB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.684, allocations: 36.86 kB / 0.5762 GB, free: 1.031 MB / 378.7 MB Notification: Performance of SimCode: time 2.244e-06/0.684, allocations: 112 / 0.5762 GB, free: 1.031 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.7011, allocations: 3.002 MB / 0.5791 GB, free: 14.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.7014, allocations: 217.7 kB / 0.5793 GB, free: 13.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.513, allocations: 0 / 0.5793 GB, free: 13.8 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat