Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test55",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.01012/0.01012, allocations: 174.9 kB / 15.12 MB, free: 5.93 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.025/2.025, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.001988/0.001988, allocations: 112.7 kB / 255.6 MB, free: 11.2 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.2504/0.2504, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004753, allocations: 16.66 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 54.88 MB / 461.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.2515, allocations: 82.35 MB / 0.5308 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.2518, allocations: 83.89 kB / 0.5308 GB, free: 0.7305 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.3742/0.6261, allocations: 5.17 MB / 0.5359 GB, free: 83.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6261, allocations: 1.344 kB / 0.5359 GB, free: 83.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.6261, allocations: 1.156 kB / 0.5359 GB, free: 83.04 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.0005995/0.6267, allocations: 472.9 kB / 0.5363 GB, free: 82.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6268, allocations: 9.531 kB / 0.5364 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.6269, allocations: 36.25 kB / 0.5364 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.6269, allocations: 8.688 kB / 0.5364 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.6272, allocations: 195.5 kB / 0.5366 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6273, allocations: 6.562 kB / 0.5366 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.6273, allocations: 9.062 kB / 0.5366 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.6275, allocations: 73.09 kB / 0.5367 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6275, allocations: 0 / 0.5367 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.6276, allocations: 6 kB / 0.5367 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6276, allocations: 0 / 0.5367 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.6277, allocations: 23.83 kB / 0.5367 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.6281, allocations: 296.2 kB / 0.537 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.6284, allocations: 64.55 kB / 0.537 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.6284, allocations: 1.875 kB / 0.537 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.6286, allocations: 71.5 kB / 0.5371 GB, free: 81.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.6286, allocations: 0 / 0.5371 GB, free: 81.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007691/0.6294, allocations: 178.6 kB / 0.5373 GB, free: 81.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.6294, allocations: 78.27 kB / 0.5374 GB, free: 81.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.6296, allocations: 142.6 kB / 0.5375 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.6297, allocations: 31.34 kB / 0.5375 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.6297, allocations: 90.05 kB / 0.5376 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.6298, allocations: 28.02 kB / 0.5376 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.6298, allocations: 5.125 kB / 0.5376 GB, free: 81.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.6298, allocations: 324.1 kB / 0.538 GB, free: 81.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.63, allocations: 29.56 kB / 0.538 GB, free: 81.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.6301, allocations: 64.95 kB / 0.538 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.6303, allocations: 72.11 kB / 0.5381 GB, free: 81.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6303, allocations: 0.9062 kB / 0.5381 GB, free: 81.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003823/0.6307, allocations: 162.4 kB / 0.5383 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.6307, allocations: 33.92 kB / 0.5383 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6308, allocations: 1.438 kB / 0.5383 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6308, allocations: 1.125 kB / 0.5383 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.6309, allocations: 15.36 kB / 0.5383 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.631, allocations: 1.344 kB / 0.5383 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.6311, allocations: 17.03 kB / 0.5383 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.6311, allocations: 5.5 kB / 0.5383 GB, free: 81.05 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.0001314/0.6312, allocations: 124.3 kB / 0.5385 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.6313, allocations: 16.86 kB / 0.5385 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.6317, allocations: 116.6 kB / 0.5386 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6317, allocations: 2.016 kB / 0.5386 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6317, allocations: 0 / 0.5386 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6317, allocations: 9.953 kB / 0.5386 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.6323, allocations: 410.5 kB / 0.539 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6324, allocations: 0 / 0.539 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.6324, allocations: 10.78 kB / 0.539 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6325, allocations: 1.219 kB / 0.539 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6325, allocations: 2.062 kB / 0.539 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6325, allocations: 1.953 kB / 0.539 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6325, allocations: 1.062 kB / 0.539 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.6329, allocations: 228.7 kB / 0.5392 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.6329, allocations: 94.05 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.633, allocations: 7.172 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.6331, allocations: 3.703 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.6332, allocations: 5.75 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.6332, allocations: 7.75 kB / 0.5393 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.6333, allocations: 119.4 kB / 0.5394 GB, free: 80.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6333, allocations: 0 / 0.5394 GB, free: 80.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.6338, allocations: 49.8 kB / 0.5395 GB, free: 80.2 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.001864/0.6357, allocations: 1.252 MB / 0.5407 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003906/0.6361, allocations: 148.2 kB / 0.5409 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6361, allocations: 0 / 0.5409 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.6362, allocations: 35.42 kB / 0.5409 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.6366, allocations: 25.28 kB / 0.5409 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.6375, allocations: 0.5955 MB / 0.5415 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.6377, allocations: 0.704 MB / 0.5422 GB, free: 77.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.98e-05/0.6378, allocations: 15.75 kB / 0.5422 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.6379, allocations: 31.73 kB / 0.5422 GB, free: 77.86 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6379, allocations: 0 / 0.5422 GB, free: 77.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.6648, allocations: 3.093 MB / 0.5453 GB, free: 76.85 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.665, allocations: 217 kB / 0.5455 GB, free: 76.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.074, allocations: 3.938 kB / 0.5455 GB, free: 76.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat