Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test71",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.009763/0.009763, allocations: 177.6 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.033/2.033, allocations: 194.5 MB / 210.3 MB, free: 8.578 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.002059/0.00206, allocations: 120.6 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.2798/0.2798, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006286/0.0006287, allocations: 16.94 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.09753, allocations: 54.87 MB / 461.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.2449, allocations: 82 MB / 0.5304 GB, free: 1.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.2452, allocations: 71.97 kB / 0.5305 GB, free: 1.09 MB / 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$startTime.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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.368/0.6132, allocations: 6.018 MB / 0.5364 GB, free: 82.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6133, allocations: 0 / 0.5364 GB, free: 82.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.615e-05/0.6133, allocations: 6 kB / 0.5364 GB, free: 82.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001598/0.615, allocations: 0.8356 MB / 0.5372 GB, free: 82.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.615, allocations: 9.156 kB / 0.5372 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.6151, allocations: 38.11 kB / 0.5372 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.6154, allocations: 50.53 kB / 0.5373 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.617, allocations: 472.8 kB / 0.5377 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.617, allocations: 7.625 kB / 0.5377 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.6171, allocations: 8.594 kB / 0.5378 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.6175, allocations: 99.36 kB / 0.5378 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6175, allocations: 4 kB / 0.5379 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.6175, allocations: 1.281 kB / 0.5379 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.6176, allocations: 5.375 kB / 0.5379 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.6178, allocations: 33.16 kB / 0.5379 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.6187, allocations: 408.3 kB / 0.5383 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.6192, allocations: 121.6 kB / 0.5384 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.6193, allocations: 1.734 kB / 0.5384 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.6197, allocations: 117.9 kB / 0.5385 GB, free: 81.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.236e-06/0.6197, allocations: 0 / 0.5385 GB, free: 81.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001066/0.6208, allocations: 218.2 kB / 0.5387 GB, free: 81.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.6208, allocations: 83.38 kB / 0.5388 GB, free: 81.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.6233, allocations: 0.9324 MB / 0.5397 GB, free: 81.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.6234, allocations: 31.95 kB / 0.5397 GB, free: 81.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.6237, allocations: 236.5 kB / 0.54 GB, free: 81.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.6238, allocations: 24.77 kB / 0.54 GB, free: 81.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.6239, allocations: 5.25 kB / 0.54 GB, free: 81.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.624, allocations: 365.3 kB / 0.5403 GB, free: 80.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.6243, allocations: 62.67 kB / 0.5404 GB, free: 80.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.6246, allocations: 94.58 kB / 0.5405 GB, free: 80.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.6249, allocations: 135 kB / 0.5406 GB, free: 80.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6249, allocations: 1.344 kB / 0.5406 GB, free: 80.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008567/0.6258, allocations: 321.1 kB / 0.5409 GB, free: 80.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.6258, allocations: 73.55 kB / 0.541 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.6259, allocations: 1.594 kB / 0.541 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.6259, allocations: 1.531 kB / 0.541 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.6261, allocations: 24.59 kB / 0.541 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.6261, allocations: 2.375 kB / 0.541 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.6264, allocations: 30.62 kB / 0.5411 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.6264, allocations: 8.062 kB / 0.5411 GB, free: 80.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.000343/0.6268, allocations: 228.4 kB / 0.5413 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.6269, allocations: 58.47 kB / 0.5413 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/0.6275, allocations: 198.8 kB / 0.5415 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.6276, allocations: 2.844 kB / 0.5415 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6276, allocations: 4.703 kB / 0.5415 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.6276, allocations: 5.016 kB / 0.5415 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.6281, allocations: 376.8 kB / 0.5419 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6281, allocations: 0 / 0.5419 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.312e-05/0.6282, allocations: 13.05 kB / 0.5419 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6282, allocations: 1.875 kB / 0.5419 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.6282, allocations: 13.78 kB / 0.5419 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6282, allocations: 0 / 0.5419 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6282, allocations: 1.781 kB / 0.5419 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.6288, allocations: 238.5 kB / 0.5422 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.6292, allocations: 197.4 kB / 0.5423 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.6293, allocations: 10.31 kB / 0.5424 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.6294, allocations: 10.88 kB / 0.5424 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.6295, allocations: 15.55 kB / 0.5424 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.6295, allocations: 4.125 kB / 0.5424 GB, free: 79.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.6309, allocations: 0.7397 MB / 0.5431 GB, free: 79.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6309, allocations: 0 / 0.5431 GB, free: 79.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005777/0.6315, allocations: 103.3 kB / 0.5432 GB, free: 79.4 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002306/0.6338, allocations: 1.308 MB / 0.5445 GB, free: 78.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006302/0.6345, allocations: 295.8 kB / 0.5448 GB, free: 78.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6345, allocations: 1.375 kB / 0.5448 GB, free: 78.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.6347, allocations: 50.7 kB / 0.5448 GB, free: 78.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.6353, allocations: 61.44 kB / 0.5449 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.6382, allocations: 1.953 MB / 0.5468 GB, free: 76.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.6386, allocations: 0.8504 MB / 0.5476 GB, free: 75.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.6389, allocations: 89.67 kB / 0.5477 GB, free: 75.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.6393, allocations: 157.4 kB / 0.5478 GB, free: 75.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6393, allocations: 0 / 0.5478 GB, free: 75.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.6785, allocations: 9.315 MB / 0.5569 GB, free: 68.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.6788, allocations: 213.8 kB / 0.5571 GB, free: 68.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.316, allocations: 0 / 0.5571 GB, free: 68.58 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat