Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",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.001059/0.001058, allocations: 184 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.818/1.818, 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.0009396/0.0009395, allocations: 86.55 kB / 267.1 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.4968/0.4968, allocations: 43.46 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.202e-05, allocations: 0 / 425.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1684, allocations: 58.85 MB / 484.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.518/0.6864, allocations: 86.71 MB / 0.5576 GB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.6867, allocations: 68.75 kB / 0.5576 GB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.7027, allocations: 7.756 MB / 0.5652 GB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.7027, allocations: 4 kB / 0.5652 GB, free: 10.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.7028, allocations: 4 kB / 0.5652 GB, free: 10.44 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.0005653/0.7033, allocations: 0.5613 MB / 0.5658 GB, free: 9.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.7034, allocations: 12.02 kB / 0.5658 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.7034, allocations: 34.56 kB / 0.5658 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.7035, allocations: 43.44 kB / 0.5659 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.704, allocations: 327.2 kB / 0.5662 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.704, allocations: 0 / 0.5662 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.7041, allocations: 13.38 kB / 0.5662 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.7042, allocations: 45.67 kB / 0.5662 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.7042, allocations: 0.75 kB / 0.5662 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7042, allocations: 4 kB / 0.5662 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7042, allocations: 7.953 kB / 0.5662 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.968e-05/0.7043, allocations: 12 kB / 0.5663 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.7049, allocations: 436.7 kB / 0.5667 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.7049, allocations: 34.58 kB / 0.5667 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.705, allocations: 16.86 kB / 0.5667 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.705, allocations: 4.078 kB / 0.5667 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.7051, allocations: 38.52 kB / 0.5668 GB, free: 8.703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.7051, allocations: 0 / 0.5668 GB, free: 8.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005279/0.7056, allocations: 216 kB / 0.567 GB, free: 8.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.7056, allocations: 55.41 kB / 0.567 GB, free: 8.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.7068, allocations: 0.7771 MB / 0.5678 GB, free: 7.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.7068, allocations: 25.7 kB / 0.5678 GB, free: 7.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.707, allocations: 220.1 kB / 0.568 GB, free: 7.383 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.7071, allocations: 24.55 kB / 0.568 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.7071, allocations: 0.5469 kB / 0.568 GB, free: 7.359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7073, allocations: 362.8 kB / 0.5684 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.7073, allocations: 16 kB / 0.5684 GB, free: 6.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.7073, allocations: 15.94 kB / 0.5684 GB, free: 6.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.7074, allocations: 19.98 kB / 0.5684 GB, free: 6.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.7074, allocations: 3.281 kB / 0.5684 GB, free: 6.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001603/0.7076, allocations: 109.9 kB / 0.5685 GB, free: 6.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7076, allocations: 4 kB / 0.5685 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.7076, allocations: 8.922 kB / 0.5686 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.7076, allocations: 0 / 0.5686 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.7078, allocations: 27.98 kB / 0.5686 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7078, allocations: 0 / 0.5686 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.7079, allocations: 15.98 kB / 0.5686 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.7079, allocations: 144 / 0.5686 GB, free: 6.777 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 8.739e-05/0.708, allocations: 114.1 kB / 0.5687 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.7081, allocations: 47.38 kB / 0.5687 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.7084, allocations: 141.8 kB / 0.5689 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7084, allocations: 0 / 0.5689 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7084, allocations: 3.938 kB / 0.5689 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7084, allocations: 4 kB / 0.5689 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.7092, allocations: 0.5842 MB / 0.5695 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7092, allocations: 0 / 0.5695 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.7093, allocations: 19.98 kB / 0.5695 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7093, allocations: 8 kB / 0.5695 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7094, allocations: 4 kB / 0.5695 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7094, allocations: 0 / 0.5695 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7094, allocations: 0 / 0.5695 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.7096, allocations: 206.9 kB / 0.5697 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.7099, allocations: 164.6 kB / 0.5698 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.7099, allocations: 4 kB / 0.5699 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.71, allocations: 15.98 kB / 0.5699 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.7101, allocations: 7.984 kB / 0.5699 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.7101, allocations: 4 kB / 0.5699 GB, free: 5.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007638/0.7109, allocations: 0.6303 MB / 0.5705 GB, free: 4.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7109, allocations: 3.938 kB / 0.5705 GB, free: 4.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.7112, allocations: 56 kB / 0.5706 GB, free: 4.676 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.001405/0.7126, allocations: 1.011 MB / 0.5715 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.7128, allocations: 40 kB / 0.5716 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7128, allocations: 0 / 0.5716 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.7128, allocations: 31.92 kB / 0.5716 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.7131, allocations: 26.39 kB / 0.5716 GB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.7145, allocations: 0.8229 MB / 0.5724 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.7149, allocations: 0.8396 MB / 0.5733 GB, free: 1.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.851e-05/0.715, allocations: 40.48 kB / 0.5733 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.7152, allocations: 111.4 kB / 0.5734 GB, free: 1.762 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7152, allocations: 0 / 0.5734 GB, free: 1.762 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.7352, allocations: 6.511 MB / 0.5798 GB, free: 11.27 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.7356, allocations: 196.3 kB / 0.5799 GB, free: 11.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.844, allocations: 3.938 kB / 0.5799 GB, free: 11.02 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat