Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001266/0.001266, allocations: 183.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.925/1.925, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008329/0.000833, allocations: 99.77 kB / 267.1 MB, free: 9.262 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.4361/0.4361, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.026e-05, allocations: 0 / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1615, allocations: 58.84 MB / 484.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.61, allocations: 87.04 MB / 0.5579 GB, free: 1.887 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.6103, allocations: 67.97 kB / 0.558 GB, free: 1.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01737/0.6277, allocations: 7.884 MB / 0.5657 GB, free: 9.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6277, allocations: 0 / 0.5657 GB, free: 9.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.6278, allocations: 8 kB / 0.5657 GB, free: 9.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006113/0.6284, allocations: 0.5428 MB / 0.5662 GB, free: 9.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.6285, allocations: 12.03 kB / 0.5662 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.6285, allocations: 34.56 kB / 0.5662 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.6286, allocations: 43.44 kB / 0.5663 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.6291, allocations: 323.4 kB / 0.5666 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.6291, allocations: 0.6875 kB / 0.5666 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.6291, allocations: 1.375 kB / 0.5666 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.6293, allocations: 58.17 kB / 0.5666 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6293, allocations: 0 / 0.5666 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.6293, allocations: 0 / 0.5666 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.6293, allocations: 3.953 kB / 0.5667 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.778e-05/0.6294, allocations: 23.92 kB / 0.5667 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.63, allocations: 436 kB / 0.5671 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.6301, allocations: 34.5 kB / 0.5671 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.6301, allocations: 8.922 kB / 0.5671 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.6302, allocations: 4 kB / 0.5671 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.6302, allocations: 34.52 kB / 0.5672 GB, free: 8.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.6302, allocations: 0 / 0.5672 GB, free: 8.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001889/0.6304, allocations: 85.12 kB / 0.5673 GB, free: 8.168 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.6304, allocations: 52.25 kB / 0.5673 GB, free: 8.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.6316, allocations: 0.7811 MB / 0.5681 GB, free: 7.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.6316, allocations: 25.7 kB / 0.5681 GB, free: 7.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.6318, allocations: 228.1 kB / 0.5683 GB, free: 7.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.6318, allocations: 3.906 kB / 0.5683 GB, free: 7.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.6318, allocations: 4 kB / 0.5683 GB, free: 7.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.632, allocations: 362.7 kB / 0.5687 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.632, allocations: 4 kB / 0.5687 GB, free: 6.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.632, allocations: 4 kB / 0.5687 GB, free: 6.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.235e-05/0.6321, allocations: 12.92 kB / 0.5687 GB, free: 6.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6321, allocations: 0 / 0.5687 GB, free: 6.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.6322, allocations: 81.3 kB / 0.5688 GB, free: 6.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6322, allocations: 5.094 kB / 0.5688 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.6323, allocations: 7.938 kB / 0.5688 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6323, allocations: 4 kB / 0.5688 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.6324, allocations: 4 kB / 0.5688 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.6324, allocations: 0 / 0.5688 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.6324, allocations: 7.906 kB / 0.5688 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.6325, allocations: 0 / 0.5688 GB, free: 6.555 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 (2): * Single equations (assignments): 2 * 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 7.338e-05/0.6325, allocations: 109.7 kB / 0.5689 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.6326, allocations: 47.5 kB / 0.5689 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.6328, allocations: 100.7 kB / 0.569 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6328, allocations: 3.953 kB / 0.569 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6328, allocations: 3.828 kB / 0.569 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6328, allocations: 0 / 0.569 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.6331, allocations: 321.5 kB / 0.5693 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6331, allocations: 0 / 0.5693 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.6332, allocations: 7.984 kB / 0.5694 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6332, allocations: 0 / 0.5694 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.6332, allocations: 8.031 kB / 0.5694 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6332, allocations: 0 / 0.5694 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.6332, allocations: 3.953 kB / 0.5694 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.6334, allocations: 182.9 kB / 0.5695 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.6336, allocations: 160.5 kB / 0.5697 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.6336, allocations: 4 kB / 0.5697 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.6337, allocations: 4 kB / 0.5697 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.6338, allocations: 11.97 kB / 0.5697 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.6338, allocations: 0 / 0.5697 GB, free: 5.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006832/0.6345, allocations: 0.642 MB / 0.5703 GB, free: 4.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6345, allocations: 0 / 0.5703 GB, free: 4.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.6347, allocations: 52 kB / 0.5704 GB, free: 4.824 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 (2): * Single equations (assignments): 2 * 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.001047/0.6358, allocations: 0.9335 MB / 0.5713 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.265e-05/0.6359, allocations: 15.98 kB / 0.5713 GB, free: 3.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6359, allocations: 0 / 0.5713 GB, free: 3.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.6359, allocations: 12.06 kB / 0.5713 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.6362, allocations: 22.7 kB / 0.5713 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.6375, allocations: 0.8186 MB / 0.5721 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.6379, allocations: 0.8301 MB / 0.573 GB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.865e-05/0.638, allocations: 36.44 kB / 0.573 GB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6382, allocations: 123.4 kB / 0.5731 GB, free: 2.031 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6382, allocations: 0 / 0.5731 GB, free: 2.031 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.6581, allocations: 6.212 MB / 0.5792 GB, free: 11.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.6584, allocations: 189.6 kB / 0.5794 GB, free: 11.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.737, allocations: 0 / 0.5794 GB, free: 11.61 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat