Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test7",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.009493/0.009493, allocations: 165.8 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.568/1.568, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001919/0.001919, allocations: 107.3 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.4224/0.4224, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09566/0.09616, allocations: 48.7 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.5074, allocations: 74.41 MB / 486.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.5077, allocations: 75.11 kB / 486.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.5229, allocations: 5.046 MB / 491.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5229, allocations: 8 kB / 491.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.523, allocations: 4 kB / 491.2 MB, free: 8.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006645/0.5237, allocations: 0.6336 MB / 491.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5237, allocations: 12.03 kB / 491.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.5238, allocations: 34.19 kB / 491.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.5238, allocations: 39.44 kB / 491.9 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.5243, allocations: 318.5 kB / 492.3 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5244, allocations: 7.984 kB / 492.3 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.5244, allocations: 9.938 kB / 492.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.5246, allocations: 45.44 kB / 492.3 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5246, allocations: 0 / 492.3 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.5246, allocations: 3.938 kB / 492.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5246, allocations: 0 / 492.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.5248, allocations: 25.83 kB / 492.4 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.5254, allocations: 430 kB / 492.8 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.5255, allocations: 34.38 kB / 492.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5255, allocations: 0 / 492.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5256, allocations: 30.56 kB / 492.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.5256, allocations: 0 / 492.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003515/0.5259, allocations: 105.1 kB / 492.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.526, allocations: 55.41 kB / 493 MB, free: 6.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.5275, allocations: 0.7707 MB / 493.8 MB, free: 6.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.5276, allocations: 29.7 kB / 493.8 MB, free: 6.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.5278, allocations: 208.3 kB / 494 MB, free: 6.125 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.5278, allocations: 11.97 kB / 494 MB, free: 6.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5278, allocations: 4 kB / 494 MB, free: 6.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.5279, allocations: 358.2 kB / 494.4 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.528, allocations: 11.62 kB / 494.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.5281, allocations: 15.67 kB / 494.4 MB, free: 5.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.5282, allocations: 33.7 kB / 494.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5282, allocations: 0 / 494.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002901/0.5285, allocations: 130.7 kB / 494.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.5286, allocations: 35.11 kB / 494.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5286, allocations: 0 / 494.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5286, allocations: 3.938 kB / 494.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.5287, allocations: 5.312 kB / 494.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5287, allocations: 0 / 494.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.5288, allocations: 7.984 kB / 494.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.5289, allocations: 11.95 kB / 494.6 MB, free: 5.508 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 (3): * Single equations (assignments): 2 * 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.0002452/0.5291, allocations: 202.5 kB / 494.8 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.5292, allocations: 39.53 kB / 494.8 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.5295, allocations: 103.4 kB / 494.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5296, allocations: 0 / 494.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5296, allocations: 0 / 494.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5296, allocations: 4.156 kB / 495 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.5299, allocations: 319.7 kB / 495.3 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.53, allocations: 0 / 495.3 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.53, allocations: 30.11 kB / 495.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.53, allocations: 0 / 495.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.5301, allocations: 0 / 495.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.5301, allocations: 3.984 kB / 495.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5301, allocations: 0 / 495.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.5304, allocations: 190.8 kB / 495.5 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.5306, allocations: 156.2 kB / 495.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.5307, allocations: 0 / 495.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5308, allocations: 4 kB / 495.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.5308, allocations: 4 kB / 495.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5309, allocations: 3.812 kB / 495.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009269/0.5318, allocations: 0.6254 MB / 496.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5318, allocations: 4.031 kB / 496.3 MB, free: 4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.5322, allocations: 44 kB / 496.3 MB, free: 3.957 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 (2): * Single equations (assignments): 2 * 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.0009826/0.5332, allocations: 0.8354 MB / 497.2 MB, free: 3.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.5335, allocations: 83.14 kB / 497.2 MB, free: 3.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5335, allocations: 0 / 497.2 MB, free: 3.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.5336, allocations: 15.92 kB / 497.3 MB, free: 3.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.534, allocations: 16.16 kB / 497.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.5361, allocations: 1.278 MB / 498.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.5365, allocations: 0.8256 MB / 499.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.5366, allocations: 36.23 kB / 499.4 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.5368, allocations: 107 kB / 499.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of SimCode: time 1.143e-06/0.5368, allocations: 4 kB / 499.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.5708, allocations: 5.718 MB / 0.4934 GB, free: 11.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/0.5712, allocations: 214.4 kB / 0.4936 GB, free: 10.99 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/2.961, allocations: 0 / 0.4936 GB, free: 10.99 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat