Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001262/0.001262, allocations: 180.3 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.373/1.373, allocations: 221.3 MB / 236 MB, free: 2.891 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.0009783/0.0009785, allocations: 87.8 kB / 287 MB, free: 200 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.1983/0.1983, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.433e-05, allocations: 224 / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1543, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.6059, allocations: 87.96 MB / 0.5877 GB, free: 1.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.6062, allocations: 79.94 kB / 0.5878 GB, free: 1.223 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.6177, allocations: 4.494 MB / 0.5922 GB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6178, allocations: 0 / 0.5922 GB, free: 12.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.6178, allocations: 4 kB / 0.5922 GB, free: 12.74 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.000451/0.6182, allocations: 410.1 kB / 0.5926 GB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.6183, allocations: 12.03 kB / 0.5926 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.6184, allocations: 34.56 kB / 0.5926 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.6184, allocations: 11.91 kB / 0.5926 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.6187, allocations: 218.5 kB / 0.5928 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.6187, allocations: 15.89 kB / 0.5928 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.6187, allocations: 0 / 0.5928 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.6189, allocations: 49.64 kB / 0.5929 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6189, allocations: 0 / 0.5929 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6189, allocations: 3.984 kB / 0.5929 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6189, allocations: 8 kB / 0.5929 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.619, allocations: 12 kB / 0.5929 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.6194, allocations: 308.7 kB / 0.5932 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.6195, allocations: 42.5 kB / 0.5932 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.6195, allocations: 12.86 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6196, allocations: 7.984 kB / 0.5933 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.6196, allocations: 34.56 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.6196, allocations: 0 / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005114/0.6201, allocations: 165.2 kB / 0.5935 GB, free: 11.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.6202, allocations: 51.41 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.6204, allocations: 241.5 kB / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.6205, allocations: 25.7 kB / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.6205, allocations: 116.1 kB / 0.5939 GB, free: 10.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.6206, allocations: 31.55 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.6206, allocations: 0 / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6207, allocations: 326.8 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.6208, allocations: 16 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.6208, allocations: 20 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.6209, allocations: 23.98 kB / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.6209, allocations: 0 / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001279/0.621, allocations: 81.5 kB / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.621, allocations: 8 kB / 0.5944 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.621, allocations: 0 / 0.5944 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6211, allocations: 4 kB / 0.5944 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.6212, allocations: 15.98 kB / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.6212, allocations: 4 kB / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.6213, allocations: 11.95 kB / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.6213, allocations: 4 kB / 0.5944 GB, free: 10.23 MB / 410.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 (8): * Single equations (assignments): 8 * 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 8.283e-05/0.6214, allocations: 108.9 kB / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.6214, allocations: 19.75 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.6216, allocations: 103.2 kB / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6216, allocations: 0 / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.6216, allocations: 0 / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6217, allocations: 0 / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.6221, allocations: 419.3 kB / 0.595 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6222, allocations: 8.031 kB / 0.595 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.6222, allocations: 19.92 kB / 0.595 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.6223, allocations: 4 kB / 0.595 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.6223, allocations: 0 / 0.595 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6223, allocations: 3.953 kB / 0.595 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6223, allocations: 4 kB / 0.595 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.6225, allocations: 206.3 kB / 0.5952 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.6226, allocations: 104.9 kB / 0.5953 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.6226, allocations: 7.953 kB / 0.5954 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.6227, allocations: 7.938 kB / 0.5954 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.6228, allocations: 11.98 kB / 0.5954 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.6228, allocations: 0 / 0.5954 GB, free: 9.113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001855/0.623, allocations: 192.4 kB / 0.5956 GB, free: 8.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.555e-06/0.623, allocations: 4 kB / 0.5956 GB, free: 8.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000253/0.6232, allocations: 35.88 kB / 0.5956 GB, free: 8.887 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 (8): * Single equations (assignments): 8 * 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.001318/0.6246, allocations: 1.114 MB / 0.5967 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.6247, allocations: 47.92 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6247, allocations: 0 / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.6248, allocations: 27.94 kB / 0.5968 GB, free: 7.785 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.625, allocations: 20.17 kB / 0.5968 GB, free: 7.762 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.6256, allocations: 296.2 kB / 0.5971 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.626, allocations: 0.7199 MB / 0.5978 GB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.6261, allocations: 20.97 kB / 0.5978 GB, free: 6.664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.6262, allocations: 39.42 kB / 0.5978 GB, free: 6.625 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6262, allocations: 0 / 0.5978 GB, free: 6.625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.6434, allocations: 3.043 MB / 0.6008 GB, free: 3.664 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.6436, allocations: 182.9 kB / 0.601 GB, free: 3.441 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.253, allocations: 0 / 0.601 GB, free: 3.441 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat does not exist to compare? outputFormat=mat