Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test65",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.01085/0.01085, allocations: 164.2 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.566/1.566, 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.001926/0.001925, allocations: 111.4 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.4571/0.4571, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006369/0.000637, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1049, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3874/0.4923, allocations: 75.66 MB / 487.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4927, allocations: 70.72 kB / 487.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.5073, allocations: 3.884 MB / 491.3 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5074, allocations: 0 / 491.3 MB, free: 8.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.5074, allocations: 0 / 491.3 MB, free: 8.781 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004936/0.5079, allocations: 429.7 kB / 491.7 MB, free: 8.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.508, allocations: 8.031 kB / 491.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.508, allocations: 38.56 kB / 491.8 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.5081, allocations: 11.81 kB / 491.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.5083, allocations: 200.8 kB / 492 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5084, allocations: 0 / 492 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.5084, allocations: 0 / 492 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.5085, allocations: 41.31 kB / 492 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5085, allocations: 0 / 492 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.5085, allocations: 0 / 492 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.5086, allocations: 0 / 492 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.5086, allocations: 20.02 kB / 492 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.5088, allocations: 197.4 kB / 492.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.5089, allocations: 33.55 kB / 492.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.509, allocations: 0 / 492.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.5091, allocations: 54.64 kB / 492.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.5091, allocations: 0 / 492.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002389/0.5094, allocations: 75.22 kB / 492.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.5094, allocations: 51.41 kB / 492.4 MB, free: 7.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.5097, allocations: 177.1 kB / 492.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.5097, allocations: 32.27 kB / 492.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.5097, allocations: 99.41 kB / 492.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.5098, allocations: 7.844 kB / 492.8 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.5098, allocations: 4 kB / 492.8 MB, free: 7.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.5099, allocations: 321.9 kB / 493.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.5099, allocations: 23.3 kB / 493.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.51, allocations: 11.12 kB / 493.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.637e-05/0.5101, allocations: 59.14 kB / 493.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5101, allocations: 0 / 493.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002065/0.5103, allocations: 116.4 kB / 493.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.5104, allocations: 40.41 kB / 493.3 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5104, allocations: 0 / 493.3 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5104, allocations: 0 / 493.3 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.5105, allocations: 4 kB / 493.3 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5105, allocations: 0 / 493.3 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.5106, allocations: 15.16 kB / 493.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.5106, allocations: 4 kB / 493.3 MB, free: 6.645 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 (5): * Single equations (assignments): 4 * 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 8.976e-05/0.5107, allocations: 126 kB / 493.5 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.5107, allocations: 7.906 kB / 493.5 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.5109, allocations: 75.8 kB / 493.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5109, allocations: 0 / 493.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5109, allocations: 0 / 493.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.511, allocations: 4 kB / 493.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.5111, allocations: 187.5 kB / 493.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5111, allocations: 11.95 kB / 493.7 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.5112, allocations: 0 / 493.7 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5112, allocations: 4 kB / 493.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.5112, allocations: 0 / 493.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5112, allocations: 0 / 493.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5112, allocations: 0 / 493.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.5114, allocations: 91.45 kB / 493.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.5114, allocations: 92.91 kB / 493.9 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.5115, allocations: 4.75 kB / 493.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.5115, allocations: 4 kB / 493.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.5116, allocations: 13.42 kB / 493.9 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.5116, allocations: 3.5 kB / 494 MB, free: 5.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.5117, allocations: 149.5 kB / 494.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5118, allocations: 0 / 494.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.512, allocations: 31.91 kB / 494.1 MB, free: 5.812 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 (4): * Single equations (assignments): 3 * 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.001066/0.5131, allocations: 0.8538 MB / 495 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.5133, allocations: 108.1 kB / 495.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5134, allocations: 0 / 495.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.5134, allocations: 15.44 kB / 495.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.5137, allocations: 14.3 kB / 495.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/0.5144, allocations: 442.8 kB / 495.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.5146, allocations: 0.7041 MB / 496.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.5146, allocations: 12.17 kB / 496.3 MB, free: 3.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.5147, allocations: 29.55 kB / 496.3 MB, free: 3.684 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5147, allocations: 0 / 496.3 MB, free: 3.684 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.5402, allocations: 2.524 MB / 498.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/0.5406, allocations: 206 kB / 499 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.017, allocations: 0 / 499 MB, free: 0.9648 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat