Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test15",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.01001/0.01001, allocations: 174.3 kB / 15.12 MB, free: 5.984 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.097/2.097, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.00211/0.00211, allocations: 108.7 kB / 255.6 MB, free: 10.24 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.2923/0.2923, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.000486, allocations: 17.7 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 54.87 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.2854, allocations: 82.13 MB / 0.5305 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.2858, allocations: 71.95 kB / 0.5306 GB, free: 0.8984 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.3393/0.6251, allocations: 4.441 MB / 0.5349 GB, free: 82.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6252, allocations: 0 / 0.5349 GB, free: 82.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3e-05/0.6252, allocations: 6.188 kB / 0.535 GB, free: 82.69 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.0006436/0.6259, allocations: 478.2 kB / 0.5354 GB, free: 82.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6259, allocations: 9.531 kB / 0.5354 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.626, allocations: 34.47 kB / 0.5355 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.6261, allocations: 9.188 kB / 0.5355 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.6264, allocations: 198.1 kB / 0.5356 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.6265, allocations: 3.125 kB / 0.5357 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.6265, allocations: 8.516 kB / 0.5357 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.6267, allocations: 60.48 kB / 0.5357 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6267, allocations: 4 kB / 0.5357 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6268, allocations: 5.969 kB / 0.5357 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6268, allocations: 0 / 0.5357 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.6269, allocations: 23.53 kB / 0.5357 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.6274, allocations: 314.6 kB / 0.536 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.6278, allocations: 61.78 kB / 0.5361 GB, free: 81.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.6278, allocations: 5.406 kB / 0.5361 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.628, allocations: 73.92 kB / 0.5362 GB, free: 81.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.815e-06/0.628, allocations: 0 / 0.5362 GB, free: 81.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008854/0.6289, allocations: 178.1 kB / 0.5364 GB, free: 81.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.629, allocations: 53.19 kB / 0.5364 GB, free: 81.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.6292, allocations: 160.7 kB / 0.5366 GB, free: 81.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.6293, allocations: 35.7 kB / 0.5366 GB, free: 81.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.6293, allocations: 93.83 kB / 0.5367 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.6294, allocations: 21.16 kB / 0.5367 GB, free: 81.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.6294, allocations: 2.281 kB / 0.5367 GB, free: 81.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.6295, allocations: 324.1 kB / 0.537 GB, free: 80.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.6297, allocations: 37.61 kB / 0.537 GB, free: 80.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.6298, allocations: 54.41 kB / 0.5371 GB, free: 80.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.63, allocations: 77.64 kB / 0.5372 GB, free: 80.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.6301, allocations: 5.375 kB / 0.5372 GB, free: 80.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004938/0.6306, allocations: 174.1 kB / 0.5373 GB, free: 80.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.6306, allocations: 39.17 kB / 0.5374 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6306, allocations: 0 / 0.5374 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.6307, allocations: 1.156 kB / 0.5374 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.6308, allocations: 19.72 kB / 0.5374 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.6309, allocations: 1.969 kB / 0.5374 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.631, allocations: 9.219 kB / 0.5374 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.631, allocations: 9.5 kB / 0.5374 GB, free: 80.75 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.0001406/0.6312, allocations: 127.6 kB / 0.5375 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.6312, allocations: 21.38 kB / 0.5376 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.6317, allocations: 119.5 kB / 0.5377 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.6317, allocations: 1.156 kB / 0.5377 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6317, allocations: 0.6562 kB / 0.5377 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6318, allocations: 0.6562 kB / 0.5377 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.6325, allocations: 409.7 kB / 0.5381 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6325, allocations: 4.594 kB / 0.5381 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.6326, allocations: 15.05 kB / 0.5381 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.6326, allocations: 3.938 kB / 0.5381 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.6327, allocations: 6.312 kB / 0.5381 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.6327, allocations: 1.469 kB / 0.5381 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6327, allocations: 0 / 0.5381 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.6331, allocations: 226 kB / 0.5383 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.6332, allocations: 100.3 kB / 0.5384 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.6332, allocations: 1.609 kB / 0.5384 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6333, allocations: 3.891 kB / 0.5384 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.6334, allocations: 9.312 kB / 0.5384 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.6334, allocations: 4.969 kB / 0.5384 GB, free: 79.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.6336, allocations: 128.4 kB / 0.5386 GB, free: 79.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6336, allocations: 288 / 0.5386 GB, free: 79.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.6341, allocations: 43.31 kB / 0.5386 GB, free: 79.89 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.001838/0.6359, allocations: 1.169 MB / 0.5397 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.6365, allocations: 165.8 kB / 0.5399 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6366, allocations: 0 / 0.5399 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.6367, allocations: 37.28 kB / 0.5399 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.6371, allocations: 15.19 kB / 0.5399 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.6383, allocations: 0.6147 MB / 0.5405 GB, free: 78.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.6385, allocations: 0.7109 MB / 0.5412 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.6386, allocations: 11.78 kB / 0.5413 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.6387, allocations: 27.38 kB / 0.5413 GB, free: 77.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.304e-06/0.6388, allocations: 1.188 kB / 0.5413 GB, free: 77.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.6643, allocations: 2.912 MB / 0.5441 GB, free: 76.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.6646, allocations: 220.6 kB / 0.5443 GB, free: 76.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.201, allocations: 0 / 0.5443 GB, free: 76.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat