Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001381/0.001381, allocations: 180.9 kB / 8.008 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.765/1.765, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0009123/0.0009125, allocations: 86.3 kB / 261.7 MB, free: 1.684 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.2077/0.2077, allocations: 43.48 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.278e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4689, allocations: 86.46 MB / 0.5505 GB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.4692, allocations: 76.17 kB / 0.5505 GB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00974/0.479, allocations: 4.421 MB / 0.5549 GB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.479, allocations: 0 / 0.5549 GB, free: 4.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.479, allocations: 0 / 0.5549 GB, free: 4.438 MB / 362.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.0003138/0.4793, allocations: 402.3 kB / 0.5552 GB, free: 4.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4794, allocations: 12.03 kB / 0.5552 GB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.4794, allocations: 11.86 kB / 0.5553 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.4796, allocations: 210.2 kB / 0.5555 GB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.4797, allocations: 0 / 0.5555 GB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.4797, allocations: 0 / 0.5555 GB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.286e-05/0.4798, allocations: 27.55 kB / 0.5555 GB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.4799, allocations: 44.88 kB / 0.5555 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4799, allocations: 0 / 0.5555 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.4799, allocations: 0 / 0.5555 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.4799, allocations: 11.94 kB / 0.5555 GB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.4803, allocations: 293.7 kB / 0.5558 GB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.4804, allocations: 41.5 kB / 0.5559 GB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.4804, allocations: 20.3 kB / 0.5559 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4805, allocations: 3.938 kB / 0.5559 GB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.4805, allocations: 34.56 kB / 0.5559 GB, free: 3.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4805, allocations: 0 / 0.5559 GB, free: 3.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004888/0.481, allocations: 164.6 kB / 0.5561 GB, free: 3.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.481, allocations: 59.41 kB / 0.5561 GB, free: 3.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.4812, allocations: 182.1 kB / 0.5563 GB, free: 2.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.4812, allocations: 25.7 kB / 0.5563 GB, free: 2.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.4812, allocations: 105.6 kB / 0.5564 GB, free: 2.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.4813, allocations: 23.28 kB / 0.5565 GB, free: 2.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.4813, allocations: 0 / 0.5565 GB, free: 2.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.4813, allocations: 329.3 kB / 0.5568 GB, free: 2.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.4814, allocations: 14 kB / 0.5568 GB, free: 2.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.4814, allocations: 22.17 kB / 0.5568 GB, free: 2.391 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/0.4815, allocations: 29.73 kB / 0.5568 GB, free: 2.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.4815, allocations: 0 / 0.5568 GB, free: 2.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001065/0.4816, allocations: 83.38 kB / 0.5569 GB, free: 2.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4816, allocations: 4 kB / 0.5569 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4816, allocations: 0 / 0.5569 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4816, allocations: 4 kB / 0.5569 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4818, allocations: 27.91 kB / 0.5569 GB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4818, allocations: 3.953 kB / 0.5569 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.4819, allocations: 16 kB / 0.557 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4819, allocations: 3.984 kB / 0.557 GB, free: 2.238 MB / 362.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 (7): * Single equations (assignments): 7 * 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 5.971e-05/0.4819, allocations: 105 kB / 0.5571 GB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001105/0.4821, allocations: 83.66 kB / 0.5571 GB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.4821, allocations: 11.81 kB / 0.5572 GB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.4823, allocations: 111.9 kB / 0.5573 GB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4823, allocations: 0 / 0.5573 GB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4823, allocations: 12 kB / 0.5573 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4823, allocations: 0 / 0.5573 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.4826, allocations: 362.5 kB / 0.5576 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4826, allocations: 7.938 kB / 0.5576 GB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.4827, allocations: 23.92 kB / 0.5576 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4827, allocations: 3.953 kB / 0.5577 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4827, allocations: 4 kB / 0.5577 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4828, allocations: 4 kB / 0.5577 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4828, allocations: 0 / 0.5577 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.4829, allocations: 178.4 kB / 0.5578 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.483, allocations: 100.5 kB / 0.5579 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.483, allocations: 3.953 kB / 0.5579 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.4831, allocations: 12 kB / 0.5579 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4831, allocations: 11.98 kB / 0.558 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.4832, allocations: 3.938 kB / 0.558 GB, free: 1.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.508e-05/0.4833, allocations: 156 kB / 0.5581 GB, free: 1.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4833, allocations: 0 / 0.5581 GB, free: 1.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.4835, allocations: 23.94 kB / 0.5581 GB, free: 1.07 MB / 362.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 (7): * Single equations (assignments): 7 * 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.0009028/0.4844, allocations: 0.9588 MB / 0.5591 GB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.4846, allocations: 43.38 kB / 0.5591 GB, free: 140 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4846, allocations: 0 / 0.5591 GB, free: 140 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.4846, allocations: 35.55 kB / 0.5591 GB, free: 112 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.4849, allocations: 15.81 kB / 0.5592 GB, free: 100 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.4854, allocations: 248 kB / 0.5594 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.4858, allocations: 0.7188 MB / 0.5601 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.4858, allocations: 24.94 kB / 0.5601 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.4859, allocations: 34.67 kB / 0.5602 GB, free: 15.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4859, allocations: 0 / 0.5602 GB, free: 15.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.5069, allocations: 2.381 MB / 0.5625 GB, free: 12.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.5072, allocations: 171.1 kB / 0.5626 GB, free: 12.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.978, allocations: 0 / 0.5626 GB, free: 12.48 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat