Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test12",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.01039/0.01038, allocations: 165.6 kB / 15.11 MB, free: 5.93 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.583/1.583, 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.001939/0.001938, allocations: 110.5 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.4219/0.4219, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004988, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.523, allocations: 76.62 MB / 488.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5233, allocations: 68.53 kB / 488.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0157/0.5391, allocations: 3.232 MB / 491.6 MB, free: 8.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5391, allocations: 0 / 491.6 MB, free: 8.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.5391, allocations: 4 kB / 491.6 MB, free: 8.387 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007168/0.5399, allocations: 484.7 kB / 492.1 MB, free: 7.867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5399, allocations: 8.031 kB / 492.1 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.54, allocations: 42.23 kB / 492.1 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.5401, allocations: 15.84 kB / 492.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.5404, allocations: 202.1 kB / 492.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5405, allocations: 3.625 kB / 492.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.5405, allocations: 11.98 kB / 492.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.5408, allocations: 69.09 kB / 492.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5408, allocations: 0 / 492.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.5409, allocations: 7.938 kB / 492.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5409, allocations: 0 / 492.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.5412, allocations: 48.38 kB / 492.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.5419, allocations: 351 kB / 492.8 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.5423, allocations: 76.8 kB / 492.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.5424, allocations: 0 / 492.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.5426, allocations: 78.75 kB / 493 MB, free: 6.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.5427, allocations: 0 / 493 MB, free: 6.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005724/0.5433, allocations: 121.1 kB / 493.1 MB, free: 6.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.5433, allocations: 63.3 kB / 493.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.5435, allocations: 152.2 kB / 493.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5436, allocations: 33.14 kB / 493.3 MB, free: 6.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.5437, allocations: 99.81 kB / 493.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.5437, allocations: 27.52 kB / 493.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.5437, allocations: 3.938 kB / 493.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.5438, allocations: 326.7 kB / 493.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.544, allocations: 31.39 kB / 493.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.5442, allocations: 51.14 kB / 493.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.5444, allocations: 63.08 kB / 493.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5445, allocations: 0 / 493.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005171/0.545, allocations: 170 kB / 494.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.545, allocations: 33.69 kB / 494.1 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5451, allocations: 0 / 494.1 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.5451, allocations: 4 kB / 494.1 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.5453, allocations: 12 kB / 494.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.5453, allocations: 2.891 kB / 494.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.5454, allocations: 19.69 kB / 494.2 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.5455, allocations: 15.91 kB / 494.2 MB, free: 5.789 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: 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 (10): * Single equations (assignments): 9 * 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.0001206/0.5456, allocations: 118.8 kB / 494.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.5457, allocations: 7.906 kB / 494.3 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.5461, allocations: 117.5 kB / 494.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5461, allocations: 0 / 494.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5461, allocations: 0 / 494.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5462, allocations: 0 / 494.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.5464, allocations: 212.5 kB / 494.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5464, allocations: 0 / 494.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.5466, allocations: 15.92 kB / 494.7 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5466, allocations: 4 kB / 494.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.5466, allocations: 0.75 kB / 494.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5466, allocations: 0 / 494.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5467, allocations: 0 / 494.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.5472, allocations: 172.2 kB / 494.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.5473, allocations: 88.7 kB / 494.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.5473, allocations: 0 / 494.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.5475, allocations: 11.98 kB / 494.9 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.5475, allocations: 4 kB / 494.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5476, allocations: 11.73 kB / 494.9 MB, free: 5.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.5477, allocations: 131.3 kB / 495.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5477, allocations: 0 / 495.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005211/0.5483, allocations: 44.25 kB / 495.1 MB, free: 4.859 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.00176/0.5501, allocations: 0.9109 MB / 496 MB, free: 4.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004197/0.5505, allocations: 138.7 kB / 496.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5505, allocations: 3.938 kB / 496.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.5507, allocations: 35.61 kB / 496.2 MB, free: 3.871 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.5511, allocations: 27.78 kB / 496.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/0.5602, allocations: 0.6393 MB / 496.9 MB, free: 3.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.5605, allocations: 0.7119 MB / 497.6 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.5607, allocations: 16.42 kB / 497.6 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5608, allocations: 27.06 kB / 497.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5609, allocations: 4 kB / 497.6 MB, free: 2.418 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.5897, allocations: 2.844 MB / 0.4887 GB, free: 15.61 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.5899, allocations: 210 kB / 0.4889 GB, free: 15.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.142, allocations: 3.938 kB / 0.4889 GB, free: 15.37 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat