Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",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.0009504/0.0009505, allocations: 178.7 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 90.62 kB / 261.8 MB, free: 1.676 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.2148/0.2148, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/1.991e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 58.86 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/0.4503, allocations: 86.08 MB / 0.5501 GB, free: 8.312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4506, allocations: 78.55 kB / 0.5502 GB, free: 8.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.4608, allocations: 4.3 MB / 0.5544 GB, free: 4.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4608, allocations: 4 kB / 0.5544 GB, free: 4.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4609, allocations: 4 kB / 0.5544 GB, free: 4.793 MB / 362.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.0003212/0.4612, allocations: 390.4 kB / 0.5547 GB, free: 4.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4612, allocations: 8.031 kB / 0.5548 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.4613, allocations: 11.86 kB / 0.5548 GB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.4615, allocations: 210.6 kB / 0.555 GB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.4615, allocations: 4 kB / 0.555 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.4615, allocations: 0 / 0.555 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.085e-05/0.4616, allocations: 27.61 kB / 0.555 GB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.543e-05/0.4617, allocations: 37.58 kB / 0.555 GB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4617, allocations: 0.8438 kB / 0.555 GB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4617, allocations: 0 / 0.555 GB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4617, allocations: 0 / 0.555 GB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.4621, allocations: 287.1 kB / 0.5553 GB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.775e-05/0.4621, allocations: 30.08 kB / 0.5553 GB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.4622, allocations: 16.42 kB / 0.5553 GB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4622, allocations: 0 / 0.5553 GB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.4622, allocations: 30.56 kB / 0.5554 GB, free: 3.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.4622, allocations: 0 / 0.5554 GB, free: 3.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004081/0.4626, allocations: 151.2 kB / 0.5555 GB, free: 3.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.4627, allocations: 55.41 kB / 0.5556 GB, free: 3.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4628, allocations: 187.8 kB / 0.5558 GB, free: 3.297 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.4628, allocations: 25.7 kB / 0.5558 GB, free: 3.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.4629, allocations: 106.6 kB / 0.5559 GB, free: 3.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.4629, allocations: 19.59 kB / 0.5559 GB, free: 3.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.4629, allocations: 0 / 0.5559 GB, free: 3.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.463, allocations: 326 kB / 0.5562 GB, free: 2.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.463, allocations: 19.38 kB / 0.5562 GB, free: 2.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.463, allocations: 11.31 kB / 0.5562 GB, free: 2.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.463, allocations: 15.11 kB / 0.5563 GB, free: 2.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.463, allocations: 3.938 kB / 0.5563 GB, free: 2.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.831e-05/0.4631, allocations: 79.95 kB / 0.5563 GB, free: 2.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.4632, allocations: 4 kB / 0.5563 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4632, allocations: 0 / 0.5563 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.4632, allocations: 4 kB / 0.5563 GB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4633, allocations: 27.97 kB / 0.5564 GB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.4633, allocations: 3.953 kB / 0.5564 GB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.4634, allocations: 12 kB / 0.5564 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.4634, allocations: 3.984 kB / 0.5564 GB, free: 2.672 MB / 362.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 3.918e-05/0.4634, allocations: 101 kB / 0.5565 GB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.26e-05/0.4635, allocations: 80.17 kB / 0.5566 GB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.4636, allocations: 15.89 kB / 0.5566 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.4637, allocations: 93.75 kB / 0.5567 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4637, allocations: 0 / 0.5567 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4637, allocations: 0 / 0.5567 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4637, allocations: 0 / 0.5567 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.464, allocations: 350.4 kB / 0.557 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.464, allocations: 0 / 0.557 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.4641, allocations: 19.98 kB / 0.557 GB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4641, allocations: 8.094 kB / 0.557 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4641, allocations: 4 kB / 0.557 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4641, allocations: 0 / 0.557 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4641, allocations: 4 kB / 0.557 GB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.674e-05/0.4642, allocations: 168.4 kB / 0.5572 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.4643, allocations: 100.2 kB / 0.5573 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4643, allocations: 3.953 kB / 0.5573 GB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.4644, allocations: 19.98 kB / 0.5573 GB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.4644, allocations: 7.922 kB / 0.5573 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.4644, allocations: 4 kB / 0.5573 GB, free: 1.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.4645, allocations: 147 kB / 0.5575 GB, free: 1.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4645, allocations: 0 / 0.5575 GB, free: 1.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.4648, allocations: 34.88 kB / 0.5575 GB, free: 1.551 MB / 362.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.0008765/0.4656, allocations: 0.9245 MB / 0.5584 GB, free: 0.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.4658, allocations: 48.5 kB / 0.5584 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4658, allocations: 0 / 0.5584 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.4658, allocations: 24.56 kB / 0.5585 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.466, allocations: 19.2 kB / 0.5585 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.4665, allocations: 226.5 kB / 0.5587 GB, free: 372 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4667, allocations: 0.7156 MB / 0.5594 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.4668, allocations: 8 kB / 0.5594 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.4668, allocations: 41.8 kB / 0.5594 GB, free: 15.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4668, allocations: 0 / 0.5594 GB, free: 15.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.4856, allocations: 2.303 MB / 0.5617 GB, free: 13.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.4858, allocations: 164.2 kB / 0.5619 GB, free: 13.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/1.932, allocations: 0 / 0.5619 GB, free: 13.1 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat does not exist to compare? outputFormat=mat