Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.001395/0.001395, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.504/1.504, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000808/0.0008079, allocations: 92.05 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.513e-05/4.516e-05, allocations: 4 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.167, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.6268, allocations: 87.38 MB / 0.5871 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.6271, allocations: 75.81 kB / 0.5872 GB, free: 1.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007287/0.6344, allocations: 3.044 MB / 0.5902 GB, free: 14.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.6344, allocations: 0 / 0.5902 GB, free: 14.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.6344, allocations: 3.938 kB / 0.5902 GB, free: 14.71 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003785/0.6348, allocations: 365.3 kB / 0.5905 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.6349, allocations: 8.031 kB / 0.5905 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.6349, allocations: 42.55 kB / 0.5906 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.635, allocations: 7.906 kB / 0.5906 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.6352, allocations: 171.3 kB / 0.5908 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.6352, allocations: 8 kB / 0.5908 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.6352, allocations: 11.94 kB / 0.5908 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.6355, allocations: 187 kB / 0.5909 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6355, allocations: 3.938 kB / 0.591 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.6355, allocations: 4 kB / 0.591 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.6356, allocations: 12 kB / 0.591 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.6357, allocations: 51.8 kB / 0.591 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.6368, allocations: 1.705 MB / 0.5927 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.902e-05/0.6369, allocations: 173.1 kB / 0.5928 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.6369, allocations: 80.14 kB / 0.5929 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.637, allocations: 75.28 kB / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.637, allocations: 113.8 kB / 0.5931 GB, free: 11.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.637, allocations: 4 kB / 0.5931 GB, free: 11.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.804e-05/0.6371, allocations: 33.61 kB / 0.5931 GB, free: 11.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.6372, allocations: 126.7 kB / 0.5933 GB, free: 11.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.6374, allocations: 165.2 kB / 0.5934 GB, free: 11.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.6374, allocations: 25.7 kB / 0.5934 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.6375, allocations: 155.1 kB / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.6375, allocations: 3.938 kB / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.6375, allocations: 7.938 kB / 0.5936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6377, allocations: 330.8 kB / 0.5939 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.6377, allocations: 31.98 kB / 0.5939 GB, free: 10.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.6379, allocations: 149.1 kB / 0.5941 GB, free: 10.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.638, allocations: 67.91 kB / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.638, allocations: 0 / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003087/0.6383, allocations: 193.7 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6383, allocations: 12.03 kB / 0.5944 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6384, allocations: 4 kB / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.6384, allocations: 8 kB / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.6385, allocations: 35.92 kB / 0.5944 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.6386, allocations: 11.95 kB / 0.5944 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.6386, allocations: 23.75 kB / 0.5944 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.6387, allocations: 15.97 kB / 0.5944 GB, free: 9.961 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001153/0.6388, allocations: 192.1 kB / 0.5946 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.6389, allocations: 120.8 kB / 0.5947 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.6389, allocations: 115.1 kB / 0.5949 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-05/0.639, allocations: 184.2 kB / 0.595 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-05/0.6391, allocations: 180.2 kB / 0.5952 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-05/0.6392, allocations: 184.2 kB / 0.5954 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.6395, allocations: 437.2 kB / 0.5958 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/0.6395, allocations: 101 kB / 0.5959 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.6396, allocations: 101 kB / 0.596 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.071e-05/0.6397, allocations: 184.2 kB / 0.5962 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.6398, allocations: 176.3 kB / 0.5963 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.957e-05/0.6398, allocations: 184.2 kB / 0.5965 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-05/0.6399, allocations: 180.3 kB / 0.5967 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.6401, allocations: 315.6 kB / 0.597 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.6402, allocations: 190 kB / 0.5972 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.6403, allocations: 184.2 kB / 0.5973 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.6404, allocations: 105 kB / 0.5974 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.6405, allocations: 180.3 kB / 0.5976 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.6406, allocations: 104.9 kB / 0.5977 GB, free: 6.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.6407, allocations: 132.1 kB / 0.5978 GB, free: 6.258 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6407, allocations: 0 / 0.5978 GB, free: 6.258 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.641, allocations: 16 kB / 0.5978 GB, free: 6.242 MB / 410.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 (0): * Single equations (assignments): 0 * 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.0007828/0.6418, allocations: 0.9063 MB / 0.5987 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.6419, allocations: 72.92 kB / 0.5988 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.642, allocations: 4.125 kB / 0.5988 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.642, allocations: 0 / 0.5988 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.6423, allocations: 0.5302 MB / 0.5993 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.6428, allocations: 247.2 kB / 0.5996 GB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.6431, allocations: 0.7048 MB / 0.6002 GB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.6433, allocations: 45.14 kB / 0.6003 GB, free: 3.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.6433, allocations: 27.44 kB / 0.6003 GB, free: 3.664 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6433, allocations: 0 / 0.6003 GB, free: 3.664 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.6601, allocations: 1.985 MB / 0.6023 GB, free: 1.773 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003944/0.6606, allocations: 190.9 kB / 0.6024 GB, free: 1.543 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.301, allocations: 0 / 0.6024 GB, free: 1.543 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat does not exist to compare? outputFormat=mat