Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test20",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.01022/0.01022, allocations: 165.7 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.615/1.615, allocations: 170.8 MB / 186.6 MB, free: 1.148 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.001967/0.001967, allocations: 107.4 kB / 226.2 MB, free: 10.12 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.4294/0.4294, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.000454, allocations: 12 kB / 363 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09872, allocations: 48.71 MB / 411.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3912/0.4899, allocations: 75.82 MB / 487.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.4902, allocations: 74.17 kB / 487.6 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.5049, allocations: 3.922 MB / 491.5 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5049, allocations: 4 kB / 491.5 MB, free: 8.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.5049, allocations: 0 / 491.5 MB, free: 8.684 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004541/0.5054, allocations: 430 kB / 491.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5055, allocations: 8.031 kB / 491.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.5055, allocations: 33.31 kB / 492 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.5056, allocations: 7.906 kB / 492 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.5058, allocations: 212.8 kB / 492.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.5058, allocations: 1.688 kB / 492.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.5059, allocations: 4 kB / 492.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.506, allocations: 45.61 kB / 492.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.506, allocations: 0 / 492.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.506, allocations: 1.031 kB / 492.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.506, allocations: 0 / 492.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.5061, allocations: 15.8 kB / 492.3 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.5065, allocations: 302.2 kB / 492.6 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.5067, allocations: 40.06 kB / 492.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.5067, allocations: 0 / 492.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.5068, allocations: 63.45 kB / 492.7 MB, free: 7.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.5069, allocations: 0 / 492.7 MB, free: 7.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004278/0.5073, allocations: 120.2 kB / 492.8 MB, free: 7.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.5073, allocations: 55.41 kB / 492.8 MB, free: 7.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.5075, allocations: 162.3 kB / 493 MB, free: 7.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5075, allocations: 33.33 kB / 493 MB, free: 7.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.5076, allocations: 98.56 kB / 493.1 MB, free: 6.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.5076, allocations: 11.31 kB / 493.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.5076, allocations: 1.406 kB / 493.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.5077, allocations: 322.7 kB / 493.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.5078, allocations: 27.61 kB / 493.5 MB, free: 6.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.5079, allocations: 30.55 kB / 493.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.508, allocations: 52.52 kB / 493.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.508, allocations: 0 / 493.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002368/0.5082, allocations: 137 kB / 493.7 MB, free: 6.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.5083, allocations: 33.7 kB / 493.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.5083, allocations: 0 / 493.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5083, allocations: 0 / 493.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.6e-05/0.5084, allocations: 8.062 kB / 493.7 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.5084, allocations: 11.94 kB / 493.7 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.5085, allocations: 4 kB / 493.7 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.5085, allocations: 8 kB / 493.7 MB, free: 6.367 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 8.444e-05/0.5086, allocations: 121.4 kB / 493.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.5086, allocations: 7.906 kB / 493.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.5088, allocations: 95.52 kB / 494 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5089, allocations: 0 / 494 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5089, allocations: 0 / 494 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5089, allocations: 3.953 kB / 494 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.5092, allocations: 358.1 kB / 494.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.5093, allocations: 0 / 494.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.5093, allocations: 4 kB / 494.3 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5093, allocations: 4 kB / 494.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5093, allocations: 3.984 kB / 494.3 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5094, allocations: 7.891 kB / 494.3 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5094, allocations: 0 / 494.3 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.5096, allocations: 168.7 kB / 494.5 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.5096, allocations: 96.38 kB / 494.6 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.5096, allocations: 4 kB / 494.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.5097, allocations: 0 / 494.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.5098, allocations: 8.234 kB / 494.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.5098, allocations: 0 / 494.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.5099, allocations: 136.9 kB / 494.7 MB, free: 5.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5099, allocations: 0 / 494.7 MB, free: 5.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.5103, allocations: 34.88 kB / 494.8 MB, free: 5.316 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001169/0.5115, allocations: 0.9713 MB / 495.8 MB, free: 4.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.5117, allocations: 115.4 kB / 495.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5117, allocations: 0 / 495.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.5118, allocations: 22.56 kB / 495.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.5121, allocations: 23.19 kB / 495.9 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006821/0.5127, allocations: 439.9 kB / 496.3 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.5129, allocations: 0.7042 MB / 497 MB, free: 3.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.513, allocations: 11.44 kB / 497.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.5131, allocations: 26.61 kB / 497.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5131, allocations: 0 / 497.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.5359, allocations: 2.632 MB / 499.7 MB, free: 484 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.5361, allocations: 214.1 kB / 499.9 MB, free: 236 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.922, allocations: 0 / 499.9 MB, free: 236 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat