Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test2",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.009845/0.009845, allocations: 166.6 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.75/1.75, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002644/0.002644, allocations: 107.4 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.4503/0.4503, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004953, allocations: 16 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.5167, allocations: 74.48 MB / 486.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.517, allocations: 66.16 kB / 486.2 MB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009996/0.527, allocations: 2.585 MB / 488.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5271, allocations: 4 kB / 488.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.5271, allocations: 0 / 488.8 MB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004616/0.5276, allocations: 398.5 kB / 489.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5277, allocations: 8.031 kB / 489.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.5277, allocations: 42.42 kB / 489.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.5278, allocations: 7.906 kB / 489.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.528, allocations: 186 kB / 489.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.528, allocations: 2.938 kB / 489.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.5281, allocations: 11.94 kB / 489.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.5283, allocations: 53.53 kB / 489.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5283, allocations: 0 / 489.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5283, allocations: 3.812 kB / 489.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5283, allocations: 0 / 489.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.5285, allocations: 27.73 kB / 489.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.5289, allocations: 281.4 kB / 489.8 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.5292, allocations: 46.19 kB / 489.9 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.5292, allocations: 0 / 489.9 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.5292, allocations: 34.64 kB / 489.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5292, allocations: 8 kB / 489.9 MB, free: 9.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008284/0.5301, allocations: 152.9 kB / 490.1 MB, free: 9.699 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.5301, allocations: 63.16 kB / 490.1 MB, free: 9.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.5302, allocations: 121.7 kB / 490.2 MB, free: 9.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.5303, allocations: 29.7 kB / 490.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.5303, allocations: 95.81 kB / 490.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.5303, allocations: 15.8 kB / 490.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.5304, allocations: 0 / 490.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.5304, allocations: 318.4 kB / 490.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5306, allocations: 31.67 kB / 490.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.5307, allocations: 31.84 kB / 490.8 MB, free: 9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.5309, allocations: 49.62 kB / 490.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5309, allocations: 4.75 kB / 490.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003192/0.5312, allocations: 134.6 kB / 490.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.5312, allocations: 33.64 kB / 491 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5313, allocations: 0 / 491 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5313, allocations: 0 / 491 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5314, allocations: 15.98 kB / 491 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5314, allocations: 3.125 kB / 491 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.81e-05/0.5315, allocations: 12 kB / 491 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5315, allocations: 4.453 kB / 491 MB, free: 8.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 7.683e-05/0.5316, allocations: 118.5 kB / 491.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.5317, allocations: 11.89 kB / 491.1 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.532, allocations: 112.8 kB / 491.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.532, allocations: 0 / 491.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.532, allocations: 0 / 491.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5321, allocations: 0 / 491.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.5326, allocations: 357.3 kB / 491.6 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5326, allocations: 0 / 491.6 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.5327, allocations: 19.94 kB / 491.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.5327, allocations: 0 / 491.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5327, allocations: 4 kB / 491.6 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5328, allocations: 3.984 kB / 491.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5328, allocations: 0 / 491.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.5331, allocations: 194.7 kB / 491.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.5331, allocations: 85.09 kB / 491.9 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.5332, allocations: 0 / 491.9 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5333, allocations: 8 kB / 491.9 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.5333, allocations: 3.984 kB / 491.9 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.5333, allocations: 4 kB / 491.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.123e-05/0.5334, allocations: 100.5 kB / 492 MB, free: 7.723 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5334, allocations: 4 kB / 492 MB, free: 7.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.5338, allocations: 23.75 kB / 492 MB, free: 7.699 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001041/0.5348, allocations: 0.8735 MB / 492.9 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.5352, allocations: 114.8 kB / 493 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5352, allocations: 4 kB / 493 MB, free: 6.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.5353, allocations: 31.91 kB / 493.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.5356, allocations: 7.875 kB / 493.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.5363, allocations: 395.2 kB / 493.4 MB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.5364, allocations: 0.6954 MB / 494.1 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.5365, allocations: 12.17 kB / 494.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.5366, allocations: 26.61 kB / 494.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5366, allocations: 0 / 494.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.558, allocations: 1.756 MB / 495.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.5583, allocations: 214 kB / 496.1 MB, free: 3.621 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/2.907, allocations: 0 / 496.1 MB, free: 3.621 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test2_res.mat does not exist to compare? outputFormat=mat