Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001155/0.001155, 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.567/1.567, 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.000852/0.0008521, allocations: 89.84 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.5084/0.5084, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.447e-05, allocations: 4 kB / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1413, allocations: 58.86 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.6098, allocations: 87.2 MB / 0.5581 GB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.61, allocations: 71.97 kB / 0.5581 GB, free: 1.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.6272, allocations: 8.106 MB / 0.566 GB, free: 9.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6273, allocations: 0 / 0.566 GB, free: 9.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.6273, allocations: 4 kB / 0.5661 GB, free: 9.602 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.0005898/0.6279, allocations: 0.5623 MB / 0.5666 GB, free: 8.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6279, allocations: 8.031 kB / 0.5666 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.628, allocations: 34.56 kB / 0.5666 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.6281, allocations: 43.44 kB / 0.5667 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.6286, allocations: 331.2 kB / 0.567 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.6286, allocations: 0 / 0.567 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.6286, allocations: 5.375 kB / 0.567 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.6288, allocations: 50.23 kB / 0.5671 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.6288, allocations: 0 / 0.5671 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.6288, allocations: 4 kB / 0.5671 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.6288, allocations: 3.953 kB / 0.5671 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.285e-05/0.6289, allocations: 27.98 kB / 0.5671 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.6297, allocations: 443.9 kB / 0.5675 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.6299, allocations: 42.56 kB / 0.5675 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.6299, allocations: 12.86 kB / 0.5676 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.6299, allocations: 3.953 kB / 0.5676 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.63, allocations: 38.64 kB / 0.5676 GB, free: 7.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.63, allocations: 0 / 0.5676 GB, free: 7.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004839/0.6305, allocations: 196 kB / 0.5678 GB, free: 7.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.6305, allocations: 55.39 kB / 0.5678 GB, free: 7.582 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.6318, allocations: 0.785 MB / 0.5686 GB, free: 6.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.6318, allocations: 25.7 kB / 0.5686 GB, free: 6.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.632, allocations: 220.1 kB / 0.5688 GB, free: 6.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.632, allocations: 19.73 kB / 0.5689 GB, free: 6.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.632, allocations: 0 / 0.5689 GB, free: 6.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6322, allocations: 358.8 kB / 0.5692 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.6322, allocations: 15.98 kB / 0.5692 GB, free: 6.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.6323, allocations: 15.94 kB / 0.5692 GB, free: 6.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.6323, allocations: 16 kB / 0.5692 GB, free: 6.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.6323, allocations: 2.25 kB / 0.5693 GB, free: 6.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001543/0.6325, allocations: 109.1 kB / 0.5694 GB, free: 6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6325, allocations: 4 kB / 0.5694 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6325, allocations: 0 / 0.5694 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6325, allocations: 3.984 kB / 0.5694 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.6326, allocations: 12.25 kB / 0.5694 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6326, allocations: 0 / 0.5694 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.191e-05/0.6327, allocations: 15.98 kB / 0.5694 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.6327, allocations: 4 kB / 0.5694 GB, free: 5.961 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 6.949e-05/0.6328, allocations: 105 kB / 0.5695 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.6329, allocations: 51.33 kB / 0.5695 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.6331, allocations: 117.1 kB / 0.5697 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.6331, allocations: 3.938 kB / 0.5697 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6331, allocations: 4 kB / 0.5697 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6331, allocations: 3.984 kB / 0.5697 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008003/0.6339, allocations: 0.5843 MB / 0.5702 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6339, allocations: 0 / 0.5702 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.634, allocations: 12 kB / 0.5702 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.634, allocations: 3.984 kB / 0.5703 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.634, allocations: 0 / 0.5703 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.634, allocations: 0 / 0.5703 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.634, allocations: 0 / 0.5703 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.6343, allocations: 203 kB / 0.5704 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.6344, allocations: 168.5 kB / 0.5706 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.6345, allocations: 1.406 kB / 0.5706 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.6346, allocations: 7.984 kB / 0.5706 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.6346, allocations: 7.938 kB / 0.5706 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.6347, allocations: 0 / 0.5706 GB, free: 4.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007105/0.6354, allocations: 0.6342 MB / 0.5712 GB, free: 3.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6354, allocations: 0 / 0.5712 GB, free: 3.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.6357, allocations: 63.94 kB / 0.5713 GB, free: 3.906 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.001193/0.6369, allocations: 0.9997 MB / 0.5723 GB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.637, allocations: 35.94 kB / 0.5723 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.637, allocations: 0 / 0.5723 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.6371, allocations: 20 kB / 0.5723 GB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.6373, allocations: 27.09 kB / 0.5724 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.6386, allocations: 0.8381 MB / 0.5732 GB, free: 2.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.6391, allocations: 0.8301 MB / 0.574 GB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.691e-05/0.6392, allocations: 44.22 kB / 0.574 GB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.6394, allocations: 119.4 kB / 0.5741 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6394, allocations: 4 kB / 0.5741 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.6599, allocations: 6.475 MB / 0.5805 GB, free: 10.53 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.6602, allocations: 185.5 kB / 0.5806 GB, free: 10.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.033, allocations: 4 kB / 0.5807 GB, free: 10.3 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat