Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001176/0.001176, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.335/1.335, allocations: 223.2 MB / 241 MB, free: 10.16 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.001051/0.001051, allocations: 94.03 kB / 292.1 MB, free: 10.7 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.319/0.319, allocations: 44.22 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 12 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3552, allocations: 61.89 MB / 0.5096 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4797, allocations: 87.94 MB / 0.5955 GB, free: 7.168 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.4801, allocations: 87.91 kB / 0.5956 GB, free: 7.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.4905, allocations: 3.757 MB / 0.5993 GB, free: 3.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4906, allocations: 0 / 0.5993 GB, free: 3.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4906, allocations: 4 kB / 0.5993 GB, free: 3.324 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004504/0.4911, allocations: 395 kB / 0.5996 GB, free: 2.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4911, allocations: 11.97 kB / 0.5997 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.4912, allocations: 34.55 kB / 0.5997 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.4912, allocations: 7.906 kB / 0.5997 GB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.4914, allocations: 192.3 kB / 0.5999 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4915, allocations: 11.94 kB / 0.5999 GB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.4915, allocations: 4 kB / 0.5999 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.4916, allocations: 49.69 kB / 0.5999 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4917, allocations: 0 / 0.5999 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.4917, allocations: 0 / 0.5999 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4917, allocations: 0 / 0.5999 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4918, allocations: 35.91 kB / 0.6 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.4922, allocations: 268.9 kB / 0.6002 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.4924, allocations: 50.55 kB / 0.6003 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4924, allocations: 7.938 kB / 0.6003 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.4924, allocations: 30.56 kB / 0.6003 GB, free: 2.078 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4924, allocations: 0 / 0.6003 GB, free: 2.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005512/0.493, allocations: 157.3 kB / 0.6005 GB, free: 1.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.493, allocations: 55.41 kB / 0.6005 GB, free: 1.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.4932, allocations: 155.3 kB / 0.6007 GB, free: 1.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4932, allocations: 29.64 kB / 0.6007 GB, free: 1.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.4933, allocations: 96.14 kB / 0.6008 GB, free: 1.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.4933, allocations: 23.69 kB / 0.6008 GB, free: 1.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.4933, allocations: 0 / 0.6008 GB, free: 1.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4935, allocations: 322.8 kB / 0.6011 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.4935, allocations: 23.98 kB / 0.6011 GB, free: 1.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.4936, allocations: 23.98 kB / 0.6012 GB, free: 1.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.903e-05/0.4937, allocations: 23.98 kB / 0.6012 GB, free: 1.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4937, allocations: 0 / 0.6012 GB, free: 1.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.4939, allocations: 85.58 kB / 0.6013 GB, free: 1.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4939, allocations: 8 kB / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4939, allocations: 0 / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4939, allocations: 0 / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.494, allocations: 15.98 kB / 0.6013 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.494, allocations: 3.938 kB / 0.6013 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.4941, allocations: 7.984 kB / 0.6013 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.4941, allocations: 8 kB / 0.6013 GB, free: 1.012 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.015e-05/0.4942, allocations: 122.3 kB / 0.6014 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.4942, allocations: 7.906 kB / 0.6014 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.4945, allocations: 98.22 kB / 0.6015 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4945, allocations: 0 / 0.6015 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4945, allocations: 0 / 0.6015 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4945, allocations: 7.984 kB / 0.6015 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.4949, allocations: 366.5 kB / 0.6019 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.495, allocations: 0 / 0.6019 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.495, allocations: 15.98 kB / 0.6019 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.495, allocations: 0 / 0.6019 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.495, allocations: 0 / 0.6019 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.495, allocations: 4 kB / 0.6019 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.495, allocations: 3.938 kB / 0.6019 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.4953, allocations: 191.3 kB / 0.6021 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.4954, allocations: 89.02 kB / 0.6022 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.4954, allocations: 4 kB / 0.6022 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.4955, allocations: 11.98 kB / 0.6022 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.4955, allocations: 0 / 0.6022 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.4955, allocations: 4 kB / 0.6022 GB, free: 0 / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.4956, allocations: 129.9 kB / 0.6023 GB, free: 15.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4956, allocations: 0 / 0.6023 GB, free: 15.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.4959, allocations: 27.98 kB / 0.6024 GB, free: 15.84 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 (5): * Single equations (assignments): 5 * 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.001337/0.4972, allocations: 1.027 MB / 0.6034 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.4974, allocations: 51.97 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4974, allocations: 4 kB / 0.6034 GB, free: 14.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.4975, allocations: 27.92 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.4977, allocations: 21.59 kB / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.4987, allocations: 0.6009 MB / 0.604 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.499, allocations: 0.6965 MB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.4991, allocations: 12.17 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.4992, allocations: 23.42 kB / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4992, allocations: 0 / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.5123, allocations: 2.178 MB / 0.6069 GB, free: 11.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.5125, allocations: 208.2 kB / 0.6071 GB, free: 11.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.021, allocations: 0 / 0.6071 GB, free: 11.15 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat