Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test17.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.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test17",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.009688/0.009688, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.523/1.523, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001936/0.001936, allocations: 111.4 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.4504/0.4504, allocations: 38.06 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004572, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.09973, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3822/0.482, allocations: 75.06 MB / 486.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4822, allocations: 73.97 kB / 486.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008662/0.4909, allocations: 2.88 MB / 489.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.491, allocations: 4 kB / 489.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.491, allocations: 0 / 489.7 MB, free: 9.992 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003098/0.4913, allocations: 364.8 kB / 490.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4914, allocations: 15.03 kB / 490.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.4914, allocations: 42.05 kB / 490.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.4914, allocations: 3.906 kB / 490.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.4916, allocations: 178.3 kB / 490.3 MB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.4916, allocations: 14.81 kB / 490.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4916, allocations: 4 kB / 490.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.4918, allocations: 186.7 kB / 490.5 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4919, allocations: 3.938 kB / 490.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4919, allocations: 7.938 kB / 490.5 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.4919, allocations: 9.031 kB / 490.5 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.492, allocations: 62.53 kB / 490.6 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.4928, allocations: 1.703 MB / 492.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.4928, allocations: 165.1 kB / 492.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4929, allocations: 79.22 kB / 492.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.4929, allocations: 109.8 kB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.4929, allocations: 0 / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.493, allocations: 40.8 kB / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.493, allocations: 134.7 kB / 492.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.4932, allocations: 173 kB / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.4932, allocations: 25.7 kB / 493 MB, free: 6.531 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.4933, allocations: 146.5 kB / 493.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-06/0.4933, allocations: 7.438 kB / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.4934, allocations: 0 / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.4934, allocations: 325.9 kB / 493.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.4935, allocations: 34.61 kB / 493.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.4937, allocations: 158.6 kB / 493.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4938, allocations: 64.34 kB / 493.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4938, allocations: 4 kB / 493.7 MB, free: 5.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003717/0.4942, allocations: 193.5 kB / 493.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4942, allocations: 4 kB / 493.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4942, allocations: 4 kB / 493.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4943, allocations: 8.625 kB / 493.9 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.4945, allocations: 41.41 kB / 494 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.4945, allocations: 18.92 kB / 494 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.4946, allocations: 23.31 kB / 494 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.4946, allocations: 8 kB / 494 MB, free: 5.523 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001039/0.4948, allocations: 219.9 kB / 494.2 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.4948, allocations: 108.9 kB / 494.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.4949, allocations: 115.9 kB / 494.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/0.4949, allocations: 188.2 kB / 494.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.954e-05/0.4949, allocations: 180.2 kB / 494.8 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.128e-05/0.495, allocations: 187.9 kB / 495 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.4952, allocations: 424.3 kB / 495.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.4952, allocations: 101 kB / 495.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.4952, allocations: 101 kB / 495.6 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-05/0.4953, allocations: 184.2 kB / 495.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.4953, allocations: 180.3 kB / 496 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-05/0.4953, allocations: 187.4 kB / 496.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-05/0.4954, allocations: 180.2 kB / 496.3 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.502e-05/0.4955, allocations: 323.4 kB / 496.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.4955, allocations: 186 kB / 496.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.4956, allocations: 185 kB / 497 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.4957, allocations: 101 kB / 497.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.4957, allocations: 177 kB / 497.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.4958, allocations: 116.2 kB / 497.4 MB, free: 1.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.4959, allocations: 131.7 kB / 497.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4959, allocations: 0 / 497.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.4963, allocations: 15.25 kB / 497.5 MB, free: 1.836 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 (0): * Single equations (assignments): 0 * 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.000642/0.4969, allocations: 0.8838 MB / 498.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.4971, allocations: 74.14 kB / 498.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4971, allocations: 0 / 498.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.4971, allocations: 7.938 kB / 498.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.4974, allocations: 0.5218 MB / 499 MB, free: 396 kB / 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.004115/0.5015, allocations: 4.361 MB / 0.4916 GB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.5019, allocations: 0.7043 MB / 0.4923 GB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.5021, allocations: 49.02 kB / 0.4923 GB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.5022, allocations: 29.67 kB / 0.4923 GB, free: 11.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.093e-06/0.5022, allocations: 4 kB / 0.4923 GB, free: 11.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09062/0.5928, allocations: 1.992 MB / 0.4943 GB, free: 9.594 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/0.5932, allocations: 211.8 kB / 0.4945 GB, free: 9.352 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.873, allocations: 0 / 0.4945 GB, free: 9.352 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test17_res.mat does not exist to compare? outputFormat=mat