Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test25",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.01316/0.01316, allocations: 165.9 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.711/1.711, 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.001956/0.001955, allocations: 111.4 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.4662/0.4662, allocations: 38.05 MB / 303.7 MB, free: 42.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008698/0.0008703, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1137, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4008/0.5145, allocations: 75.87 MB / 487.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5148, allocations: 68.22 kB / 487.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.5309, allocations: 4.064 MB / 491.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.531, allocations: 0 / 491.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.531, allocations: 0 / 491.7 MB, free: 8.012 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.0005299/0.5315, allocations: 445.8 kB / 492.1 MB, free: 7.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5316, allocations: 12.03 kB / 492.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.5317, allocations: 34.19 kB / 492.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.5317, allocations: 11.89 kB / 492.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.532, allocations: 198.6 kB / 492.4 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.532, allocations: 0 / 492.4 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.532, allocations: 4 kB / 492.4 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.5322, allocations: 44.62 kB / 492.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5322, allocations: 0 / 492.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5322, allocations: 0 / 492.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.5322, allocations: 4 kB / 492.4 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.801e-05/0.5323, allocations: 20.77 kB / 492.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.5327, allocations: 300.6 kB / 492.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.5329, allocations: 45.88 kB / 492.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.533, allocations: 0 / 492.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.5331, allocations: 63.05 kB / 492.9 MB, free: 6.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.5331, allocations: 3.75 kB / 492.9 MB, free: 6.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005134/0.5336, allocations: 122.7 kB / 493 MB, free: 6.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.5337, allocations: 59.34 kB / 493 MB, free: 6.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.5339, allocations: 168.1 kB / 493.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5339, allocations: 33.64 kB / 493.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.534, allocations: 105.4 kB / 493.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.534, allocations: 7.812 kB / 493.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.5341, allocations: 6.812 kB / 493.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.5341, allocations: 322.1 kB / 493.7 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.5342, allocations: 22.17 kB / 493.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.5343, allocations: 22 kB / 493.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.5344, allocations: 56 kB / 493.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5344, allocations: 0 / 493.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002502/0.5347, allocations: 129.9 kB / 493.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.5347, allocations: 37.69 kB / 493.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5347, allocations: 0 / 493.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.5348, allocations: 0 / 493.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.5348, allocations: 12 kB / 493.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.5349, allocations: 0 / 493.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.5349, allocations: 8.062 kB / 493.9 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.535, allocations: 11.94 kB / 494 MB, free: 5.668 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 0.0001018/0.5351, allocations: 121.6 kB / 494.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.5351, allocations: 11.81 kB / 494.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.5354, allocations: 96.25 kB / 494.2 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5354, allocations: 0 / 494.2 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5354, allocations: 4.656 kB / 494.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5354, allocations: 0 / 494.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.5358, allocations: 352.7 kB / 494.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5359, allocations: 3.938 kB / 494.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.5359, allocations: 8 kB / 494.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5359, allocations: 0 / 494.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.536, allocations: 7.234 kB / 494.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.536, allocations: 4.078 kB / 494.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.536, allocations: 7.938 kB / 494.6 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.5362, allocations: 176.9 kB / 494.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.5362, allocations: 89 kB / 494.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.5363, allocations: 3.438 kB / 494.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.5364, allocations: 4 kB / 494.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.5364, allocations: 0 / 494.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.5365, allocations: 7.984 kB / 494.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.5366, allocations: 142.1 kB / 495 MB, free: 4.633 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.5366, allocations: 4 kB / 495 MB, free: 4.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.537, allocations: 43.3 kB / 495 MB, free: 4.59 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.001287/0.5383, allocations: 0.974 MB / 496 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.5386, allocations: 108.6 kB / 496.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5386, allocations: 0 / 496.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.26e-05/0.5386, allocations: 19.42 kB / 496.1 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.539, allocations: 15.48 kB / 496.1 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.5398, allocations: 471.5 kB / 496.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.5399, allocations: 0.7004 MB / 497.3 MB, free: 2.352 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.54, allocations: 8 kB / 497.3 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.5401, allocations: 27.98 kB / 497.3 MB, free: 2.328 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5401, allocations: 4 kB / 497.3 MB, free: 2.324 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.5637, allocations: 2.699 MB / 0.4883 GB, free: 15.67 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003825/0.5642, allocations: 213.3 kB / 0.4885 GB, free: 15.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/2.997, allocations: 4.062 kB / 0.4885 GB, free: 15.43 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat