Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_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.00991/0.00991, allocations: 165.1 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.648/1.648, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001915/0.001915, allocations: 114.9 kB / 226.2 MB, free: 10.09 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.4597/0.4597, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004705, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 48.7 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.5134, allocations: 74.87 MB / 486.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5136, allocations: 74.34 kB / 486.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.528, allocations: 3.998 MB / 490.6 MB, free: 9.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.528, allocations: 0 / 490.6 MB, free: 9.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.5281, allocations: 4 kB / 490.6 MB, free: 9.668 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004206/0.5285, allocations: 418.6 kB / 491 MB, free: 9.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5286, allocations: 8.031 kB / 491 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.5286, allocations: 32 kB / 491.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.5286, allocations: 11.78 kB / 491.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.5289, allocations: 194 kB / 491.3 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5289, allocations: 0 / 491.3 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.5289, allocations: 4 kB / 491.3 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.5291, allocations: 87.61 kB / 491.4 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5292, allocations: 4 kB / 491.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.5292, allocations: 3.875 kB / 491.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5292, allocations: 4 kB / 491.4 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.5294, allocations: 43.53 kB / 491.4 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.5299, allocations: 393 kB / 491.8 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.5303, allocations: 92.66 kB / 491.9 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.5303, allocations: 0 / 491.9 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.5303, allocations: 34.64 kB / 491.9 MB, free: 8.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.5303, allocations: 4 kB / 491.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.000998/0.5314, allocations: 241.4 kB / 492.2 MB, free: 8.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.5314, allocations: 114.8 kB / 492.3 MB, free: 7.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.5315, allocations: 124 kB / 492.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.5316, allocations: 25.7 kB / 492.4 MB, free: 7.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.5316, allocations: 95.52 kB / 492.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.5317, allocations: 34.95 kB / 492.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.5317, allocations: 0 / 492.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.5317, allocations: 318 kB / 492.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5319, allocations: 42.84 kB / 492.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.5321, allocations: 60.88 kB / 493 MB, free: 7.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.5323, allocations: 67.5 kB / 493 MB, free: 7.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5323, allocations: 0 / 493 MB, free: 7.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004046/0.5327, allocations: 177.1 kB / 493.2 MB, free: 7.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5327, allocations: 29.7 kB / 493.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5328, allocations: 0 / 493.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5328, allocations: 4 kB / 493.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.5329, allocations: 19.98 kB / 493.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.533, allocations: 3.938 kB / 493.3 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.849e-05/0.533, allocations: 23.27 kB / 493.3 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.5331, allocations: 4 kB / 493.3 MB, free: 6.93 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 (11): * Single equations (assignments): 10 * 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.027e-05/0.5332, allocations: 121.4 kB / 493.4 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.5332, allocations: 7.906 kB / 493.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.5337, allocations: 158.7 kB / 493.6 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.5337, allocations: 4 kB / 493.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5338, allocations: 0 / 493.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.5338, allocations: 0 / 493.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.5346, allocations: 0.5067 MB / 494.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5346, allocations: 0 / 494.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.5348, allocations: 27.92 kB / 494.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.5348, allocations: 0 / 494.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5348, allocations: 7 kB / 494.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5348, allocations: 3.953 kB / 494.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5348, allocations: 0 / 494.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.5352, allocations: 330.7 kB / 494.4 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.5353, allocations: 92.53 kB / 494.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.5353, allocations: 4 kB / 494.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.5355, allocations: 11.83 kB / 494.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.5356, allocations: 7.984 kB / 494.6 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5356, allocations: 4 kB / 494.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.5357, allocations: 98.08 kB / 494.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5357, allocations: 0 / 494.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004076/0.5361, allocations: 38.38 kB / 494.7 MB, free: 5.527 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001338/0.5374, allocations: 1.226 MB / 495.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004611/0.5379, allocations: 151 kB / 496.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.538, allocations: 0 / 496.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.5381, allocations: 56.66 kB / 496.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5385, allocations: 7.625 kB / 496.1 MB, free: 4.18 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.5412, allocations: 1.172 MB / 497.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.5414, allocations: 0.7042 MB / 498 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.5416, allocations: 20.66 kB / 498 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.5417, allocations: 35.61 kB / 498.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5417, allocations: 0 / 498.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09331/0.635, allocations: 2.447 MB / 0.4888 GB, free: 160 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/0.6354, allocations: 212.3 kB / 0.489 GB, free: 15.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.906, allocations: 0 / 0.489 GB, free: 15.91 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test18_res.mat does not exist to compare? outputFormat=mat