Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001377/0.001377, allocations: 182.8 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.881/1.881, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0009234/0.0009234, allocations: 80.58 kB / 267 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.4339/0.4339, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.672e-05, allocations: 0 / 425.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1503, allocations: 58.85 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5934, allocations: 87.13 MB / 0.558 GB, free: 16.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.5937, allocations: 67.38 kB / 0.5581 GB, free: 16.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.6045, allocations: 4.322 MB / 0.5623 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6046, allocations: 0 / 0.5623 GB, free: 14.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.6046, allocations: 4 kB / 0.5623 GB, free: 14.21 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.0003924/0.605, allocations: 402.7 kB / 0.5627 GB, free: 13.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.605, allocations: 12.03 kB / 0.5627 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.6051, allocations: 31.83 kB / 0.5627 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.6051, allocations: 7.906 kB / 0.5627 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.6054, allocations: 204.4 kB / 0.5629 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.6054, allocations: 4 kB / 0.5629 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.6054, allocations: 0 / 0.5629 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.6056, allocations: 53.27 kB / 0.563 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6056, allocations: 3.938 kB / 0.563 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6056, allocations: 3.734 kB / 0.563 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6056, allocations: 4 kB / 0.563 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.6057, allocations: 24.64 kB / 0.563 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.6061, allocations: 318.3 kB / 0.5633 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.851e-05/0.6062, allocations: 43.45 kB / 0.5633 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.6063, allocations: 20.39 kB / 0.5634 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.6063, allocations: 0 / 0.5634 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.6064, allocations: 30.56 kB / 0.5634 GB, free: 13.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.6064, allocations: 0 / 0.5634 GB, free: 13.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000543/0.6069, allocations: 169.6 kB / 0.5636 GB, free: 12.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.607, allocations: 52.39 kB / 0.5636 GB, free: 12.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.6071, allocations: 176.7 kB / 0.5638 GB, free: 12.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.6071, allocations: 25.7 kB / 0.5638 GB, free: 12.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.6072, allocations: 100.4 kB / 0.5639 GB, free: 12.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.6072, allocations: 24.41 kB / 0.5639 GB, free: 12.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.6072, allocations: 2.344 kB / 0.5639 GB, free: 12.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.6073, allocations: 330.3 kB / 0.5642 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.6074, allocations: 19.06 kB / 0.5643 GB, free: 12.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.6074, allocations: 19.69 kB / 0.5643 GB, free: 12.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.6075, allocations: 22.53 kB / 0.5643 GB, free: 12.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6075, allocations: 0 / 0.5643 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001394/0.6076, allocations: 95.64 kB / 0.5644 GB, free: 12.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6076, allocations: 5.922 kB / 0.5644 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.6077, allocations: 3.953 kB / 0.5644 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6077, allocations: 0 / 0.5644 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.6078, allocations: 28.31 kB / 0.5644 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.6078, allocations: 0 / 0.5644 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.6079, allocations: 18.75 kB / 0.5644 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.6079, allocations: 4 kB / 0.5644 GB, free: 12.08 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 (7): * Single equations (assignments): 7 * 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 5.846e-05/0.608, allocations: 101 kB / 0.5645 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.6081, allocations: 11.91 kB / 0.5646 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.6083, allocations: 114.2 kB / 0.5647 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6083, allocations: 3.953 kB / 0.5647 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6083, allocations: 0 / 0.5647 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6083, allocations: 0 / 0.5647 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.6087, allocations: 389.7 kB / 0.565 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6087, allocations: 0 / 0.565 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.146e-05/0.6088, allocations: 28.81 kB / 0.5651 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.6088, allocations: 7.953 kB / 0.5651 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.6088, allocations: 4 kB / 0.5651 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6089, allocations: 1.312 kB / 0.5651 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6089, allocations: 4 kB / 0.5651 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.609, allocations: 191.8 kB / 0.5653 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.6091, allocations: 88.06 kB / 0.5653 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.6091, allocations: 5.5 kB / 0.5654 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.6092, allocations: 22.11 kB / 0.5654 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.6093, allocations: 7.188 kB / 0.5654 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.6093, allocations: 0 / 0.5654 GB, free: 11.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.6094, allocations: 138.1 kB / 0.5655 GB, free: 11.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6094, allocations: 0 / 0.5655 GB, free: 11.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.6097, allocations: 25.19 kB / 0.5655 GB, free: 11.04 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 (7): * Single equations (assignments): 7 * 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.001166/0.6109, allocations: 0.9866 MB / 0.5665 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.611, allocations: 56.84 kB / 0.5666 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6111, allocations: 4 kB / 0.5666 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.6111, allocations: 24 kB / 0.5666 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.6114, allocations: 25.09 kB / 0.5666 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.612, allocations: 242.1 kB / 0.5668 GB, free: 9.852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.6123, allocations: 0.7038 MB / 0.5675 GB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.6124, allocations: 27.3 kB / 0.5675 GB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.6124, allocations: 31.31 kB / 0.5676 GB, free: 9.102 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6125, allocations: 0 / 0.5676 GB, free: 9.102 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.6278, allocations: 2.576 MB / 0.5701 GB, free: 6.789 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.6281, allocations: 188.1 kB / 0.5703 GB, free: 6.562 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.231, allocations: 0 / 0.5703 GB, free: 6.562 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat does not exist to compare? outputFormat=mat