Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test18",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.009424/0.009427, allocations: 166.5 kB / 15.11 MB, free: 5.934 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.64/1.64, 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.001909/0.001909, allocations: 107.3 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.4507/0.4507, allocations: 38.06 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 48.72 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.493, allocations: 75.87 MB / 487.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4933, allocations: 66.59 kB / 487.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5088, allocations: 3.965 MB / 491.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5088, allocations: 4 kB / 491.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.5089, allocations: 3.75 kB / 491.6 MB, free: 8.566 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.0004697/0.5094, allocations: 427.3 kB / 492 MB, free: 8.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5094, allocations: 8.031 kB / 492 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.5094, allocations: 34.5 kB / 492.1 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.5095, allocations: 7.906 kB / 492.1 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.5097, allocations: 193.4 kB / 492.3 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.5098, allocations: 4.562 kB / 492.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.5098, allocations: 7.984 kB / 492.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.5099, allocations: 56.36 kB / 492.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5099, allocations: 0 / 492.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.51, allocations: 0 / 492.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.51, allocations: 0 / 492.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.323e-05/0.51, allocations: 16.2 kB / 492.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.5105, allocations: 292.8 kB / 492.6 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.5107, allocations: 54.06 kB / 492.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.5107, allocations: 0 / 492.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.5109, allocations: 55.05 kB / 492.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.5109, allocations: 0 / 492.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004787/0.5114, allocations: 117.9 kB / 492.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.5114, allocations: 59.34 kB / 492.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.5116, allocations: 145.8 kB / 493.1 MB, free: 7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.5116, allocations: 33.69 kB / 493.1 MB, free: 6.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.5117, allocations: 96.92 kB / 493.2 MB, free: 6.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.5117, allocations: 15.75 kB / 493.2 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.5117, allocations: 3.312 kB / 493.2 MB, free: 6.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.5118, allocations: 322.2 kB / 493.5 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.5119, allocations: 22.36 kB / 493.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.5119, allocations: 22.61 kB / 493.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.58e-05/0.512, allocations: 51.14 kB / 493.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.512, allocations: 0 / 493.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002426/0.5123, allocations: 140.2 kB / 493.7 MB, free: 6.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.5123, allocations: 29.7 kB / 493.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5124, allocations: 0 / 493.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5124, allocations: 0 / 493.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.5125, allocations: 11.98 kB / 493.8 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.5125, allocations: 8.094 kB / 493.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.5126, allocations: 4 kB / 493.8 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.5126, allocations: 7.312 kB / 493.8 MB, free: 6.273 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 8.616e-05/0.5127, allocations: 122.4 kB / 493.9 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.5127, allocations: 11.91 kB / 493.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.513, allocations: 90.53 kB / 494 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.513, allocations: 0 / 494 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.513, allocations: 0 / 494 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.513, allocations: 3.953 kB / 494 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.5134, allocations: 349.7 kB / 494.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5134, allocations: 0 / 494.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.5134, allocations: 8 kB / 494.4 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5135, allocations: 4 kB / 494.4 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5135, allocations: 3.188 kB / 494.4 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5135, allocations: 7.953 kB / 494.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5135, allocations: 288 / 494.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.5137, allocations: 180.4 kB / 494.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.5137, allocations: 92.94 kB / 494.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.5138, allocations: 7.812 kB / 494.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.5139, allocations: 3.984 kB / 494.7 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.5139, allocations: 15.89 kB / 494.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.514, allocations: 0 / 494.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.5141, allocations: 120.7 kB / 494.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5141, allocations: 0 / 494.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.5145, allocations: 39.48 kB / 494.8 MB, free: 5.211 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.001184/0.5156, allocations: 0.9588 MB / 495.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.5159, allocations: 109.9 kB / 495.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5159, allocations: 0 / 495.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.516, allocations: 19.23 kB / 495.9 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.5163, allocations: 19.5 kB / 495.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.517, allocations: 430.9 kB / 496.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.5172, allocations: 0.6948 MB / 497.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.5173, allocations: 20.12 kB / 497.1 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.5173, allocations: 25.48 kB / 497.1 MB, free: 2.992 MB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5174, allocations: 0 / 497.1 MB, free: 2.992 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.5418, allocations: 2.562 MB / 499.7 MB, free: 488 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.5422, allocations: 210 kB / 499.9 MB, free: 244 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.913, allocations: 0 / 499.9 MB, free: 244 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat