Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test35",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.009972/0.009972, allocations: 164.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.688/1.688, 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.001977/0.001977, allocations: 115.2 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.5633/0.5633, allocations: 38.06 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007421/0.0007424, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1379, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.5469, allocations: 75.85 MB / 487.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5472, allocations: 71.38 kB / 487.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.5635, allocations: 4.237 MB / 491.9 MB, free: 8.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5636, allocations: 4 kB / 491.9 MB, free: 8.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.5636, allocations: 0 / 491.9 MB, free: 8.23 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.000542/0.5642, allocations: 446.1 kB / 492.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5642, allocations: 8.031 kB / 492.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.5643, allocations: 34.55 kB / 492.3 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.5643, allocations: 11.03 kB / 492.3 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.5646, allocations: 213.2 kB / 492.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.5646, allocations: 0 / 492.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.5647, allocations: 8 kB / 492.6 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5648, allocations: 52.3 kB / 492.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5648, allocations: 3.984 kB / 492.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5648, allocations: 0 / 492.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5649, allocations: 0 / 492.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.326e-05/0.5649, allocations: 16.58 kB / 492.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.5653, allocations: 300.7 kB / 492.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.5656, allocations: 49.25 kB / 493 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5656, allocations: 0 / 493 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.5658, allocations: 58.56 kB / 493 MB, free: 6.949 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.572e-06/0.5658, allocations: 7.781 kB / 493 MB, free: 6.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000458/0.5662, allocations: 122.6 kB / 493.2 MB, free: 6.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.5663, allocations: 55.41 kB / 493.2 MB, free: 6.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.5665, allocations: 195.5 kB / 493.4 MB, free: 6.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.5665, allocations: 33.39 kB / 493.4 MB, free: 6.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.5666, allocations: 105.3 kB / 493.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.5666, allocations: 11.81 kB / 493.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/0.5667, allocations: 3.375 kB / 493.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.5667, allocations: 322.1 kB / 493.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.5668, allocations: 22.73 kB / 493.9 MB, free: 6.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.5669, allocations: 26.3 kB / 493.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.567, allocations: 56.45 kB / 494 MB, free: 6.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.567, allocations: 4 kB / 494 MB, free: 6.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002455/0.5673, allocations: 132.8 kB / 494.1 MB, free: 5.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.5673, allocations: 33.7 kB / 494.1 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.5673, allocations: 0 / 494.1 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5673, allocations: 0 / 494.1 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.5674, allocations: 15.92 kB / 494.2 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5674, allocations: 0 / 494.2 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.5675, allocations: 4 kB / 494.2 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.5675, allocations: 7.953 kB / 494.2 MB, free: 5.855 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.98e-05/0.5677, allocations: 134.4 kB / 494.3 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.5677, allocations: 7.906 kB / 494.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.5679, allocations: 87.86 kB / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.568, allocations: 0 / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.568, allocations: 4 kB / 494.4 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.568, allocations: 0.5625 kB / 494.4 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.5684, allocations: 371.7 kB / 494.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5684, allocations: 0 / 494.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.5685, allocations: 15.98 kB / 494.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5685, allocations: 0 / 494.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5685, allocations: 0 / 494.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5685, allocations: 96 / 494.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5685, allocations: 3.938 kB / 494.8 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.5687, allocations: 184.5 kB / 495 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.5688, allocations: 92.95 kB / 495.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.5688, allocations: 3.938 kB / 495.1 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.5689, allocations: 11.38 kB / 495.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.569, allocations: 7.984 kB / 495.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.569, allocations: 288 / 495.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.5692, allocations: 156.3 kB / 495.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5692, allocations: 0 / 495.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003878/0.5696, allocations: 39.61 kB / 495.3 MB, free: 4.754 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.001251/0.5709, allocations: 0.9798 MB / 496.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.5711, allocations: 105.5 kB / 496.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5711, allocations: 0 / 496.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.5712, allocations: 27.17 kB / 496.4 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.0002996/0.5715, allocations: 14.36 kB / 496.4 MB, free: 3.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.5723, allocations: 490.4 kB / 496.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.5725, allocations: 0.7043 MB / 497.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.5726, allocations: 15.98 kB / 497.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.5726, allocations: 32.17 kB / 497.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5726, allocations: 0 / 497.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.5959, allocations: 2.847 MB / 0.4887 GB, free: 15.66 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/0.5963, allocations: 214 kB / 0.4889 GB, free: 15.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.008, allocations: 3.938 kB / 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.Test35_res.mat does not exist to compare? outputFormat=mat