Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test21",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: 167.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.625/1.625, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.00191/0.001909, 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.4245/0.4245, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004738, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.0989, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.4873, allocations: 75.83 MB / 487.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4876, allocations: 70.98 kB / 487.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02292/0.5105, allocations: 6.27 MB / 493.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5106, allocations: 0 / 493.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.292e-05/0.5106, allocations: 12 kB / 493.9 MB, free: 6.629 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007862/0.5114, allocations: 0.7229 MB / 494.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5115, allocations: 12.03 kB / 494.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.5115, allocations: 40.48 kB / 494.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.5116, allocations: 46.55 kB / 494.7 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.5121, allocations: 291.9 kB / 495 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.5121, allocations: 10.06 kB / 495 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.5122, allocations: 19.34 kB / 495 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.5125, allocations: 116.8 kB / 495.1 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5125, allocations: 1.688 kB / 495.1 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.5126, allocations: 3.188 kB / 495.1 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5126, allocations: 4 kB / 495.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.5128, allocations: 79.34 kB / 495.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007275/0.5136, allocations: 477.3 kB / 495.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.5138, allocations: 101.5 kB / 495.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.5139, allocations: 0 / 495.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.5139, allocations: 38.56 kB / 495.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/0.5139, allocations: 0 / 495.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001293/0.5152, allocations: 394.9 kB / 496.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.5153, allocations: 59.39 kB / 496.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.5159, allocations: 425.5 kB / 496.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.5159, allocations: 29.7 kB / 496.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.516, allocations: 173.9 kB / 496.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.5161, allocations: 53.64 kB / 496.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.5161, allocations: 3.5 kB / 496.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.5162, allocations: 353.2 kB / 497.3 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.5164, allocations: 68.59 kB / 497.3 MB, free: 3.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.5167, allocations: 61.91 kB / 497.4 MB, free: 3.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.5169, allocations: 212.7 kB / 497.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5169, allocations: 0 / 497.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006263/0.5176, allocations: 366.8 kB / 498 MB, free: 2.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.5177, allocations: 136.5 kB / 498.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5177, allocations: 0 / 498.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5177, allocations: 4 kB / 498.1 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.518, allocations: 31.98 kB / 498.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.518, allocations: 0 / 498.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.5181, allocations: 23.11 kB / 498.1 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.5181, allocations: 14.94 kB / 498.2 MB, free: 2.527 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001847/0.5183, allocations: 169 kB / 498.3 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.5184, allocations: 35.53 kB / 498.4 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.5191, allocations: 250.9 kB / 498.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5191, allocations: 7.984 kB / 498.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5192, allocations: 0 / 498.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5192, allocations: 0 / 498.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.5203, allocations: 0.6549 MB / 499.3 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5203, allocations: 0 / 499.3 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.5205, allocations: 31.98 kB / 499.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5205, allocations: 0 / 499.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.5206, allocations: 7.688 kB / 499.3 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5206, allocations: 3.953 kB / 499.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5206, allocations: 0 / 499.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.5211, allocations: 313.9 kB / 499.6 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.5213, allocations: 119.9 kB / 499.7 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.5213, allocations: 7.25 kB / 499.7 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.5215, allocations: 15.06 kB / 499.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.5216, allocations: 15.94 kB / 499.8 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.5216, allocations: 4 kB / 499.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004614/0.522, allocations: 339.5 kB / 0.4884 GB, free: 0.7852 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5221, allocations: 0 / 0.4884 GB, free: 0.7852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004658/0.5225, allocations: 97.17 kB / 0.4885 GB, free: 0.6992 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 (17): * Single equations (assignments): 17 * 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.002349/0.5249, allocations: 1.336 MB / 0.4898 GB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007398/0.5257, allocations: 431.8 kB / 0.4902 GB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5257, allocations: 0 / 0.4902 GB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.5259, allocations: 86.94 kB / 0.4903 GB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.5264, allocations: 40.55 kB / 0.4903 GB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.5284, allocations: 1.004 MB / 0.4913 GB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.5288, allocations: 0.7822 MB / 0.4921 GB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.5291, allocations: 48.83 kB / 0.4921 GB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.5293, allocations: 92.78 kB / 0.4922 GB, free: 13.11 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5293, allocations: 0 / 0.4922 GB, free: 13.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.5633, allocations: 5.962 MB / 0.498 GB, free: 7.164 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/0.5638, allocations: 211.7 kB / 0.4982 GB, free: 6.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.029, allocations: 4.062 kB / 0.4982 GB, free: 6.918 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat