Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test1",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.009343/0.009343, allocations: 164.3 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.564/1.564, 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.001917/0.001917, allocations: 118.9 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.4166/0.4166, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004485, allocations: 16 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09475, allocations: 48.7 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.4934, allocations: 74.58 MB / 486.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4936, allocations: 71 kB / 486.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01609/0.5098, allocations: 5.277 MB / 491.6 MB, free: 8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5098, allocations: 0 / 491.6 MB, free: 8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.686e-05/0.5098, allocations: 8 kB / 491.6 MB, free: 7.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006763/0.5105, allocations: 0.6415 MB / 492.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5106, allocations: 8.031 kB / 492.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.5106, allocations: 34.44 kB / 492.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.5107, allocations: 50.64 kB / 492.4 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.5112, allocations: 322.6 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5112, allocations: 4 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.5113, allocations: 4 kB / 492.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.5114, allocations: 55.08 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5115, allocations: 0 / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5115, allocations: 4 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5115, allocations: 1.031 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.5116, allocations: 27.67 kB / 492.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.5123, allocations: 434.5 kB / 493.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.5125, allocations: 46.48 kB / 493.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.5125, allocations: 0 / 493.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.5126, allocations: 34.56 kB / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5126, allocations: 0 / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008193/0.5134, allocations: 246.9 kB / 493.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.5134, allocations: 55.39 kB / 493.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.515, allocations: 0.7748 MB / 494.3 MB, free: 5.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.515, allocations: 25.7 kB / 494.4 MB, free: 5.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.5152, allocations: 211.9 kB / 494.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.5152, allocations: 11.75 kB / 494.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.5152, allocations: 0 / 494.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.5153, allocations: 365.9 kB / 494.9 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.5154, allocations: 27.86 kB / 495 MB, free: 4.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.5155, allocations: 23.86 kB / 495 MB, free: 4.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.5157, allocations: 55.56 kB / 495 MB, free: 4.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5157, allocations: 3.469 kB / 495 MB, free: 4.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003517/0.5161, allocations: 160.5 kB / 495.2 MB, free: 4.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.5161, allocations: 33.7 kB / 495.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5161, allocations: 0 / 495.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5161, allocations: 0 / 495.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.5163, allocations: 19.94 kB / 495.3 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5163, allocations: 0 / 495.3 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.5164, allocations: 11.98 kB / 495.3 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.5164, allocations: 4 kB / 495.3 MB, free: 4.543 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 0.0002048/0.5166, allocations: 216.2 kB / 495.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.5167, allocations: 39.53 kB / 495.5 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.5171, allocations: 146 kB / 495.7 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5172, allocations: 0 / 495.7 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5172, allocations: 3.953 kB / 495.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5172, allocations: 0 / 495.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.5182, allocations: 0.5824 MB / 496.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5182, allocations: 8 kB / 496.3 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.5183, allocations: 11.98 kB / 496.3 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5183, allocations: 4 kB / 496.3 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5183, allocations: 3.953 kB / 496.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5183, allocations: 0 / 496.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5183, allocations: 0 / 496.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.5187, allocations: 225.3 kB / 496.5 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.5189, allocations: 155.9 kB / 496.6 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.519, allocations: 0 / 496.6 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.5191, allocations: 15.94 kB / 496.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.5192, allocations: 3.562 kB / 496.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.5192, allocations: 0 / 496.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008765/0.5201, allocations: 0.6323 MB / 497.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5201, allocations: 0 / 497.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000384/0.5205, allocations: 56 kB / 497.4 MB, free: 2.668 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.001057/0.5216, allocations: 0.8937 MB / 498.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.5219, allocations: 121.2 kB / 498.4 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5219, allocations: 0 / 498.4 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.522, allocations: 29.48 kB / 498.4 MB, free: 1.695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.5224, allocations: 20.3 kB / 498.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5243, allocations: 1.323 MB / 499.7 MB, free: 416 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.5248, allocations: 0.8241 MB / 0.4888 GB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.5249, allocations: 36.17 kB / 0.4889 GB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5252, allocations: 106.8 kB / 0.489 GB, free: 15.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5252, allocations: 0 / 0.489 GB, free: 15.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.5598, allocations: 5.978 MB / 0.4948 GB, free: 9.559 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/0.5601, allocations: 218 kB / 0.495 GB, free: 9.312 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.935, allocations: 0 / 0.495 GB, free: 9.312 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat