Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test23",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.009476/0.00948, allocations: 168.6 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.599/1.599, 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.001985/0.001984, allocations: 107 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.4301/0.4301, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004882, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09926, allocations: 48.7 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3845/0.4838, allocations: 75.51 MB / 487.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4841, allocations: 71.02 kB / 487.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02475/0.5089, allocations: 6.555 MB / 493.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.509, allocations: 4 kB / 493.8 MB, free: 6.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.509, allocations: 5.5 kB / 493.8 MB, free: 6.535 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001178/0.5102, allocations: 0.8732 MB / 494.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5102, allocations: 8.031 kB / 494.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.5103, allocations: 41.44 kB / 494.7 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.5104, allocations: 51.34 kB / 494.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007735/0.5112, allocations: 434 kB / 495.2 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.5112, allocations: 7.938 kB / 495.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.5113, allocations: 16.53 kB / 495.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.5117, allocations: 159.3 kB / 495.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5118, allocations: 4 kB / 495.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.5118, allocations: 6.578 kB / 495.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.5118, allocations: 4 kB / 495.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.5123, allocations: 121.9 kB / 495.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.5136, allocations: 0.7016 MB / 496.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.514, allocations: 135 kB / 496.4 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.5141, allocations: 7.984 kB / 496.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.5141, allocations: 38.44 kB / 496.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.5141, allocations: 0 / 496.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.003155/0.5173, allocations: 0.7421 MB / 497.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5173, allocations: 85.05 kB / 497.2 MB, free: 3.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.5185, allocations: 0.7283 MB / 498 MB, free: 2.605 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.5186, allocations: 28.58 kB / 498 MB, free: 2.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.5187, allocations: 237.8 kB / 498.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.5188, allocations: 69.19 kB / 498.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.5189, allocations: 11.5 kB / 498.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.519, allocations: 363.7 kB / 498.7 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.5195, allocations: 115.4 kB / 498.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.52, allocations: 146.6 kB / 498.9 MB, free: 1.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.5205, allocations: 222.5 kB / 499.1 MB, free: 1.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5205, allocations: 4 kB / 499.1 MB, free: 1.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001252/0.5218, allocations: 465.4 kB / 499.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.5219, allocations: 110.8 kB / 499.7 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5219, allocations: 4 kB / 499.7 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5219, allocations: 0 / 499.7 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.5224, allocations: 66.95 kB / 499.8 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5224, allocations: 4.5 kB / 499.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.5228, allocations: 39.44 kB / 499.8 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.5229, allocations: 8 kB / 499.8 MB, free: 0.9336 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 4 * 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.000264/0.5231, allocations: 208.3 kB / 0.4883 GB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.5233, allocations: 47.44 kB / 0.4884 GB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.5246, allocations: 403.2 kB / 0.4887 GB, free: 380 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5246, allocations: 0 / 0.4887 GB, free: 380 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5246, allocations: 0 / 0.4887 GB, free: 380 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5247, allocations: 11.89 kB / 0.4887 GB, free: 368 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.527, allocations: 0.9577 MB / 0.4897 GB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.527, allocations: 4 kB / 0.4897 GB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.5275, allocations: 63.89 kB / 0.4897 GB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.5275, allocations: 0 / 0.4897 GB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.5276, allocations: 11.83 kB / 0.4898 GB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5276, allocations: 0 / 0.4898 GB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5276, allocations: 4 kB / 0.4898 GB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.529, allocations: 0.5157 MB / 0.4903 GB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.5294, allocations: 185.4 kB / 0.4904 GB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.5295, allocations: 3.562 kB / 0.4904 GB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.5299, allocations: 39.92 kB / 0.4905 GB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.53, allocations: 23.41 kB / 0.4905 GB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.53, allocations: 4 kB / 0.4905 GB, free: 14.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.5312, allocations: 0.5788 MB / 0.4911 GB, free: 14.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5312, allocations: 0 / 0.4911 GB, free: 14.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.5319, allocations: 106.3 kB / 0.4912 GB, free: 14.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.002976/0.5349, allocations: 1.498 MB / 0.4926 GB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.5363, allocations: 0.4887 MB / 0.4931 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.5363, allocations: 4 kB / 0.4931 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.5369, allocations: 138.8 kB / 0.4933 GB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.5374, allocations: 56.02 kB / 0.4933 GB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.5405, allocations: 1.587 MB / 0.4949 GB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.5411, allocations: 0.8476 MB / 0.4957 GB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003876/0.5415, allocations: 95.17 kB / 0.4958 GB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.5419, allocations: 153.8 kB / 0.4959 GB, free: 9.617 MB / 346.7 MB Notification: Performance of SimCode: time 8.055e-06/0.5419, allocations: 0 / 0.4959 GB, free: 9.617 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.5792, allocations: 8.63 MB / 0.5043 GB, free: 1.016 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/0.5796, allocations: 216.7 kB / 0.5046 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.196, allocations: 0 / 0.5046 GB, free: 0.7695 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat