Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test27",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.02706/0.02706, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.751/1.751, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002001/0.002001, allocations: 103 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.4699/0.4699, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.000465, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.5167, allocations: 75.83 MB / 487.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.517, allocations: 70.72 kB / 487.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0156/0.5326, allocations: 3.938 MB / 491.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5326, allocations: 0 / 491.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.5327, allocations: 4 kB / 491.5 MB, free: 8.246 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.0004665/0.5331, allocations: 435 kB / 492 MB, free: 7.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.5332, allocations: 8.031 kB / 492 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.5332, allocations: 34.31 kB / 492 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.5333, allocations: 7.906 kB / 492 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.5335, allocations: 198.1 kB / 492.2 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.5336, allocations: 4 kB / 492.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.5336, allocations: 4 kB / 492.2 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.5337, allocations: 45.48 kB / 492.3 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5337, allocations: 3.984 kB / 492.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.5338, allocations: 4.969 kB / 492.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5338, allocations: 0 / 492.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.5339, allocations: 11.98 kB / 492.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.5342, allocations: 291.6 kB / 492.6 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.5345, allocations: 46.44 kB / 492.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.5345, allocations: 0 / 492.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.5347, allocations: 67.77 kB / 492.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.5347, allocations: 0 / 492.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000476/0.5352, allocations: 120.7 kB / 492.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.5352, allocations: 56 kB / 492.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.5354, allocations: 164.4 kB / 493 MB, free: 6.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.5354, allocations: 29.64 kB / 493 MB, free: 6.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.5355, allocations: 95.52 kB / 493.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.5355, allocations: 19.78 kB / 493.1 MB, free: 6.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.5355, allocations: 3.375 kB / 493.1 MB, free: 6.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.5356, allocations: 322.8 kB / 493.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.5357, allocations: 23.31 kB / 493.5 MB, free: 6.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.28e-05/0.5358, allocations: 27.61 kB / 493.5 MB, free: 6.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.6e-05/0.5359, allocations: 53.27 kB / 493.6 MB, free: 6.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5359, allocations: 4 kB / 493.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002387/0.5361, allocations: 126.5 kB / 493.7 MB, free: 6.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.5362, allocations: 33.7 kB / 493.7 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5362, allocations: 3.984 kB / 493.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5362, allocations: 0 / 493.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.5363, allocations: 19.88 kB / 493.7 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5363, allocations: 3.953 kB / 493.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.5364, allocations: 4 kB / 493.8 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.5364, allocations: 0 / 493.8 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 9.425e-05/0.5365, allocations: 130.7 kB / 493.9 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.5366, allocations: 7.906 kB / 493.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.5368, allocations: 85.17 kB / 494 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5368, allocations: 0 / 494 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5368, allocations: 3.938 kB / 494 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5368, allocations: 3.953 kB / 494 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.5372, allocations: 353.3 kB / 494.3 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5373, allocations: 3.984 kB / 494.3 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.5373, allocations: 8 kB / 494.3 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5373, allocations: 0 / 494.3 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5373, allocations: 4 kB / 494.3 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5374, allocations: 3.953 kB / 494.3 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5374, allocations: 0 / 494.3 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.5376, allocations: 178.8 kB / 494.5 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.5376, allocations: 85.02 kB / 494.6 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.5377, allocations: 96 / 494.6 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.5378, allocations: 15.81 kB / 494.6 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.5378, allocations: 12.22 kB / 494.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.5379, allocations: 0 / 494.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.538, allocations: 131.2 kB / 494.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.538, allocations: 0 / 494.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.5384, allocations: 39.86 kB / 494.8 MB, free: 4.875 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.001206/0.5396, allocations: 0.9734 MB / 495.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.5398, allocations: 110.3 kB / 495.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5399, allocations: 0 / 495.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.5399, allocations: 23.8 kB / 495.9 MB, free: 3.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.5402, allocations: 19.62 kB / 495.9 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.541, allocations: 435.8 kB / 496.3 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.5412, allocations: 0.7004 MB / 497 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.755e-05/0.5413, allocations: 11.98 kB / 497.1 MB, free: 2.648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.5413, allocations: 26.94 kB / 497.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5413, allocations: 0 / 497.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.5669, allocations: 2.64 MB / 499.7 MB, free: 32 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.5673, allocations: 213.5 kB / 499.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.044, allocations: 4 kB / 499.9 MB, free: 15.79 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat