Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008916/0.0008915, allocations: 101.8 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3467/0.3467, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3179, allocations: 61.91 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.4233, allocations: 88.75 MB / 0.5963 GB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4236, allocations: 79.92 kB / 0.5964 GB, free: 6.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.4348, allocations: 4.629 MB / 0.6009 GB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4349, allocations: 0 / 0.6009 GB, free: 1.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4349, allocations: 3.984 kB / 0.6009 GB, free: 1.668 MB / 410.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.0004695/0.4354, allocations: 402.9 kB / 0.6013 GB, free: 1.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4354, allocations: 8.031 kB / 0.6013 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.4355, allocations: 38.56 kB / 0.6013 GB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.4355, allocations: 4 kB / 0.6013 GB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.4357, allocations: 196.9 kB / 0.6015 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.4358, allocations: 8 kB / 0.6015 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.4358, allocations: 4 kB / 0.6015 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.436, allocations: 71.39 kB / 0.6016 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.436, allocations: 3.938 kB / 0.6016 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.436, allocations: 0 / 0.6016 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.436, allocations: 0 / 0.6016 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.4362, allocations: 43.97 kB / 0.6016 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.4366, allocations: 296.7 kB / 0.6019 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.4368, allocations: 50.55 kB / 0.602 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.4368, allocations: 7.875 kB / 0.602 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.4368, allocations: 34.56 kB / 0.602 GB, free: 356 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.4368, allocations: 0 / 0.602 GB, free: 356 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007254/0.4376, allocations: 245.5 kB / 0.6023 GB, free: 104 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4376, allocations: 77.11 kB / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4378, allocations: 133.2 kB / 0.6025 GB, free: 15.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4378, allocations: 25.7 kB / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.4378, allocations: 92.14 kB / 0.6026 GB, free: 15.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.4379, allocations: 27.64 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.4379, allocations: 4 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.438, allocations: 314.8 kB / 0.6029 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4381, allocations: 39.97 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.4382, allocations: 61.75 kB / 0.603 GB, free: 15.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.4383, allocations: 39.97 kB / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4383, allocations: 0 / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002609/0.4386, allocations: 129.5 kB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4386, allocations: 4 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4386, allocations: 4 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4386, allocations: 12.03 kB / 0.6032 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4388, allocations: 19.98 kB / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.4388, allocations: 0 / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.4388, allocations: 15.98 kB / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4389, allocations: 7.953 kB / 0.6032 GB, free: 15.05 MB / 426.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 () * Number of clocked 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 7.493e-05/0.4389, allocations: 122.4 kB / 0.6033 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.439, allocations: 7.906 kB / 0.6033 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.4393, allocations: 142.3 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4393, allocations: 4 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4393, allocations: 0 / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4393, allocations: 3.984 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.4398, allocations: 410.4 kB / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4398, allocations: 0 / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.4399, allocations: 23.92 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4399, allocations: 4 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.4399, allocations: 0 / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4399, allocations: 0 / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.44, allocations: 7.938 kB / 0.6039 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.4403, allocations: 227.3 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.4403, allocations: 85.11 kB / 0.6042 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.4403, allocations: 0 / 0.6042 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4405, allocations: 15.98 kB / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.4405, allocations: 7.922 kB / 0.6042 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.4405, allocations: 8 kB / 0.6042 GB, free: 13.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.404e-05/0.4406, allocations: 113.5 kB / 0.6043 GB, free: 13.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4406, allocations: 4 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.4409, allocations: 31.94 kB / 0.6044 GB, free: 13.76 MB / 426.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 () * Number of clocked 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.00162/0.4425, allocations: 1.102 MB / 0.6055 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.4428, allocations: 99.86 kB / 0.6056 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4428, allocations: 0 / 0.6056 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.443, allocations: 47.97 kB / 0.6056 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.4432, allocations: 15.98 kB / 0.6056 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.4443, allocations: 0.6447 MB / 0.6062 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.4446, allocations: 0.6965 MB / 0.6069 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.4447, allocations: 17.12 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.149e-05/0.4448, allocations: 27.42 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4448, allocations: 4 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.4578, allocations: 2.513 MB / 0.6094 GB, free: 8.793 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.458, allocations: 215.8 kB / 0.6096 GB, free: 8.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.077, allocations: 0 / 0.6096 GB, free: 8.555 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat does not exist to compare? outputFormat=mat