Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001799/0.001799, allocations: 182.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.585/1.585, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009799/0.0009799, allocations: 90.59 kB / 267.1 MB, free: 9.27 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.484/0.484, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.063e-05, allocations: 4 kB / 425.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 58.86 MB / 484.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4947/0.6575, allocations: 88.33 MB / 0.5592 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.6578, allocations: 75.95 kB / 0.5592 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02226/0.6801, allocations: 8.612 MB / 0.5676 GB, free: 7.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.6801, allocations: 0 / 0.5676 GB, free: 7.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.766e-05/0.6802, allocations: 19.94 kB / 0.5677 GB, free: 7.949 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008161/0.681, allocations: 0.6128 MB / 0.5683 GB, free: 7.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6811, allocations: 12.03 kB / 0.5683 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.122e-05/0.6812, allocations: 46.55 kB / 0.5683 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.6813, allocations: 51.34 kB / 0.5684 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/0.6821, allocations: 479 kB / 0.5688 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.6821, allocations: 8 kB / 0.5688 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.6821, allocations: 13.28 kB / 0.5688 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.6824, allocations: 132.4 kB / 0.569 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.6824, allocations: 7.938 kB / 0.569 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.6824, allocations: 7.938 kB / 0.569 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.6825, allocations: 3.953 kB / 0.569 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.6826, allocations: 75.97 kB / 0.5691 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.6837, allocations: 0.7307 MB / 0.5698 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.6839, allocations: 109.2 kB / 0.5699 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.6839, allocations: 37.84 kB / 0.5699 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.684, allocations: 0 / 0.5699 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.684, allocations: 38.5 kB / 0.57 GB, free: 5.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.684, allocations: 0 / 0.57 GB, free: 5.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001095/0.6851, allocations: 478 kB / 0.5704 GB, free: 4.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.6852, allocations: 85.11 kB / 0.5705 GB, free: 4.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/0.6862, allocations: 0.7822 MB / 0.5713 GB, free: 4.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.6862, allocations: 33.64 kB / 0.5713 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.6864, allocations: 252.2 kB / 0.5715 GB, free: 3.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.6865, allocations: 55.25 kB / 0.5716 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.6865, allocations: 4 kB / 0.5716 GB, free: 3.695 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.6868, allocations: 374.8 kB / 0.5719 GB, free: 3.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.6869, allocations: 43.98 kB / 0.572 GB, free: 3.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.687, allocations: 69.64 kB / 0.5721 GB, free: 3.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.6871, allocations: 51.97 kB / 0.5721 GB, free: 3.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.6871, allocations: 224 / 0.5721 GB, free: 3.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003465/0.6875, allocations: 204.9 kB / 0.5723 GB, free: 2.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6875, allocations: 7.938 kB / 0.5723 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6875, allocations: 0 / 0.5723 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.6875, allocations: 11.92 kB / 0.5723 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.6877, allocations: 39.97 kB / 0.5724 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.6878, allocations: 8.266 kB / 0.5724 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.6879, allocations: 16 kB / 0.5724 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.688, allocations: 7.984 kB / 0.5724 GB, free: 2.855 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.783e-05/0.6881, allocations: 112.9 kB / 0.5725 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.6882, allocations: 59.25 kB / 0.5726 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.6887, allocations: 254.6 kB / 0.5728 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6887, allocations: 4 kB / 0.5728 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6887, allocations: 0 / 0.5728 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6887, allocations: 3.953 kB / 0.5728 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.6899, allocations: 0.8372 MB / 0.5736 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.6899, allocations: 3.984 kB / 0.5736 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.6901, allocations: 43.92 kB / 0.5737 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.6901, allocations: 7.984 kB / 0.5737 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.6901, allocations: 3.953 kB / 0.5737 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.6901, allocations: 4 kB / 0.5737 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6901, allocations: 4 kB / 0.5737 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.6905, allocations: 389 kB / 0.5741 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.6908, allocations: 188.3 kB / 0.5742 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.6909, allocations: 0 / 0.5742 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.6911, allocations: 20 kB / 0.5743 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.6912, allocations: 15.97 kB / 0.5743 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.6912, allocations: 8 kB / 0.5743 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007474/0.6919, allocations: 0.6263 MB / 0.5749 GB, free: 192 kB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6919, allocations: 0 / 0.5749 GB, free: 192 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000359/0.6923, allocations: 75.94 kB / 0.575 GB, free: 116 kB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.001603/0.6939, allocations: 1.265 MB / 0.5762 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.6942, allocations: 127.9 kB / 0.5763 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6942, allocations: 0 / 0.5763 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.6943, allocations: 67.92 kB / 0.5764 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.6948, allocations: 77.56 kB / 0.5765 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.6964, allocations: 0.8523 MB / 0.5773 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.6969, allocations: 0.8772 MB / 0.5781 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.6971, allocations: 103.1 kB / 0.5782 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.6974, allocations: 167.4 kB / 0.5784 GB, free: 12.57 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6974, allocations: 0 / 0.5784 GB, free: 12.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.7202, allocations: 9.093 MB / 0.5873 GB, free: 3.496 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.7205, allocations: 186.6 kB / 0.5875 GB, free: 3.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.838, allocations: 0 / 0.5875 GB, free: 3.27 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat