Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test16",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.009385/0.009385, allocations: 167.3 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.729/1.729, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.002684/0.002684, allocations: 111.3 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.4335/0.4335, allocations: 38.06 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 16 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.4927, allocations: 75.82 MB / 487.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.493, allocations: 74.2 kB / 487.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.508, allocations: 3.876 MB / 491.5 MB, free: 8.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.508, allocations: 0 / 491.5 MB, free: 8.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.5081, allocations: 7.812 kB / 491.5 MB, free: 8.23 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.0004614/0.5085, allocations: 427.3 kB / 491.9 MB, free: 7.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.5086, allocations: 12.03 kB / 491.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.5087, allocations: 34.5 kB / 491.9 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.5087, allocations: 7.906 kB / 491.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.509, allocations: 195.2 kB / 492.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.509, allocations: 3.125 kB / 492.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.509, allocations: 11.98 kB / 492.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.5091, allocations: 45.61 kB / 492.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5092, allocations: 0 / 492.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.5092, allocations: 3.812 kB / 492.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5092, allocations: 4 kB / 492.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.5093, allocations: 13.02 kB / 492.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.5097, allocations: 294.2 kB / 492.5 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.5099, allocations: 45.16 kB / 492.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.51, allocations: 3.984 kB / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.5101, allocations: 54.53 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.5101, allocations: 0 / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004833/0.5106, allocations: 121.9 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.5106, allocations: 55.34 kB / 492.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.5108, allocations: 155.2 kB / 492.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5109, allocations: 29.7 kB / 493 MB, free: 6.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.5109, allocations: 92.7 kB / 493 MB, free: 6.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.5109, allocations: 23.28 kB / 493.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.511, allocations: 4 kB / 493.1 MB, free: 6.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.511, allocations: 313.7 kB / 493.4 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.5111, allocations: 26.3 kB / 493.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.5112, allocations: 23.48 kB / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.5113, allocations: 53.95 kB / 493.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5113, allocations: 4 kB / 493.5 MB, free: 6.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002396/0.5115, allocations: 134 kB / 493.6 MB, free: 6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.5116, allocations: 33.7 kB / 493.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.5116, allocations: 0 / 493.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5116, allocations: 0 / 493.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.5117, allocations: 11.98 kB / 493.7 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5117, allocations: 4.109 kB / 493.7 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.5118, allocations: 4 kB / 493.7 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.5118, allocations: 3.984 kB / 493.7 MB, free: 5.938 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.549e-05/0.5119, allocations: 125.7 kB / 493.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.5119, allocations: 12.73 kB / 493.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.5122, allocations: 88.73 kB / 493.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5122, allocations: 4 kB / 493.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5122, allocations: 0 / 493.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5122, allocations: 3.953 kB / 493.9 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.5126, allocations: 344 kB / 494.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5126, allocations: 0 / 494.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.5127, allocations: 11.81 kB / 494.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5127, allocations: 3.938 kB / 494.3 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5127, allocations: 4.094 kB / 494.3 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5127, allocations: 7.891 kB / 494.3 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5128, allocations: 0 / 494.3 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.5129, allocations: 176.5 kB / 494.4 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.513, allocations: 88.39 kB / 494.5 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.513, allocations: 3.984 kB / 494.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.5131, allocations: 11.98 kB / 494.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.5132, allocations: 7.891 kB / 494.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5132, allocations: 7.375 kB / 494.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.5133, allocations: 121.7 kB / 494.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5133, allocations: 0 / 494.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.5137, allocations: 31.92 kB / 494.7 MB, free: 4.887 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.001222/0.5149, allocations: 0.967 MB / 495.7 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.5152, allocations: 104.4 kB / 495.8 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5152, allocations: 0 / 495.8 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.5152, allocations: 22.86 kB / 495.8 MB, free: 3.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.5155, allocations: 19.06 kB / 495.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.5163, allocations: 428.6 kB / 496.2 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.5164, allocations: 0.7043 MB / 496.9 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.5165, allocations: 8.156 kB / 496.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.5166, allocations: 28.98 kB / 497 MB, free: 2.664 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5166, allocations: 0 / 497 MB, free: 2.664 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.5418, allocations: 2.558 MB / 499.5 MB, free: 152 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.5422, allocations: 217.3 kB / 499.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/2.903, allocations: 4 kB / 499.7 MB, free: 15.9 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat