Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01024/0.01024, allocations: 174.7 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.072/2.072, allocations: 194.5 MB / 210.3 MB, free: 8.789 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001985/0.001985, allocations: 124.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2497/0.2497, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.0006523, allocations: 18.62 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1103, allocations: 54.88 MB / 461.2 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.2933, allocations: 82.89 MB / 0.5313 GB, free: 328 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.2937, allocations: 75.95 kB / 0.5314 GB, free: 252 kB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3205/0.6142, allocations: 3.626 MB / 0.5349 GB, free: 83.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6143, allocations: 1.375 kB / 0.5349 GB, free: 83.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.6143, allocations: 5.438 kB / 0.5349 GB, free: 83.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008062/0.6151, allocations: 0.5153 MB / 0.5354 GB, free: 82.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.6152, allocations: 8.984 kB / 0.5354 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.6153, allocations: 40.61 kB / 0.5355 GB, free: 82.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.6153, allocations: 16.08 kB / 0.5355 GB, free: 82.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.6157, allocations: 214 kB / 0.5357 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.6158, allocations: 8.5 kB / 0.5357 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.6158, allocations: 7.906 kB / 0.5357 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.6161, allocations: 87.56 kB / 0.5358 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6162, allocations: 0 / 0.5358 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.6162, allocations: 5.141 kB / 0.5358 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6162, allocations: 5.203 kB / 0.5358 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.6165, allocations: 53.95 kB / 0.5358 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.6172, allocations: 369.1 kB / 0.5362 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.6177, allocations: 99.67 kB / 0.5363 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.6178, allocations: 1.672 kB / 0.5363 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.6181, allocations: 88.97 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.145e-06/0.6181, allocations: 0.9062 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007016/0.6189, allocations: 157 kB / 0.5365 GB, free: 82.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.6189, allocations: 56.47 kB / 0.5366 GB, free: 82.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.6192, allocations: 153.7 kB / 0.5367 GB, free: 82.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.6192, allocations: 31.67 kB / 0.5368 GB, free: 81.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.6193, allocations: 103.7 kB / 0.5369 GB, free: 81.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.6194, allocations: 27.59 kB / 0.5369 GB, free: 81.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.6194, allocations: 12.75 kB / 0.5369 GB, free: 81.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.6195, allocations: 324.1 kB / 0.5372 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.6197, allocations: 43.67 kB / 0.5373 GB, free: 81.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.6199, allocations: 69.69 kB / 0.5373 GB, free: 81.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.6202, allocations: 87.33 kB / 0.5374 GB, free: 81.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6202, allocations: 1.719 kB / 0.5374 GB, free: 81.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006217/0.6208, allocations: 205.9 kB / 0.5376 GB, free: 81.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.6209, allocations: 35.11 kB / 0.5376 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.6209, allocations: 5.188 kB / 0.5376 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.621, allocations: 1.797 kB / 0.5376 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.6212, allocations: 33.3 kB / 0.5377 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.6212, allocations: 1.469 kB / 0.5377 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.6213, allocations: 21 kB / 0.5377 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.6214, allocations: 6.141 kB / 0.5377 GB, free: 81.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001496/0.6215, allocations: 124 kB / 0.5378 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.6216, allocations: 14.19 kB / 0.5378 GB, free: 81.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.6221, allocations: 138.6 kB / 0.538 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6221, allocations: 0.6562 kB / 0.538 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.6221, allocations: 1.031 kB / 0.538 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6222, allocations: 0.75 kB / 0.538 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.6224, allocations: 212.9 kB / 0.5382 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6224, allocations: 3.938 kB / 0.5382 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.6226, allocations: 15.55 kB / 0.5382 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.6226, allocations: 0 / 0.5382 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.6226, allocations: 6.109 kB / 0.5382 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6227, allocations: 5.562 kB / 0.5382 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6227, allocations: 0 / 0.5382 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.6233, allocations: 194.1 kB / 0.5384 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6234, allocations: 103.4 kB / 0.5385 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.6235, allocations: 2.109 kB / 0.5385 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6236, allocations: 22.97 kB / 0.5385 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.6237, allocations: 6.922 kB / 0.5385 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6237, allocations: 4.312 kB / 0.5385 GB, free: 80.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.6239, allocations: 130.4 kB / 0.5386 GB, free: 80.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6239, allocations: 0 / 0.5386 GB, free: 80.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.6243, allocations: 37.33 kB / 0.5387 GB, free: 80.72 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002001/0.6263, allocations: 1.032 MB / 0.5397 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.627, allocations: 184.6 kB / 0.5399 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.627, allocations: 0 / 0.5399 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.6272, allocations: 44.77 kB / 0.5399 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.6277, allocations: 31.25 kB / 0.5399 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.6303, allocations: 0.8259 MB / 0.5407 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.6306, allocations: 0.7176 MB / 0.5414 GB, free: 78.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.6308, allocations: 16.52 kB / 0.5415 GB, free: 78.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.6309, allocations: 35.06 kB / 0.5415 GB, free: 78.43 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6309, allocations: 0 / 0.5415 GB, free: 78.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.6564, allocations: 3.158 MB / 0.5446 GB, free: 77.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/0.6567, allocations: 211.4 kB / 0.5448 GB, free: 77.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.427, allocations: 0 / 0.5448 GB, free: 77.38 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat