Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001435/0.001435, allocations: 169.9 kB / 8.74 MB, free: 340 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.000833/0.0008328, allocations: 90 kB / 281.6 MB, free: 5.262 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.1951/0.1951, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.728e-05, allocations: 224 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6068/0.7653, allocations: 89.29 MB / 0.582 GB, free: 7.137 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.7656, allocations: 67.97 kB / 0.582 GB, free: 7.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02299/0.7886, allocations: 9.018 MB / 0.5908 GB, free: 14.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7887, allocations: 3.938 kB / 0.5908 GB, free: 14.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.948e-05/0.7887, allocations: 12 kB / 0.5909 GB, free: 14.03 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007938/0.7895, allocations: 0.6298 MB / 0.5915 GB, free: 13.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.7895, allocations: 11.98 kB / 0.5915 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.7896, allocations: 51.34 kB / 0.5915 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.7903, allocations: 475 kB / 0.592 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.7904, allocations: 4 kB / 0.592 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.7904, allocations: 11.84 kB / 0.592 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001582/0.7906, allocations: 75.91 kB / 0.5921 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.7908, allocations: 128.6 kB / 0.5922 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.7908, allocations: 4 kB / 0.5922 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.7908, allocations: 0 / 0.5922 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7908, allocations: 0 / 0.5922 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.7918, allocations: 0.6897 MB / 0.5929 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.792, allocations: 101.2 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.792, allocations: 33.84 kB / 0.593 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.7921, allocations: 7.953 kB / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.7921, allocations: 42.55 kB / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.7921, allocations: 3.938 kB / 0.5931 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.00105/0.7932, allocations: 450.3 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.7932, allocations: 81.11 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.7941, allocations: 0.7405 MB / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.7942, allocations: 25.7 kB / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.7944, allocations: 260.2 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.7944, allocations: 55.2 kB / 0.5946 GB, free: 9.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-06/0.7945, allocations: 0 / 0.5946 GB, free: 9.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7946, allocations: 362.8 kB / 0.595 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.7947, allocations: 43.98 kB / 0.595 GB, free: 9.559 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.7948, allocations: 65.7 kB / 0.5951 GB, free: 9.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.7949, allocations: 56.05 kB / 0.5951 GB, free: 9.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.7949, allocations: 0 / 0.5951 GB, free: 9.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003183/0.7952, allocations: 200.9 kB / 0.5953 GB, free: 9.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.7953, allocations: 4 kB / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.7953, allocations: 0 / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.7953, allocations: 224 / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.7955, allocations: 47.91 kB / 0.5954 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.7956, allocations: 7.938 kB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.7957, allocations: 15.98 kB / 0.5954 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.7957, allocations: 8 kB / 0.5954 GB, free: 9.148 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001119/0.7959, allocations: 104.9 kB / 0.5955 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003344/0.7962, allocations: 208.8 kB / 0.5957 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.7963, allocations: 51.34 kB / 0.5957 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.7968, allocations: 238.5 kB / 0.596 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7968, allocations: 3.984 kB / 0.596 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7968, allocations: 0 / 0.596 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7968, allocations: 4 kB / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.7979, allocations: 0.7949 MB / 0.5967 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.7979, allocations: 4 kB / 0.5967 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.7981, allocations: 39.97 kB / 0.5968 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.7981, allocations: 7.938 kB / 0.5968 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.7981, allocations: 3.984 kB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.7981, allocations: 4 kB / 0.5968 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.7981, allocations: 80 / 0.5968 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.7986, allocations: 387.7 kB / 0.5972 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.7988, allocations: 176.4 kB / 0.5973 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.7988, allocations: 4 kB / 0.5973 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.799, allocations: 11.98 kB / 0.5974 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.7991, allocations: 23.92 kB / 0.5974 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.7991, allocations: 8 kB / 0.5974 GB, free: 6.988 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006502/0.7998, allocations: 0.5809 MB / 0.598 GB, free: 6.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7998, allocations: 0 / 0.598 GB, free: 6.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.8002, allocations: 75.92 kB / 0.598 GB, free: 6.336 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001427/0.8016, allocations: 1.231 MB / 0.5992 GB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.8019, allocations: 111.9 kB / 0.5993 GB, free: 5.047 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.8019, allocations: 0 / 0.5993 GB, free: 5.047 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.802, allocations: 67.92 kB / 0.5994 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.8025, allocations: 73.94 kB / 0.5995 GB, free: 4.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.804, allocations: 0.8422 MB / 0.6003 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.8044, allocations: 0.877 MB / 0.6011 GB, free: 3.117 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000216/0.8046, allocations: 95.84 kB / 0.6012 GB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.8049, allocations: 179.2 kB / 0.6014 GB, free: 2.848 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.8049, allocations: 0 / 0.6014 GB, free: 2.848 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.8365, allocations: 8.096 MB / 0.6093 GB, free: 10.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.8368, allocations: 164.1 kB / 0.6095 GB, free: 10.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.843, allocations: 0 / 0.6095 GB, free: 10.57 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat