Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.001081/0.001081, allocations: 183.2 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.48/1.48, 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.0008037/0.0008035, allocations: 86.66 kB / 267 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.3868/0.3868, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.726e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1529, allocations: 58.84 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5077/0.6606, allocations: 86.78 MB / 0.5577 GB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.661, allocations: 70.3 kB / 0.5577 GB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01799/0.679, allocations: 7.707 MB / 0.5652 GB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6791, allocations: 0 / 0.5652 GB, free: 10.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.6791, allocations: 8 kB / 0.5653 GB, free: 10.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008285/0.68, allocations: 0.5495 MB / 0.5658 GB, free: 9.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.68, allocations: 16.03 kB / 0.5658 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.6801, allocations: 34.55 kB / 0.5658 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.6802, allocations: 43.44 kB / 0.5659 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000661/0.6809, allocations: 319.4 kB / 0.5662 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.6809, allocations: 8 kB / 0.5662 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.681, allocations: 1.375 kB / 0.5662 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.6811, allocations: 45.69 kB / 0.5662 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.6812, allocations: 0 / 0.5662 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.6812, allocations: 4 kB / 0.5662 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.6812, allocations: 3.953 kB / 0.5662 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.6813, allocations: 23.94 kB / 0.5663 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.6821, allocations: 432.7 kB / 0.5667 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.6823, allocations: 38.52 kB / 0.5667 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.6823, allocations: 16.86 kB / 0.5667 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.6824, allocations: 7.953 kB / 0.5667 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.6824, allocations: 30.66 kB / 0.5668 GB, free: 8.703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6824, allocations: 1.312 kB / 0.5668 GB, free: 8.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005706/0.683, allocations: 188 kB / 0.5669 GB, free: 8.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.6831, allocations: 51.41 kB / 0.567 GB, free: 8.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.6846, allocations: 0.7811 MB / 0.5678 GB, free: 7.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.6847, allocations: 25.7 kB / 0.5678 GB, free: 7.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.6849, allocations: 232 kB / 0.568 GB, free: 7.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.685, allocations: 15.75 kB / 0.568 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.685, allocations: 0.5469 kB / 0.568 GB, free: 7.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.6852, allocations: 362.8 kB / 0.5684 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.6852, allocations: 12 kB / 0.5684 GB, free: 7.008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.6853, allocations: 4 kB / 0.5684 GB, free: 7.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.6853, allocations: 12.56 kB / 0.5684 GB, free: 6.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6853, allocations: 3.281 kB / 0.5684 GB, free: 6.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001533/0.6855, allocations: 109.3 kB / 0.5685 GB, free: 6.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6855, allocations: 12.59 kB / 0.5685 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6855, allocations: 0 / 0.5685 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.6855, allocations: 0 / 0.5685 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.6856, allocations: 15.98 kB / 0.5685 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.6856, allocations: 0 / 0.5685 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.6857, allocations: 8 kB / 0.5685 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.6857, allocations: 0 / 0.5685 GB, free: 6.844 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.043e-05/0.6858, allocations: 112.9 kB / 0.5686 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.6859, allocations: 39.62 kB / 0.5687 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.6862, allocations: 125 kB / 0.5688 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6862, allocations: 7.938 kB / 0.5688 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6862, allocations: 0 / 0.5688 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6862, allocations: 3.984 kB / 0.5688 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007694/0.687, allocations: 0.553 MB / 0.5694 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.687, allocations: 0 / 0.5694 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.6871, allocations: 19.98 kB / 0.5694 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6871, allocations: 0 / 0.5694 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.6871, allocations: 4 kB / 0.5694 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6871, allocations: 0 / 0.5694 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6871, allocations: 0 / 0.5694 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.6873, allocations: 191 kB / 0.5696 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.6875, allocations: 172.5 kB / 0.5697 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.6876, allocations: 0 / 0.5697 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.6877, allocations: 12.23 kB / 0.5697 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.6877, allocations: 4 kB / 0.5697 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.6877, allocations: 4 kB / 0.5697 GB, free: 5.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007826/0.6885, allocations: 0.6342 MB / 0.5704 GB, free: 4.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.904e-06/0.6885, allocations: 0 / 0.5704 GB, free: 4.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.6888, allocations: 63.88 kB / 0.5704 GB, free: 4.812 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001313/0.6902, allocations: 0.9977 MB / 0.5714 GB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.6903, allocations: 28 kB / 0.5714 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6903, allocations: 0 / 0.5714 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.6903, allocations: 19.94 kB / 0.5714 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.6907, allocations: 34.41 kB / 0.5715 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.6923, allocations: 0.811 MB / 0.5723 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.6927, allocations: 0.834 MB / 0.5731 GB, free: 2.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.837e-05/0.6929, allocations: 36.23 kB / 0.5731 GB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.693, allocations: 111.4 kB / 0.5732 GB, free: 1.941 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.693, allocations: 0 / 0.5732 GB, free: 1.941 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.7157, allocations: 6.418 MB / 0.5795 GB, free: 11.54 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/0.7161, allocations: 184.3 kB / 0.5797 GB, free: 11.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.031, allocations: 0 / 0.5797 GB, free: 11.31 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat