Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",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.001099/0.001099, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007933/0.0007931, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2027/0.2027, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3721/0.4818, allocations: 86.5 MB / 0.5633 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4821, allocations: 75.59 kB / 0.5634 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0101/0.4922, allocations: 3.991 MB / 0.5673 GB, free: 9.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4922, allocations: 0 / 0.5673 GB, free: 9.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.4922, allocations: 3.984 kB / 0.5673 GB, free: 9.727 MB / 378.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.0004456/0.4927, allocations: 410.3 kB / 0.5677 GB, free: 9.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4927, allocations: 16.02 kB / 0.5677 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.4928, allocations: 30.56 kB / 0.5677 GB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.4928, allocations: 11.81 kB / 0.5677 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.4931, allocations: 214.8 kB / 0.568 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4931, allocations: 0 / 0.568 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.4931, allocations: 0 / 0.568 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4932, allocations: 52.5 kB / 0.568 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4933, allocations: 7.984 kB / 0.568 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.4933, allocations: 0 / 0.568 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4933, allocations: 0 / 0.568 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.4934, allocations: 27.36 kB / 0.568 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.4938, allocations: 299.5 kB / 0.5683 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.494, allocations: 49.88 kB / 0.5684 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.494, allocations: 0 / 0.5684 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.4941, allocations: 30.66 kB / 0.5684 GB, free: 8.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4941, allocations: 3.938 kB / 0.5684 GB, free: 8.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005566/0.4946, allocations: 177.9 kB / 0.5686 GB, free: 8.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4947, allocations: 59.36 kB / 0.5686 GB, free: 8.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.4949, allocations: 200.8 kB / 0.5688 GB, free: 8.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4949, allocations: 25.7 kB / 0.5688 GB, free: 8.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.495, allocations: 109 kB / 0.5689 GB, free: 7.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.495, allocations: 15.8 kB / 0.569 GB, free: 7.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.495, allocations: 7.438 kB / 0.569 GB, free: 7.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4952, allocations: 322.6 kB / 0.5693 GB, free: 7.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.4952, allocations: 23.42 kB / 0.5693 GB, free: 7.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.4953, allocations: 23.55 kB / 0.5693 GB, free: 7.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.4954, allocations: 31.3 kB / 0.5694 GB, free: 7.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4954, allocations: 0 / 0.5694 GB, free: 7.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.4956, allocations: 99.5 kB / 0.5694 GB, free: 7.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4956, allocations: 4 kB / 0.5695 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4956, allocations: 0 / 0.5695 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.4956, allocations: 4 kB / 0.5695 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.4957, allocations: 15.98 kB / 0.5695 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4957, allocations: 0 / 0.5695 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.4958, allocations: 11.95 kB / 0.5695 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4958, allocations: 256 / 0.5695 GB, free: 7.406 MB / 378.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.271e-05/0.4959, allocations: 132.2 kB / 0.5696 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.4959, allocations: 11.81 kB / 0.5696 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.4962, allocations: 127.6 kB / 0.5697 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.4962, allocations: 4.281 kB / 0.5697 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4962, allocations: 0 / 0.5697 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4962, allocations: 0 / 0.5697 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.4967, allocations: 392.1 kB / 0.5701 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4967, allocations: 3.984 kB / 0.5701 GB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.4968, allocations: 11.98 kB / 0.5701 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4968, allocations: 7.938 kB / 0.5701 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.4968, allocations: 0 / 0.5701 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4968, allocations: 0 / 0.5701 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4968, allocations: 3.953 kB / 0.5701 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.497, allocations: 197.2 kB / 0.5703 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.4971, allocations: 100.5 kB / 0.5704 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4971, allocations: 0 / 0.5704 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.4972, allocations: 8 kB / 0.5704 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.4973, allocations: 11.36 kB / 0.5704 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4973, allocations: 3.953 kB / 0.5705 GB, free: 6.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.4974, allocations: 165.2 kB / 0.5706 GB, free: 6.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4974, allocations: 0 / 0.5706 GB, free: 6.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.4977, allocations: 31.86 kB / 0.5706 GB, free: 6.211 MB / 378.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.001282/0.4989, allocations: 1.017 MB / 0.5716 GB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4992, allocations: 61.77 kB / 0.5717 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4992, allocations: 0 / 0.5717 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.997e-05/0.4993, allocations: 32.42 kB / 0.5717 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.4995, allocations: 15.98 kB / 0.5717 GB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.5006, allocations: 0.756 MB / 0.5725 GB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.501, allocations: 0.7148 MB / 0.5732 GB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.173e-05/0.501, allocations: 20.11 kB / 0.5732 GB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.5011, allocations: 24.94 kB / 0.5732 GB, free: 3.648 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5011, allocations: 0 / 0.5732 GB, free: 3.648 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.5149, allocations: 2.512 MB / 0.5757 GB, free: 1.164 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.5151, allocations: 222.3 kB / 0.5759 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.058, allocations: 3.938 kB / 0.5759 GB, free: 0.9062 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat does not exist to compare? outputFormat=mat