Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01448/0.01449, allocations: 177 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.906/1.906, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003055/0.003056, allocations: 116.7 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.238/0.238, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 16.44 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09552, allocations: 54.86 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.2369, allocations: 80.96 MB / 0.5294 GB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.2372, allocations: 75.95 kB / 0.5295 GB, free: 2.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3013/0.5385, allocations: 2.723 MB / 0.5321 GB, free: 82.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5386, allocations: 0 / 0.5321 GB, free: 82.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.5386, allocations: 0 / 0.5321 GB, free: 82.25 MB / 378.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.0004144/0.539, allocations: 405.4 kB / 0.5325 GB, free: 81.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5391, allocations: 8.156 kB / 0.5325 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.5391, allocations: 33.75 kB / 0.5325 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.5392, allocations: 15.23 kB / 0.5326 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.5394, allocations: 195 kB / 0.5327 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.5394, allocations: 0 / 0.5327 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.5394, allocations: 2.844 kB / 0.5327 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.5396, allocations: 50.14 kB / 0.5328 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5397, allocations: 0.8438 kB / 0.5328 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5397, allocations: 0 / 0.5328 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.5397, allocations: 10.48 kB / 0.5328 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.5399, allocations: 32.2 kB / 0.5328 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.5403, allocations: 274.6 kB / 0.5331 GB, free: 81.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.5405, allocations: 46.23 kB / 0.5331 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.5406, allocations: 4.75 kB / 0.5331 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.5406, allocations: 32.34 kB / 0.5332 GB, free: 81.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.5406, allocations: 0.9688 kB / 0.5332 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008491/0.5415, allocations: 167.6 kB / 0.5333 GB, free: 81.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.5415, allocations: 53.38 kB / 0.5334 GB, free: 81.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.5417, allocations: 126.8 kB / 0.5335 GB, free: 81.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.5417, allocations: 29.08 kB / 0.5335 GB, free: 81.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.5417, allocations: 99.97 kB / 0.5336 GB, free: 80.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.5418, allocations: 11.25 kB / 0.5336 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.5418, allocations: 0.75 kB / 0.5336 GB, free: 80.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.5419, allocations: 319 kB / 0.534 GB, free: 80.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.542, allocations: 25.62 kB / 0.534 GB, free: 80.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.5422, allocations: 34.72 kB / 0.534 GB, free: 80.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.5423, allocations: 50.92 kB / 0.5341 GB, free: 80.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5424, allocations: 0 / 0.5341 GB, free: 80.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003484/0.5427, allocations: 127.6 kB / 0.5342 GB, free: 80.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.5428, allocations: 36.28 kB / 0.5342 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5428, allocations: 3.953 kB / 0.5342 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5428, allocations: 1.703 kB / 0.5342 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.543, allocations: 18.28 kB / 0.5342 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.543, allocations: 0 / 0.5342 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.5431, allocations: 9.078 kB / 0.5342 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.5431, allocations: 1.406 kB / 0.5342 GB, free: 80.46 MB / 378.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 8.501e-05/0.5432, allocations: 117.5 kB / 0.5344 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.5432, allocations: 8.984 kB / 0.5344 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.5436, allocations: 109.6 kB / 0.5345 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5437, allocations: 5.266 kB / 0.5345 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5437, allocations: 0 / 0.5345 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5437, allocations: 1.312 kB / 0.5345 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.5443, allocations: 364 kB / 0.5348 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5443, allocations: 0.6562 kB / 0.5348 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5444, allocations: 17.84 kB / 0.5348 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.5444, allocations: 7.672 kB / 0.5348 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5445, allocations: 6.375 kB / 0.5349 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5445, allocations: 0.6094 kB / 0.5349 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5445, allocations: 3.281 kB / 0.5349 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.5448, allocations: 181.7 kB / 0.535 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.5449, allocations: 88.56 kB / 0.5351 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.5449, allocations: 9.828 kB / 0.5351 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.545, allocations: 6.391 kB / 0.5351 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.5451, allocations: 4.672 kB / 0.5351 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.5451, allocations: 1.219 kB / 0.5351 GB, free: 79.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.5452, allocations: 100.5 kB / 0.5352 GB, free: 79.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5452, allocations: 0 / 0.5352 GB, free: 79.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000334/0.5456, allocations: 23.09 kB / 0.5353 GB, free: 79.66 MB / 378.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.00127/0.5469, allocations: 0.9067 MB / 0.5361 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.5473, allocations: 124.6 kB / 0.5363 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5473, allocations: 1.438 kB / 0.5363 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.5475, allocations: 31.27 kB / 0.5363 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.5477, allocations: 10.45 kB / 0.5363 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.5485, allocations: 396.3 kB / 0.5367 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.5486, allocations: 0.6937 MB / 0.5374 GB, free: 77.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.242e-05/0.5487, allocations: 15.36 kB / 0.5374 GB, free: 77.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.5488, allocations: 17.83 kB / 0.5374 GB, free: 77.82 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5488, allocations: 6.781 kB / 0.5374 GB, free: 77.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.5734, allocations: 1.761 MB / 0.5391 GB, free: 77.52 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.5738, allocations: 211.5 kB / 0.5393 GB, free: 77.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/2.989, allocations: 1.031 kB / 0.5393 GB, free: 77.27 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test2_res.mat does not exist to compare? outputFormat=mat