Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009592/0.009592, allocations: 166.5 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.579/1.579, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001924/0.001923, allocations: 103.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4233/0.4233, allocations: 38.06 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004465, allocations: 8 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09642, allocations: 48.72 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.4692, allocations: 74.74 MB / 486.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4695, allocations: 74.31 kB / 486.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.4817, allocations: 3.696 MB / 490.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4817, allocations: 0 / 490.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.4817, allocations: 0 / 490.2 MB, free: 9.762 MB / 330.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.0003812/0.4821, allocations: 406.7 kB / 490.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4822, allocations: 8.031 kB / 490.6 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.4822, allocations: 33.94 kB / 490.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.4822, allocations: 11.89 kB / 490.6 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.4824, allocations: 177 kB / 490.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4825, allocations: 2.938 kB / 490.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.4825, allocations: 4 kB / 490.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.4827, allocations: 68.58 kB / 490.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4827, allocations: 0 / 490.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4827, allocations: 3.312 kB / 490.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4827, allocations: 4 kB / 490.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.4829, allocations: 23.23 kB / 490.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.4832, allocations: 280 kB / 491.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4834, allocations: 53.88 kB / 491.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4835, allocations: 0 / 491.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.4835, allocations: 34.56 kB / 491.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.4835, allocations: 0 / 491.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007055/0.4842, allocations: 149.8 kB / 491.4 MB, free: 8.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.4843, allocations: 77.11 kB / 491.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.4844, allocations: 123.2 kB / 491.6 MB, free: 8.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.4844, allocations: 25.7 kB / 491.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.4844, allocations: 91.5 kB / 491.7 MB, free: 8.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.4844, allocations: 19.05 kB / 491.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.4845, allocations: 3.188 kB / 491.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.4845, allocations: 322 kB / 492.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.4846, allocations: 23.55 kB / 492.1 MB, free: 7.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.4848, allocations: 40.7 kB / 492.1 MB, free: 7.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4849, allocations: 56.88 kB / 492.2 MB, free: 7.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4849, allocations: 0 / 492.2 MB, free: 7.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002928/0.4852, allocations: 129.4 kB / 492.3 MB, free: 7.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.4853, allocations: 33.7 kB / 492.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.4853, allocations: 4.062 kB / 492.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4853, allocations: 0 / 492.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4854, allocations: 15.98 kB / 492.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.4854, allocations: 0.7812 kB / 492.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.4855, allocations: 8 kB / 492.4 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4855, allocations: 4 kB / 492.4 MB, free: 7.43 MB / 330.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 7.126e-05/0.4856, allocations: 118.1 kB / 492.5 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.4857, allocations: 11.89 kB / 492.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.486, allocations: 96.75 kB / 492.6 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.486, allocations: 8 kB / 492.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.486, allocations: 0 / 492.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.486, allocations: 288 / 492.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.4865, allocations: 345.8 kB / 493 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4865, allocations: 3.938 kB / 493 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.4866, allocations: 23.92 kB / 493 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4866, allocations: 3.984 kB / 493 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.4867, allocations: 0 / 493 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4867, allocations: 4 kB / 493 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4867, allocations: 0 / 493 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.487, allocations: 188.8 kB / 493.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.487, allocations: 81.09 kB / 493.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.487, allocations: 0 / 493.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4871, allocations: 11.31 kB / 493.3 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.4872, allocations: 4.172 kB / 493.3 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.4872, allocations: 8 kB / 493.3 MB, free: 6.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.251e-05/0.4873, allocations: 95.89 kB / 493.4 MB, free: 6.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4873, allocations: 4.844 kB / 493.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.4876, allocations: 31.88 kB / 493.4 MB, free: 6.383 MB / 330.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.001111/0.4887, allocations: 0.9485 MB / 494.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.489, allocations: 113.9 kB / 494.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4891, allocations: 0 / 494.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.4892, allocations: 23.23 kB / 494.5 MB, free: 5.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.4894, allocations: 15.86 kB / 494.5 MB, free: 5.359 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4916, allocations: 1.092 MB / 495.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.4918, allocations: 0.6887 MB / 496.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.953e-05/0.4919, allocations: 16.16 kB / 496.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.4919, allocations: 19.25 kB / 496.3 MB, free: 3.84 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4919, allocations: 0 / 496.3 MB, free: 3.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08797/0.5799, allocations: 2.1 MB / 498.4 MB, free: 1.781 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.5801, allocations: 205.4 kB / 498.6 MB, free: 1.547 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.82, allocations: 0 / 498.6 MB, free: 1.547 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat does not exist to compare? outputFormat=mat