Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00989/0.00989, allocations: 173.4 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.951/1.951, allocations: 194.5 MB / 210.3 MB, free: 7.805 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002665/0.002665, allocations: 104.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2477/0.2477, allocations: 40.01 MB / 340.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004909, allocations: 17.84 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09661, allocations: 54.87 MB / 461.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.2578, allocations: 81.09 MB / 0.5295 GB, free: 2.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.2582, allocations: 71.95 kB / 0.5296 GB, free: 1.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3244/0.5826, allocations: 3.456 MB / 0.533 GB, free: 82.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5826, allocations: 4.578 kB / 0.533 GB, free: 82.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.5827, allocations: 1.344 kB / 0.533 GB, free: 82.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005138/0.5832, allocations: 440.4 kB / 0.5334 GB, free: 81.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5832, allocations: 9.031 kB / 0.5334 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.5833, allocations: 37.83 kB / 0.5334 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.5834, allocations: 17.92 kB / 0.5335 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.5836, allocations: 199.8 kB / 0.5336 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5837, allocations: 6.844 kB / 0.5337 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.5837, allocations: 3.609 kB / 0.5337 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.5839, allocations: 79.23 kB / 0.5337 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.584, allocations: 6.172 kB / 0.5337 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.584, allocations: 5.5 kB / 0.5337 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.584, allocations: 3.953 kB / 0.5337 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.5842, allocations: 45.2 kB / 0.5338 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.5848, allocations: 404.3 kB / 0.5342 GB, free: 81.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.5852, allocations: 92.23 kB / 0.5343 GB, free: 81.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.5852, allocations: 2.844 kB / 0.5343 GB, free: 81.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.5853, allocations: 40.06 kB / 0.5343 GB, free: 81.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.5853, allocations: 0.9688 kB / 0.5343 GB, free: 81.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001097/0.5864, allocations: 255.3 kB / 0.5346 GB, free: 80.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.5864, allocations: 83.39 kB / 0.5346 GB, free: 80.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.5867, allocations: 202.3 kB / 0.5348 GB, free: 80.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5867, allocations: 25.7 kB / 0.5348 GB, free: 80.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.5868, allocations: 111.2 kB / 0.535 GB, free: 80.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.5868, allocations: 28.41 kB / 0.535 GB, free: 80.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.5869, allocations: 0.8125 kB / 0.535 GB, free: 80.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.5869, allocations: 327.1 kB / 0.5353 GB, free: 80.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.5871, allocations: 37.56 kB / 0.5353 GB, free: 80.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.5873, allocations: 45.28 kB / 0.5354 GB, free: 80.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.5875, allocations: 67.45 kB / 0.5354 GB, free: 80.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5875, allocations: 0 / 0.5354 GB, free: 80.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000433/0.5879, allocations: 179.6 kB / 0.5356 GB, free: 80.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.588, allocations: 31.33 kB / 0.5356 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.588, allocations: 1.594 kB / 0.5356 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.588, allocations: 0 / 0.5356 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.5882, allocations: 27.67 kB / 0.5357 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5882, allocations: 2.375 kB / 0.5357 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.5883, allocations: 5.438 kB / 0.5357 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.5884, allocations: 7.156 kB / 0.5357 GB, free: 80.17 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 (11): * Single equations (assignments): 10 * 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 0.0001224/0.5885, allocations: 130.8 kB / 0.5358 GB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.5886, allocations: 14.36 kB / 0.5358 GB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.5891, allocations: 160.9 kB / 0.536 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5891, allocations: 5.281 kB / 0.536 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5891, allocations: 1 kB / 0.536 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5891, allocations: 2.234 kB / 0.536 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.5901, allocations: 0.5387 MB / 0.5365 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5901, allocations: 1.531 kB / 0.5365 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.5903, allocations: 24.38 kB / 0.5365 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5903, allocations: 0 / 0.5365 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.5903, allocations: 3.125 kB / 0.5365 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5903, allocations: 0 / 0.5365 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5904, allocations: 3.844 kB / 0.5365 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.5909, allocations: 337 kB / 0.5369 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.591, allocations: 92.05 kB / 0.5369 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.591, allocations: 6.578 kB / 0.537 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5912, allocations: 11.34 kB / 0.537 GB, free: 79.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.5912, allocations: 11.7 kB / 0.537 GB, free: 79.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.5913, allocations: 3.609 kB / 0.537 GB, free: 79.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002299/0.5915, allocations: 168.7 kB / 0.5371 GB, free: 79.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5915, allocations: 0 / 0.5371 GB, free: 79.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.5919, allocations: 32.33 kB / 0.5372 GB, free: 79.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0014/0.5933, allocations: 1.188 MB / 0.5383 GB, free: 78.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004619/0.5938, allocations: 156.8 kB / 0.5385 GB, free: 78.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5938, allocations: 0 / 0.5385 GB, free: 78.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.594, allocations: 52.86 kB / 0.5385 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.5944, allocations: 13.12 kB / 0.5385 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.5955, allocations: 0.549 MB / 0.5391 GB, free: 77.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.5957, allocations: 0.7171 MB / 0.5398 GB, free: 76.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.5959, allocations: 23.19 kB / 0.5398 GB, free: 76.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.596, allocations: 39.3 kB / 0.5398 GB, free: 76.95 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.596, allocations: 0 / 0.5398 GB, free: 76.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05639/0.6524, allocations: 2.544 MB / 0.5423 GB, free: 76.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.6528, allocations: 211.4 kB / 0.5425 GB, free: 76.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.119, allocations: 5.25 kB / 0.5425 GB, free: 76.35 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat