Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test44",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.009807/0.009807, allocations: 166 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.743/1.743, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.002024/0.002023, allocations: 106.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.4768/0.4768, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.000473, allocations: 20 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 48.7 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5279, allocations: 75.87 MB / 487.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5282, allocations: 72.06 kB / 487.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.5443, allocations: 4.097 MB / 491.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5443, allocations: 4 kB / 491.7 MB, free: 8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.5444, allocations: 0 / 491.7 MB, free: 8 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.0004721/0.5449, allocations: 441.3 kB / 492.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5449, allocations: 8.031 kB / 492.2 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.545, allocations: 37.81 kB / 492.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.545, allocations: 7.906 kB / 492.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.5452, allocations: 201.2 kB / 492.4 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.5453, allocations: 7.984 kB / 492.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.5453, allocations: 4 kB / 492.4 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.5454, allocations: 45.19 kB / 492.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5455, allocations: 0 / 492.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.5455, allocations: 3.312 kB / 492.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5455, allocations: 0 / 492.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.375e-05/0.5456, allocations: 16.52 kB / 492.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.546, allocations: 305.3 kB / 492.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.5462, allocations: 42.5 kB / 492.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.5463, allocations: 0 / 492.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.5464, allocations: 63.98 kB / 492.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.5464, allocations: 0 / 492.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004833/0.5469, allocations: 114.3 kB / 493 MB, free: 6.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.547, allocations: 51.41 kB / 493.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.5472, allocations: 178 kB / 493.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.5472, allocations: 33.64 kB / 493.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.5472, allocations: 105.6 kB / 493.4 MB, free: 6.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.5473, allocations: 15.48 kB / 493.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.5473, allocations: 0 / 493.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.5474, allocations: 324.1 kB / 493.7 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.5474, allocations: 26.38 kB / 493.7 MB, free: 5.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.5475, allocations: 25.3 kB / 493.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.5476, allocations: 52.14 kB / 493.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5476, allocations: 0 / 493.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002448/0.5479, allocations: 134.9 kB / 493.9 MB, free: 5.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.5479, allocations: 40.75 kB / 494 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.548, allocations: 0 / 494 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.548, allocations: 0 / 494 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.5481, allocations: 8 kB / 494 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5481, allocations: 0 / 494 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.5482, allocations: 4 kB / 494 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.5482, allocations: 7.953 kB / 494 MB, free: 5.664 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.777e-05/0.5483, allocations: 125.5 kB / 494.1 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.5483, allocations: 11.81 kB / 494.1 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.5486, allocations: 98.69 kB / 494.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5486, allocations: 4 kB / 494.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5486, allocations: 0 / 494.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5486, allocations: 0 / 494.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.549, allocations: 354.5 kB / 494.6 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.549, allocations: 0.5625 kB / 494.6 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.5491, allocations: 11.31 kB / 494.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.5491, allocations: 0 / 494.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.5491, allocations: 7.75 kB / 494.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.5492, allocations: 3.938 kB / 494.6 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5492, allocations: 3.984 kB / 494.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.5494, allocations: 172.6 kB / 494.8 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.5494, allocations: 89.02 kB / 494.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.5495, allocations: 7.266 kB / 494.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.5496, allocations: 3.938 kB / 494.9 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.5496, allocations: 8 kB / 494.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.5496, allocations: 4 kB / 494.9 MB, free: 4.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.5498, allocations: 145.1 kB / 495 MB, free: 4.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5498, allocations: 0 / 495 MB, free: 4.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.5502, allocations: 35.12 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.001262/0.5515, allocations: 0.9711 MB / 496 MB, free: 3.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.5518, allocations: 109.7 kB / 496.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5518, allocations: 0 / 496.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.5519, allocations: 26.3 kB / 496.1 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.5522, allocations: 15.3 kB / 496.2 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.553, allocations: 455.9 kB / 496.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.5532, allocations: 0.7116 MB / 497.3 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.955e-05/0.5533, allocations: 12 kB / 497.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.5534, allocations: 25.86 kB / 497.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5534, allocations: 0 / 497.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.5756, allocations: 2.714 MB / 0.4884 GB, free: 15.65 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/0.576, allocations: 209.3 kB / 0.4886 GB, free: 15.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.016, allocations: 0 / 0.4886 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.Test44_res.mat does not exist to compare? outputFormat=mat