Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001234/0.001234, allocations: 177.4 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.455/1.455, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0007659/0.0007659, allocations: 86.2 kB / 261.7 MB, free: 1.688 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.2085/0.2085, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.995e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4504/0.5847, allocations: 88.37 MB / 0.5523 GB, free: 6.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.585, allocations: 79.36 kB / 0.5524 GB, free: 6.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02085/0.6058, allocations: 9.037 MB / 0.5612 GB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6059, allocations: 0 / 0.5612 GB, free: 15.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.606, allocations: 12 kB / 0.5612 GB, free: 15.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007447/0.6067, allocations: 0.5602 MB / 0.5618 GB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6068, allocations: 8.031 kB / 0.5618 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.156e-05/0.6069, allocations: 47.39 kB / 0.5618 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.6075, allocations: 342.6 kB / 0.5622 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.6075, allocations: 4 kB / 0.5622 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.6075, allocations: 10.56 kB / 0.5622 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000173/0.6077, allocations: 71.22 kB / 0.5622 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.6079, allocations: 95.41 kB / 0.5623 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6079, allocations: 0 / 0.5623 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.608, allocations: 0 / 0.5623 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.608, allocations: 11.95 kB / 0.5623 GB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.6087, allocations: 0.4986 MB / 0.5628 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.6089, allocations: 104.4 kB / 0.5629 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.609, allocations: 36.11 kB / 0.563 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.609, allocations: 7.984 kB / 0.563 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.6091, allocations: 34.56 kB / 0.563 GB, free: 13.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.6091, allocations: 0 / 0.563 GB, free: 13.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008701/0.61, allocations: 361.5 kB / 0.5634 GB, free: 13.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.61, allocations: 55.41 kB / 0.5634 GB, free: 13.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.6106, allocations: 479.7 kB / 0.5639 GB, free: 12.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.6106, allocations: 25.7 kB / 0.5639 GB, free: 12.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.6108, allocations: 206 kB / 0.5641 GB, free: 12.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.6108, allocations: 50.14 kB / 0.5641 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.6108, allocations: 4.219 kB / 0.5641 GB, free: 12.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.611, allocations: 358.3 kB / 0.5645 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.6111, allocations: 54.11 kB / 0.5645 GB, free: 12.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.6112, allocations: 53.23 kB / 0.5646 GB, free: 12.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.6113, allocations: 63.19 kB / 0.5646 GB, free: 12.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.6113, allocations: 4 kB / 0.5646 GB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002732/0.6116, allocations: 198 kB / 0.5648 GB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6116, allocations: 5.094 kB / 0.5648 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6116, allocations: 0 / 0.5648 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.6116, allocations: 3.984 kB / 0.5648 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.6118, allocations: 39.36 kB / 0.5649 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.6118, allocations: 0 / 0.5649 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.6119, allocations: 8 kB / 0.5649 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.612, allocations: 11.98 kB / 0.5649 GB, free: 11.98 MB / 378.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 (17): * Single equations (assignments): 17 * 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 0.0001075/0.6121, allocations: 108.9 kB / 0.565 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002864/0.6124, allocations: 201.1 kB / 0.5652 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.6124, allocations: 35.53 kB / 0.5652 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.6128, allocations: 249.3 kB / 0.5655 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6129, allocations: 0 / 0.5655 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6129, allocations: 4 kB / 0.5655 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6129, allocations: 4 kB / 0.5655 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007997/0.6137, allocations: 0.6638 MB / 0.5661 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.6137, allocations: 0 / 0.5661 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.6138, allocations: 47.41 kB / 0.5662 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.6138, allocations: 4 kB / 0.5662 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.6139, allocations: 0 / 0.5662 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.6139, allocations: 7.953 kB / 0.5662 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6139, allocations: 0 / 0.5662 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.6142, allocations: 311.5 kB / 0.5665 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.6144, allocations: 144 kB / 0.5666 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.6144, allocations: 0 / 0.5666 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.6145, allocations: 11.98 kB / 0.5666 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.6146, allocations: 19.88 kB / 0.5666 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.6146, allocations: 15.81 kB / 0.5667 GB, free: 10.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003839/0.615, allocations: 379 kB / 0.567 GB, free: 10.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.615, allocations: 0 / 0.567 GB, free: 10.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.6154, allocations: 59.81 kB / 0.5671 GB, free: 10.01 MB / 378.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 (17): * Single equations (assignments): 17 * 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.001803/0.6172, allocations: 1.308 MB / 0.5684 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.6175, allocations: 137.9 kB / 0.5685 GB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6175, allocations: 0 / 0.5685 GB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.6176, allocations: 84.72 kB / 0.5686 GB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.6181, allocations: 60.8 kB / 0.5686 GB, free: 8.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.6195, allocations: 0.6507 MB / 0.5693 GB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.6201, allocations: 0.8284 MB / 0.5701 GB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.6203, allocations: 70.02 kB / 0.5701 GB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.6205, allocations: 130.4 kB / 0.5703 GB, free: 6.992 MB / 378.7 MB Notification: Performance of SimCode: time 6.12e-07/0.6205, allocations: 0 / 0.5703 GB, free: 6.992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.6495, allocations: 6.641 MB / 0.5767 GB, free: 360 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.6498, allocations: 155.8 kB / 0.5769 GB, free: 168 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.738, allocations: 3.938 kB / 0.5769 GB, free: 164 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat