Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test53",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.009782/0.009782, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.634/1.634, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001934/0.001934, allocations: 115.4 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.432/0.432, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004516, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1005, allocations: 48.72 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4332/0.5338, allocations: 75.87 MB / 487.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5341, allocations: 70.59 kB / 487.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01617/0.5502, allocations: 4.2 MB / 491.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5503, allocations: 3.938 kB / 491.8 MB, free: 8.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.5503, allocations: 8 kB / 491.8 MB, free: 8.238 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.0004777/0.5508, allocations: 441.8 kB / 492.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5509, allocations: 12.03 kB / 492.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.5509, allocations: 30.56 kB / 492.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.551, allocations: 7.906 kB / 492.3 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.5512, allocations: 208 kB / 492.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5513, allocations: 7.688 kB / 492.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.5513, allocations: 4 kB / 492.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.5514, allocations: 49.38 kB / 492.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5515, allocations: 0 / 492.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5515, allocations: 0 / 492.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.5515, allocations: 3.984 kB / 492.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.5516, allocations: 12.72 kB / 492.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.552, allocations: 304.2 kB / 492.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.5523, allocations: 42.12 kB / 492.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.5523, allocations: 4 kB / 493 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.5525, allocations: 61.98 kB / 493 MB, free: 6.961 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.484e-06/0.5525, allocations: 0 / 493 MB, free: 6.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005058/0.553, allocations: 123.7 kB / 493.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.553, allocations: 51.41 kB / 493.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.5533, allocations: 201.3 kB / 493.4 MB, free: 6.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.5533, allocations: 33.64 kB / 493.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.5534, allocations: 109.3 kB / 493.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.5534, allocations: 15.25 kB / 493.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.5534, allocations: 0 / 493.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.5535, allocations: 325.1 kB / 493.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.5536, allocations: 22.67 kB / 493.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.5536, allocations: 22.67 kB / 493.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.5537, allocations: 50.95 kB / 493.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5538, allocations: 0 / 493.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002512/0.554, allocations: 138.7 kB / 494.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5541, allocations: 36.27 kB / 494.1 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5541, allocations: 4 kB / 494.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5541, allocations: 0 / 494.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.5542, allocations: 8.281 kB / 494.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5542, allocations: 3.984 kB / 494.1 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.5543, allocations: 4 kB / 494.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.5543, allocations: 3.953 kB / 494.1 MB, free: 5.875 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.0001098/0.5545, allocations: 133.2 kB / 494.3 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.5545, allocations: 15.89 kB / 494.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.5548, allocations: 94.17 kB / 494.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5548, allocations: 0 / 494.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5548, allocations: 0 / 494.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5548, allocations: 4.656 kB / 494.4 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.5552, allocations: 369.1 kB / 494.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5553, allocations: 0 / 494.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.5553, allocations: 4 kB / 494.7 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5553, allocations: 4 kB / 494.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.5554, allocations: 11.17 kB / 494.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5554, allocations: 0 / 494.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5554, allocations: 256 / 494.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.5556, allocations: 179.3 kB / 494.9 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.5557, allocations: 100 kB / 495 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.5557, allocations: 0 / 495 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.5558, allocations: 4.875 kB / 495 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.5559, allocations: 3.375 kB / 495 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.5559, allocations: 11.98 kB / 495.1 MB, free: 4.934 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.5561, allocations: 161.8 kB / 495.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5561, allocations: 0 / 495.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000363/0.5564, allocations: 31.06 kB / 495.2 MB, free: 4.77 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.00122/0.5577, allocations: 0.9718 MB / 496.2 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.5579, allocations: 117.1 kB / 496.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.558, allocations: 0 / 496.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/0.558, allocations: 19.17 kB / 496.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.5584, allocations: 15.19 kB / 496.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.5592, allocations: 494.6 kB / 496.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.5594, allocations: 0.7082 MB / 497.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.735e-05/0.5595, allocations: 15.98 kB / 497.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.5596, allocations: 29.62 kB / 497.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5596, allocations: 0 / 497.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.5808, allocations: 2.839 MB / 0.4887 GB, free: 15.67 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005328/0.5814, allocations: 217.9 kB / 0.4889 GB, free: 15.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.031, allocations: 8.062 kB / 0.4889 GB, free: 15.42 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat