Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001016/0.001016, allocations: 183 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.785/1.785, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009016/0.0009016, allocations: 86.61 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.4439/0.4439, allocations: 43.46 MB / 358.6 MB, free: 51.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.094e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1683, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5331/0.7015, allocations: 86.64 MB / 0.5575 GB, free: 17.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.7019, allocations: 70.27 kB / 0.5576 GB, free: 17.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.7183, allocations: 7.767 MB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7183, allocations: 0 / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.7184, allocations: 4 kB / 0.5652 GB, free: 11.92 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.0004736/0.7189, allocations: 0.5463 MB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7189, allocations: 8.031 kB / 0.5657 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.7189, allocations: 42.55 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.719, allocations: 39.44 kB / 0.5658 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.7194, allocations: 322.3 kB / 0.5661 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.7195, allocations: 4.5 kB / 0.5661 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.7195, allocations: 9.359 kB / 0.5661 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/0.7196, allocations: 36.77 kB / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7196, allocations: 0 / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7196, allocations: 11.42 kB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.7196, allocations: 3.953 kB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.7197, allocations: 15.38 kB / 0.5662 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.7203, allocations: 426.4 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.7203, allocations: 21.39 kB / 0.5666 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.7204, allocations: 11.61 kB / 0.5666 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.7204, allocations: 0 / 0.5666 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.7204, allocations: 42.52 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7204, allocations: 3.938 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.000182/0.7206, allocations: 72.61 kB / 0.5667 GB, free: 10.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.7207, allocations: 55.39 kB / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.7217, allocations: 0.7852 MB / 0.5676 GB, free: 9.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.7217, allocations: 25.7 kB / 0.5676 GB, free: 9.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.7218, allocations: 214.3 kB / 0.5678 GB, free: 9.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.7218, allocations: 14.11 kB / 0.5678 GB, free: 9.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.7218, allocations: 0 / 0.5678 GB, free: 9.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.7219, allocations: 365.5 kB / 0.5681 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.722, allocations: 0 / 0.5681 GB, free: 9.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.722, allocations: 4 kB / 0.5681 GB, free: 9.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.992e-05/0.722, allocations: 7.938 kB / 0.5682 GB, free: 9.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.722, allocations: 3.062 kB / 0.5682 GB, free: 9.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.759e-05/0.7221, allocations: 77.16 kB / 0.5682 GB, free: 8.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7221, allocations: 8 kB / 0.5682 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7221, allocations: 3.953 kB / 0.5682 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7222, allocations: 4.094 kB / 0.5682 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.7222, allocations: 4 kB / 0.5683 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7222, allocations: 0 / 0.5683 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.7223, allocations: 7.75 kB / 0.5683 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.7223, allocations: 4 kB / 0.5683 GB, free: 8.957 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 5.045e-05/0.7224, allocations: 105 kB / 0.5684 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.7224, allocations: 43.44 kB / 0.5684 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.7226, allocations: 96.22 kB / 0.5685 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.7226, allocations: 3.953 kB / 0.5685 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.7226, allocations: 0 / 0.5685 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7226, allocations: 0 / 0.5685 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.7229, allocations: 327 kB / 0.5688 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7229, allocations: 0 / 0.5688 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.7229, allocations: 4 kB / 0.5688 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7229, allocations: 3.984 kB / 0.5688 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.7229, allocations: 1.312 kB / 0.5688 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7229, allocations: 0 / 0.5688 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.723, allocations: 7.984 kB / 0.5688 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.7231, allocations: 178.6 kB / 0.569 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.7233, allocations: 156.1 kB / 0.5691 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.7233, allocations: 0 / 0.5691 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.7234, allocations: 7.984 kB / 0.5692 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.7235, allocations: 11.83 kB / 0.5692 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.7235, allocations: 0 / 0.5692 GB, free: 8.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005556/0.724, allocations: 0.639 MB / 0.5698 GB, free: 7.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.724, allocations: 0 / 0.5698 GB, free: 7.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.7243, allocations: 52 kB / 0.5698 GB, free: 7.496 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.0009365/0.7252, allocations: 0.934 MB / 0.5708 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.7253, allocations: 11.94 kB / 0.5708 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7253, allocations: 0 / 0.5708 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.7253, allocations: 7.938 kB / 0.5708 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.7256, allocations: 29.77 kB / 0.5708 GB, free: 6.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.7267, allocations: 0.7922 MB / 0.5716 GB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.7271, allocations: 0.8257 MB / 0.5724 GB, free: 5.012 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.687e-05/0.7272, allocations: 40.41 kB / 0.5724 GB, free: 4.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.7274, allocations: 115.3 kB / 0.5725 GB, free: 4.938 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7274, allocations: 3.938 kB / 0.5725 GB, free: 4.934 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.7449, allocations: 6.156 MB / 0.5785 GB, free: 14.79 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.7451, allocations: 184.3 kB / 0.5787 GB, free: 14.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.807, allocations: 3.938 kB / 0.5787 GB, free: 14.56 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat