Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test1.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.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test1",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.009792/0.009792, allocations: 165.6 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.751/1.751, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001927/0.001926, allocations: 107.3 kB / 226.2 MB, free: 10.09 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.5211/0.5211, allocations: 38.06 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007256/0.0007255, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1209, allocations: 48.7 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5449, allocations: 74.48 MB / 486.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5453, allocations: 74.45 kB / 486.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009772/0.555, allocations: 2.593 MB / 488.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5551, allocations: 0 / 488.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.5551, allocations: 4 kB / 488.8 MB, free: 11.01 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.0004096/0.5556, allocations: 401.5 kB / 489.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.5556, allocations: 8.031 kB / 489.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.5556, allocations: 34.5 kB / 489.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.5557, allocations: 11.28 kB / 489.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.5559, allocations: 188 kB / 489.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.556, allocations: 7.375 kB / 489.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.556, allocations: 3.984 kB / 489.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.5562, allocations: 52.81 kB / 489.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5562, allocations: 3.938 kB / 489.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.5562, allocations: 0 / 489.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5563, allocations: 4 kB / 489.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.5564, allocations: 23.36 kB / 489.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.5568, allocations: 279.8 kB / 489.8 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.5571, allocations: 53.42 kB / 489.9 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5571, allocations: 4 kB / 489.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.5572, allocations: 31.88 kB / 489.9 MB, free: 9.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.5572, allocations: 0 / 489.9 MB, free: 9.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008083/0.558, allocations: 166.3 kB / 490.1 MB, free: 9.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.558, allocations: 59.39 kB / 490.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5582, allocations: 124.8 kB / 490.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.5582, allocations: 25.7 kB / 490.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.5583, allocations: 99 kB / 490.4 MB, free: 9.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.5583, allocations: 7.812 kB / 490.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.5583, allocations: 3.125 kB / 490.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.5584, allocations: 322.8 kB / 490.7 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5585, allocations: 30.67 kB / 490.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.5586, allocations: 23.11 kB / 490.8 MB, free: 8.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.5588, allocations: 56.88 kB / 490.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5588, allocations: 3.469 kB / 490.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00033/0.5591, allocations: 132.3 kB / 490.9 MB, free: 8.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.5592, allocations: 37.58 kB / 491 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5592, allocations: 0 / 491 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5592, allocations: 4 kB / 491 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.5594, allocations: 11.98 kB / 491 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5594, allocations: 4 kB / 491 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.5595, allocations: 4 kB / 491 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5595, allocations: 4.781 kB / 491 MB, free: 8.715 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 9.093e-05/0.5596, allocations: 129.7 kB / 491.1 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.5596, allocations: 3.906 kB / 491.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.56, allocations: 105.8 kB / 491.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.56, allocations: 4 kB / 491.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5601, allocations: 0 / 491.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5601, allocations: 3.984 kB / 491.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.5606, allocations: 354.7 kB / 491.6 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5606, allocations: 4 kB / 491.6 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.5608, allocations: 15.98 kB / 491.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5608, allocations: 4 kB / 491.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.5608, allocations: 0 / 491.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5608, allocations: 384 / 491.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5608, allocations: 0 / 491.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.5611, allocations: 207.2 kB / 491.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.5612, allocations: 77.11 kB / 491.9 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.5612, allocations: 4 kB / 491.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.5613, allocations: 4 kB / 491.9 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.5614, allocations: 3.984 kB / 491.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.5614, allocations: 4 kB / 491.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.5615, allocations: 101.1 kB / 492 MB, free: 7.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5615, allocations: 4 kB / 492 MB, free: 7.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.5618, allocations: 23.69 kB / 492 MB, free: 7.656 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.001035/0.5629, allocations: 0.8677 MB / 492.9 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.5632, allocations: 114 kB / 493 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5632, allocations: 4 kB / 493 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.5634, allocations: 35.17 kB / 493.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.5636, allocations: 11.44 kB / 493.1 MB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.5644, allocations: 397.7 kB / 493.5 MB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.5645, allocations: 0.6965 MB / 494.2 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.704e-05/0.5646, allocations: 12.17 kB / 494.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.5647, allocations: 20.75 kB / 494.2 MB, free: 5.527 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5647, allocations: 0 / 494.2 MB, free: 5.527 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.5894, allocations: 1.763 MB / 496 MB, free: 3.812 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.5897, allocations: 214.2 kB / 496.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.833, allocations: 3.938 kB / 496.2 MB, free: 3.566 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test1_res.mat does not exist to compare? outputFormat=mat