Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test42",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.009973/0.009978, allocations: 175.3 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 1.995/1.995, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.001977/0.001977, allocations: 112.6 kB / 255.6 MB, free: 10.23 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.2842/0.2842, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000736/0.0007361, allocations: 11.78 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1468, allocations: 54.88 MB / 461.2 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.2925, allocations: 82.14 MB / 0.5306 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.2928, allocations: 75.91 kB / 0.5306 GB, free: 0.8516 MB / 378.7 MB [/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.3146/0.6075, allocations: 4.647 MB / 0.5352 GB, free: 83.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6075, allocations: 0 / 0.5352 GB, free: 83.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.6075, allocations: 2.125 kB / 0.5352 GB, free: 83.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000636/0.6082, allocations: 487.5 kB / 0.5356 GB, free: 82.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6082, allocations: 9.219 kB / 0.5357 GB, free: 82.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.6083, allocations: 32.55 kB / 0.5357 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.6084, allocations: 10.2 kB / 0.5357 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.6087, allocations: 209.6 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.6088, allocations: 6.422 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.6088, allocations: 4.625 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.609, allocations: 53.52 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.609, allocations: 1.719 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.6091, allocations: 7.953 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6091, allocations: 1.219 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.6092, allocations: 22.42 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.6097, allocations: 317.1 kB / 0.5363 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.61, allocations: 64.48 kB / 0.5363 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.61, allocations: 5.25 kB / 0.5364 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.6102, allocations: 69.17 kB / 0.5364 GB, free: 81.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.786e-06/0.6102, allocations: 0 / 0.5364 GB, free: 81.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008923/0.6111, allocations: 189.2 kB / 0.5366 GB, free: 81.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.6112, allocations: 52.34 kB / 0.5367 GB, free: 81.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.6115, allocations: 177.6 kB / 0.5368 GB, free: 81.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.6115, allocations: 28.17 kB / 0.5368 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.6116, allocations: 105 kB / 0.5369 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.6116, allocations: 25.14 kB / 0.537 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.6116, allocations: 9.438 kB / 0.537 GB, free: 81.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.6117, allocations: 321.4 kB / 0.5373 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.6119, allocations: 41.89 kB / 0.5373 GB, free: 81.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.6122, allocations: 54.36 kB / 0.5374 GB, free: 81.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.6124, allocations: 70.22 kB / 0.5374 GB, free: 81.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6125, allocations: 4 kB / 0.5374 GB, free: 81.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006567/0.6131, allocations: 187.2 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.6132, allocations: 34.91 kB / 0.5377 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6132, allocations: 1.406 kB / 0.5377 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6133, allocations: 1.688 kB / 0.5377 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.6135, allocations: 15.86 kB / 0.5377 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6135, allocations: 0 / 0.5377 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.6136, allocations: 10.64 kB / 0.5377 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.6137, allocations: 4.375 kB / 0.5377 GB, free: 81.13 MB / 378.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: 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 (11): * Single equations (assignments): 10 * 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.0001781/0.6139, allocations: 135.8 kB / 0.5378 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.6139, allocations: 17.41 kB / 0.5378 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.6145, allocations: 122.7 kB / 0.538 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6145, allocations: 1.406 kB / 0.538 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6145, allocations: 0 / 0.538 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.6145, allocations: 1.734 kB / 0.538 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.6154, allocations: 419.2 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.6155, allocations: 1.438 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.6156, allocations: 14.41 kB / 0.5384 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.6156, allocations: 0.8438 kB / 0.5384 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.6156, allocations: 3.656 kB / 0.5384 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.6157, allocations: 1.891 kB / 0.5384 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6157, allocations: 0.7812 kB / 0.5384 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.6162, allocations: 229.4 kB / 0.5386 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.6163, allocations: 101.4 kB / 0.5387 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.6164, allocations: 1.312 kB / 0.5387 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.6166, allocations: 8.594 kB / 0.5387 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.6166, allocations: 6.938 kB / 0.5387 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.6167, allocations: 2.938 kB / 0.5387 GB, free: 80.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002547/0.6169, allocations: 146 kB / 0.5389 GB, free: 80.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6169, allocations: 7.938 kB / 0.5389 GB, free: 80.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000646/0.6176, allocations: 44.25 kB / 0.5389 GB, free: 80.26 MB / 378.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: 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 (9): * Single equations (assignments): 7 * 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.002392/0.62, allocations: 1.167 MB / 0.54 GB, free: 79.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00063/0.6207, allocations: 161.2 kB / 0.5402 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6207, allocations: 1.156 kB / 0.5402 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.6209, allocations: 36.34 kB / 0.5402 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.6214, allocations: 17.23 kB / 0.5402 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.6229, allocations: 0.6529 MB / 0.5409 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.6232, allocations: 0.709 MB / 0.5416 GB, free: 77.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.6233, allocations: 13.44 kB / 0.5416 GB, free: 77.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.6235, allocations: 35.22 kB / 0.5416 GB, free: 77.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.813e-06/0.6235, allocations: 0 / 0.5416 GB, free: 77.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06351/0.687, allocations: 3.059 MB / 0.5446 GB, free: 77.18 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.6873, allocations: 211.2 kB / 0.5448 GB, free: 76.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.044, allocations: 5.031 kB / 0.5448 GB, free: 76.94 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat