Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test39",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.01004/0.01004, allocations: 166.4 kB / 15.11 MB, free: 5.988 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.612/1.612, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001972/0.001972, allocations: 103.4 kB / 226.2 MB, free: 10.1 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.4902/0.4902, allocations: 38.06 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5169, allocations: 75.71 MB / 487.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5172, allocations: 67.28 kB / 487.5 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.5318, allocations: 3.849 MB / 491.3 MB, free: 8.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5319, allocations: 0 / 491.3 MB, free: 8.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5319, allocations: 0 / 491.3 MB, free: 8.734 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004882/0.5324, allocations: 423 kB / 491.7 MB, free: 8.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5324, allocations: 12.03 kB / 491.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.5325, allocations: 32.56 kB / 491.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.5325, allocations: 11.78 kB / 491.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.5328, allocations: 189.7 kB / 492 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.5328, allocations: 7.938 kB / 492 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.5328, allocations: 4 kB / 492 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.5329, allocations: 37.62 kB / 492 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.533, allocations: 0 / 492 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.533, allocations: 5.031 kB / 492 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.533, allocations: 0 / 492 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.5331, allocations: 7.984 kB / 492 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.5332, allocations: 185.2 kB / 492.2 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.257e-05/0.5333, allocations: 38.25 kB / 492.3 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.5334, allocations: 0 / 492.3 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.5335, allocations: 59.02 kB / 492.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.5335, allocations: 0 / 492.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002224/0.5337, allocations: 65.22 kB / 492.4 MB, free: 7.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.5338, allocations: 51.41 kB / 492.4 MB, free: 7.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.534, allocations: 160.4 kB / 492.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.534, allocations: 36.95 kB / 492.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.534, allocations: 95.62 kB / 492.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.5341, allocations: 15.83 kB / 492.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.5341, allocations: 0 / 492.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.565e-05/0.5342, allocations: 326.7 kB / 493 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.5342, allocations: 15.75 kB / 493.1 MB, free: 6.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.5343, allocations: 23.67 kB / 493.1 MB, free: 6.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.639e-05/0.5344, allocations: 49.25 kB / 493.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5344, allocations: 0 / 493.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002042/0.5346, allocations: 113 kB / 493.2 MB, free: 6.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.5346, allocations: 41.58 kB / 493.3 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5347, allocations: 0 / 493.3 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5347, allocations: 3.984 kB / 493.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.5348, allocations: 7.938 kB / 493.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5348, allocations: 0 / 493.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.5349, allocations: 10.72 kB / 493.3 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.5349, allocations: 4 kB / 493.3 MB, free: 6.629 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 (5): * Single equations (assignments): 4 * 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.587e-05/0.535, allocations: 126.8 kB / 493.4 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.535, allocations: 11.91 kB / 493.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.5352, allocations: 69.73 kB / 493.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5352, allocations: 4.047 kB / 493.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5352, allocations: 3.984 kB / 493.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5352, allocations: 0 / 493.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.5354, allocations: 177.2 kB / 493.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5354, allocations: 0 / 493.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.5354, allocations: 7.938 kB / 493.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.5354, allocations: 0 / 493.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.5355, allocations: 0 / 493.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5355, allocations: 8 kB / 493.7 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5355, allocations: 0 / 493.7 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.5356, allocations: 95.84 kB / 493.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.5357, allocations: 85.67 kB / 493.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.5357, allocations: 3.984 kB / 493.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.5358, allocations: 3.875 kB / 493.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.5358, allocations: 4 kB / 493.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5358, allocations: 0 / 493.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.536, allocations: 135.3 kB / 494 MB, free: 5.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.536, allocations: 0 / 494 MB, free: 5.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.5363, allocations: 35.88 kB / 494.1 MB, free: 5.824 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 (4): * Single equations (assignments): 3 * 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.001105/0.5374, allocations: 0.8437 MB / 494.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.5377, allocations: 94.7 kB / 495 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5377, allocations: 8 kB / 495 MB, free: 4.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.198e-05/0.5377, allocations: 19.73 kB / 495 MB, free: 4.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.538, allocations: 15.92 kB / 495 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.5387, allocations: 416.3 kB / 495.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.5389, allocations: 0.6963 MB / 496.1 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.5389, allocations: 12.16 kB / 496.2 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.539, allocations: 31.05 kB / 496.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.539, allocations: 0 / 496.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.5644, allocations: 2.371 MB / 498.6 MB, free: 1.391 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/0.5647, allocations: 221.9 kB / 498.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.028, allocations: 0 / 498.8 MB, free: 1.141 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat