Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test3",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.009601/0.009601, allocations: 165.4 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.547/1.547, 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.001934/0.001934, allocations: 106.2 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.4158/0.4158, allocations: 38.05 MB / 303.7 MB, free: 42.74 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006366/0.0006366, allocations: 16 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09989, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3932/0.4931, allocations: 74.51 MB / 486.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4934, allocations: 73.89 kB / 486.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01599/0.5094, allocations: 5.339 MB / 491.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5095, allocations: 0 / 491.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.5095, allocations: 8 kB / 491.6 MB, free: 8.371 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.0007279/0.5102, allocations: 0.6528 MB / 492.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5103, allocations: 8.031 kB / 492.3 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.5103, allocations: 38.48 kB / 492.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.5104, allocations: 42.8 kB / 492.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.5109, allocations: 321.5 kB / 492.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.5109, allocations: 3.938 kB / 492.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.511, allocations: 8 kB / 492.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.5112, allocations: 59.08 kB / 492.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5112, allocations: 0 / 492.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5112, allocations: 4 kB / 492.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5112, allocations: 1.031 kB / 492.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.5115, allocations: 47.47 kB / 492.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.5121, allocations: 430.4 kB / 493.2 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.5122, allocations: 46.38 kB / 493.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.5123, allocations: 8.078 kB / 493.3 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.5123, allocations: 34.38 kB / 493.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.5123, allocations: 0 / 493.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001174/0.5135, allocations: 326.7 kB / 493.6 MB, free: 6.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.5135, allocations: 55.41 kB / 493.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.5151, allocations: 0.7665 MB / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.5151, allocations: 25.7 kB / 494.5 MB, free: 5.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.5153, allocations: 211.9 kB / 494.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.5153, allocations: 19.59 kB / 494.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.5153, allocations: 4 kB / 494.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.5154, allocations: 363.5 kB / 495 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.5156, allocations: 38.53 kB / 495.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.5158, allocations: 42.53 kB / 495.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.5161, allocations: 72.5 kB / 495.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5161, allocations: 0 / 495.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000514/0.5166, allocations: 196.9 kB / 495.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5166, allocations: 29.7 kB / 495.4 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5167, allocations: 1.375 kB / 495.4 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5167, allocations: 11.94 kB / 495.4 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.5169, allocations: 19.98 kB / 495.5 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5169, allocations: 7.75 kB / 495.5 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.517, allocations: 15.56 kB / 495.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.5171, allocations: 3.984 kB / 495.5 MB, free: 4.73 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 (8): * Single equations (assignments): 7 * 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.0002066/0.5173, allocations: 213.6 kB / 495.7 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.5174, allocations: 43.47 kB / 495.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005812/0.518, allocations: 185.7 kB / 495.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.518, allocations: 4 kB / 495.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.518, allocations: 3.953 kB / 495.9 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.518, allocations: 3.984 kB / 495.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5192, allocations: 0.6239 MB / 496.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5192, allocations: 10.25 kB / 496.6 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.5194, allocations: 23.98 kB / 496.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.5194, allocations: 3.984 kB / 496.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.5194, allocations: 3.953 kB / 496.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5194, allocations: 0 / 496.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5194, allocations: 0 / 496.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.52, allocations: 262.7 kB / 496.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.5202, allocations: 153 kB / 497 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.5203, allocations: 7.984 kB / 497 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.5204, allocations: 15.95 kB / 497 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.5205, allocations: 7.984 kB / 497 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-06/0.5205, allocations: 0 / 497 MB, free: 3.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008681/0.5214, allocations: 0.6298 MB / 497.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5214, allocations: 0 / 497.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.5218, allocations: 55.94 kB / 497.7 MB, free: 2.719 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 (7): * Single equations (assignments): 7 * 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.001243/0.5231, allocations: 0.9364 MB / 498.6 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004892/0.5236, allocations: 152.9 kB / 498.8 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5236, allocations: 0 / 498.8 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.5238, allocations: 50.72 kB / 498.8 MB, free: 1.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.5241, allocations: 23.61 kB / 498.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.5261, allocations: 1.342 MB / 0.4885 GB, free: 360 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.5266, allocations: 0.8244 MB / 0.4893 GB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.5267, allocations: 36.44 kB / 0.4893 GB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.527, allocations: 106.8 kB / 0.4894 GB, free: 15.45 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.527, allocations: 0 / 0.4894 GB, free: 15.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.5597, allocations: 6.082 MB / 0.4954 GB, free: 9.398 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/0.5601, allocations: 206.5 kB / 0.4956 GB, free: 9.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/2.996, allocations: 4 kB / 0.4956 GB, free: 9.156 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test3_res.mat does not exist to compare? outputFormat=mat