Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test22",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.009662/0.009662, allocations: 166.1 kB / 15.11 MB, free: 6.051 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.631/1.631, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002712/0.002712, allocations: 114.5 kB / 226.2 MB, free: 10.11 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.4545/0.4545, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.0005064, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.105, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.5216, allocations: 75.86 MB / 487.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.522, allocations: 71.09 kB / 487.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.5382, allocations: 4.02 MB / 491.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5383, allocations: 0 / 491.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.5383, allocations: 4 kB / 491.7 MB, free: 8.082 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.0004741/0.5388, allocations: 433.7 kB / 492.1 MB, free: 7.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5388, allocations: 8.031 kB / 492.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.5389, allocations: 36.88 kB / 492.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.5389, allocations: 11.91 kB / 492.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.5391, allocations: 197.8 kB / 492.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.5392, allocations: 4 kB / 492.3 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.5392, allocations: 7.562 kB / 492.3 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.5393, allocations: 41.06 kB / 492.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5394, allocations: 0 / 492.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5394, allocations: 1.031 kB / 492.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5394, allocations: 0 / 492.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.5395, allocations: 15.42 kB / 492.4 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.5399, allocations: 293.6 kB / 492.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.5401, allocations: 50.06 kB / 492.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.5401, allocations: 3.984 kB / 492.7 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.5403, allocations: 68.06 kB / 492.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.5403, allocations: 0 / 492.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000461/0.5407, allocations: 122.4 kB / 492.9 MB, free: 6.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.5408, allocations: 51.41 kB / 493 MB, free: 6.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.541, allocations: 165.5 kB / 493.1 MB, free: 6.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.541, allocations: 29.64 kB / 493.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.5411, allocations: 97.88 kB / 493.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.5411, allocations: 11.81 kB / 493.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-06/0.5411, allocations: 3.5 kB / 493.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.5412, allocations: 321 kB / 493.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.5413, allocations: 29.67 kB / 493.6 MB, free: 6.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.333e-05/0.5413, allocations: 30.05 kB / 493.6 MB, free: 6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.5414, allocations: 51.52 kB / 493.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5414, allocations: 0 / 493.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002372/0.5417, allocations: 130.6 kB / 493.8 MB, free: 5.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.5417, allocations: 29.7 kB / 493.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5418, allocations: 4 kB / 493.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5418, allocations: 3.938 kB / 493.9 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.5419, allocations: 11.98 kB / 493.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5419, allocations: 3.953 kB / 493.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.5419, allocations: 8 kB / 493.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.542, allocations: 0 / 493.9 MB, free: 5.77 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 9.12e-05/0.5421, allocations: 125.2 kB / 494 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.5421, allocations: 11.89 kB / 494 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.5424, allocations: 94.81 kB / 494.1 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5424, allocations: 0 / 494.1 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5424, allocations: 0 / 494.1 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.5424, allocations: 3.953 kB / 494.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.5428, allocations: 354.8 kB / 494.5 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5428, allocations: 0.5625 kB / 494.5 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.5429, allocations: 4 kB / 494.5 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5429, allocations: 0 / 494.5 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.5429, allocations: 11.73 kB / 494.5 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5429, allocations: 3.953 kB / 494.5 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5429, allocations: 0 / 494.5 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.5431, allocations: 175.6 kB / 494.6 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.5432, allocations: 93 kB / 494.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.5432, allocations: 96 / 494.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.5433, allocations: 11.25 kB / 494.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.5434, allocations: 7.953 kB / 494.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.5434, allocations: 3.984 kB / 494.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.5435, allocations: 132.3 kB / 494.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5435, allocations: 0 / 494.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.5439, allocations: 32 kB / 494.9 MB, free: 4.711 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.00126/0.5452, allocations: 0.9673 MB / 495.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.5455, allocations: 113.6 kB / 496 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5455, allocations: 0 / 496 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.5455, allocations: 27.36 kB / 496 MB, free: 3.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.5459, allocations: 18.39 kB / 496 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.5467, allocations: 443 kB / 496.5 MB, free: 3.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.5468, allocations: 0.6965 MB / 497.2 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.5469, allocations: 11.75 kB / 497.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.547, allocations: 26.67 kB / 497.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of SimCode: time 2.184e-06/0.547, allocations: 0 / 497.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.5706, allocations: 2.643 MB / 499.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/0.5709, allocations: 213.3 kB / 0.4883 GB, free: 15.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/2.993, allocations: 0 / 0.4883 GB, free: 15.62 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat