Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test54",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.01002/0.01002, allocations: 164.7 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.658/1.658, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002038/0.002038, allocations: 107.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.4689/0.4689, allocations: 38.04 MB / 303.7 MB, free: 42.73 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004663, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5295, allocations: 75.86 MB / 487.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.5298, allocations: 74.69 kB / 487.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.5466, allocations: 4.206 MB / 491.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5466, allocations: 0 / 491.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.5466, allocations: 4 kB / 491.8 MB, free: 8.223 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.0005481/0.5472, allocations: 442.2 kB / 492.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5473, allocations: 16.02 kB / 492.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.5473, allocations: 30.56 kB / 492.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.5474, allocations: 7.906 kB / 492.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.5476, allocations: 202.8 kB / 492.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5477, allocations: 8 kB / 492.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.5477, allocations: 0 / 492.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.5478, allocations: 56.61 kB / 492.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.5479, allocations: 0 / 492.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5479, allocations: 0 / 492.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5479, allocations: 0 / 492.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/0.548, allocations: 16.39 kB / 492.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.5484, allocations: 302.2 kB / 492.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.5487, allocations: 54.12 kB / 493 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.5487, allocations: 0 / 493 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.5488, allocations: 62.8 kB / 493 MB, free: 6.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.5488, allocations: 0 / 493 MB, free: 6.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005201/0.5494, allocations: 119.1 kB / 493.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.5494, allocations: 54.84 kB / 493.2 MB, free: 6.766 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.5497, allocations: 206.3 kB / 493.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.5497, allocations: 28.83 kB / 493.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.5498, allocations: 110 kB / 493.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.5498, allocations: 11.8 kB / 493.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.5498, allocations: 4 kB / 493.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.5499, allocations: 321.4 kB / 493.9 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.55, allocations: 23.05 kB / 493.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.5501, allocations: 23.05 kB / 493.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.5502, allocations: 51.89 kB / 493.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5502, allocations: 4 kB / 494 MB, free: 6.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002629/0.5505, allocations: 132.5 kB / 494.1 MB, free: 5.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.5505, allocations: 32.14 kB / 494.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5505, allocations: 0 / 494.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.5505, allocations: 4 kB / 494.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.5506, allocations: 11.92 kB / 494.1 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5507, allocations: 4 kB / 494.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.521e-05/0.5507, allocations: 0 / 494.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.5508, allocations: 7.953 kB / 494.1 MB, free: 5.852 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.0001184/0.5509, allocations: 133.9 kB / 494.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.5509, allocations: 7.906 kB / 494.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.5512, allocations: 92.67 kB / 494.4 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5512, allocations: 288 / 494.4 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5512, allocations: 0 / 494.4 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5513, allocations: 4.641 kB / 494.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.5517, allocations: 373.5 kB / 494.7 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5517, allocations: 4 kB / 494.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.5518, allocations: 11.98 kB / 494.8 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.5518, allocations: 0 / 494.8 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.5518, allocations: 4 kB / 494.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5518, allocations: 0 / 494.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5518, allocations: 96 / 494.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.552, allocations: 185 kB / 494.9 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.5521, allocations: 96.2 kB / 495 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.5522, allocations: 4.062 kB / 495 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.5523, allocations: 8 kB / 495 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.5523, allocations: 3.984 kB / 495 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.5524, allocations: 11 kB / 495.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.5525, allocations: 158.2 kB / 495.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5525, allocations: 0 / 495.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.5529, allocations: 35.36 kB / 495.2 MB, free: 4.738 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.00135/0.5543, allocations: 0.9651 MB / 496.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.5546, allocations: 108.1 kB / 496.3 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5547, allocations: 0 / 496.3 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/0.5547, allocations: 27.48 kB / 496.3 MB, free: 3.727 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.5551, allocations: 11.98 kB / 496.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.556, allocations: 487.1 kB / 496.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.5562, allocations: 0.7117 MB / 497.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.877e-05/0.5563, allocations: 20.11 kB / 497.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.5564, allocations: 32.67 kB / 497.6 MB, free: 2.449 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5564, allocations: 0 / 497.6 MB, free: 2.449 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.5824, allocations: 2.842 MB / 0.4887 GB, free: 15.65 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004549/0.5829, allocations: 213.3 kB / 0.4889 GB, free: 15.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.093, allocations: 0 / 0.4889 GB, free: 15.41 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat