Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_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.01363/0.01363, allocations: 167 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.76/1.76, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001931/0.001931, allocations: 111.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.424/0.424, allocations: 38.06 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004617, allocations: 19.94 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 48.7 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.5096, allocations: 75.87 MB / 487.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.51, allocations: 70.41 kB / 487.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02011/0.5301, allocations: 4.277 MB / 491.9 MB, free: 7.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5301, allocations: 0 / 491.9 MB, free: 7.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.5302, allocations: 4 kB / 491.9 MB, free: 7.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004863/0.5307, allocations: 459 kB / 492.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5307, allocations: 8.031 kB / 492.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.5308, allocations: 34.5 kB / 492.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.5308, allocations: 19.81 kB / 492.4 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.5311, allocations: 209.5 kB / 492.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5311, allocations: 4 kB / 492.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.5311, allocations: 3.938 kB / 492.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.5313, allocations: 41.56 kB / 492.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5313, allocations: 4 kB / 492.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.5313, allocations: 0 / 492.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5313, allocations: 0 / 492.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.5314, allocations: 15.58 kB / 492.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.5318, allocations: 307.8 kB / 493 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.532, allocations: 45.25 kB / 493 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.5321, allocations: 0 / 493 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.5322, allocations: 58.8 kB / 493.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.5322, allocations: 0 / 493.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004743/0.5327, allocations: 141.2 kB / 493.2 MB, free: 6.398 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.5327, allocations: 55.41 kB / 493.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.533, allocations: 214 kB / 493.5 MB, free: 6.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.533, allocations: 25.7 kB / 493.5 MB, free: 6.121 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.5331, allocations: 106.4 kB / 493.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.5331, allocations: 14.58 kB / 493.6 MB, free: 6.016 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.5332, allocations: 3.25 kB / 493.6 MB, free: 6.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.5332, allocations: 321.5 kB / 494 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.859e-05/0.5333, allocations: 25.92 kB / 494 MB, free: 5.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.5334, allocations: 26.19 kB / 494 MB, free: 5.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.5335, allocations: 54 kB / 494.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5335, allocations: 0 / 494.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002456/0.5338, allocations: 131 kB / 494.2 MB, free: 5.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.5338, allocations: 33.69 kB / 494.2 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5339, allocations: 7.938 kB / 494.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5339, allocations: 0 / 494.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.534, allocations: 8 kB / 494.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.534, allocations: 160 / 494.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.5341, allocations: 7.188 kB / 494.2 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.5341, allocations: 15.92 kB / 494.3 MB, free: 5.418 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001005/0.5342, allocations: 128.8 kB / 494.4 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.5342, allocations: 7.906 kB / 494.4 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.5345, allocations: 103.6 kB / 494.5 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5345, allocations: 0 / 494.5 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5345, allocations: 0 / 494.5 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5345, allocations: 0 / 494.5 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.5349, allocations: 374.4 kB / 494.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.535, allocations: 0 / 494.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.535, allocations: 19.73 kB / 494.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.535, allocations: 0 / 494.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.5351, allocations: 96 / 494.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5351, allocations: 3.938 kB / 494.9 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5351, allocations: 7.938 kB / 494.9 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.5353, allocations: 172.8 kB / 495.1 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.5353, allocations: 100.9 kB / 495.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.5354, allocations: 3.5 kB / 495.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.5355, allocations: 7.938 kB / 495.2 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.5355, allocations: 3.984 kB / 495.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5355, allocations: 4 kB / 495.2 MB, free: 4.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.5357, allocations: 175 kB / 495.3 MB, free: 4.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5358, allocations: 0 / 495.3 MB, free: 4.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003643/0.5361, allocations: 39.25 kB / 495.4 MB, free: 4.293 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00128/0.5374, allocations: 0.9654 MB / 496.3 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.5377, allocations: 112.9 kB / 496.5 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5377, allocations: 0 / 496.5 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.5378, allocations: 26.56 kB / 496.5 MB, free: 3.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.5381, allocations: 15.55 kB / 496.5 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.539, allocations: 0.5017 MB / 497 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.5392, allocations: 0.7082 MB / 497.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.5393, allocations: 16.14 kB / 497.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.5394, allocations: 32.23 kB / 497.8 MB, free: 1.977 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5394, allocations: 0 / 497.8 MB, free: 1.977 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.5607, allocations: 2.952 MB / 0.489 GB, free: 15.07 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.561, allocations: 208.7 kB / 0.4892 GB, free: 14.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/2.951, allocations: 0 / 0.4892 GB, free: 14.83 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat