Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test31",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.02247/0.02247, allocations: 174.3 kB / 15.12 MB, free: 6 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.92/1.92, allocations: 194.5 MB / 210.3 MB, free: 11.39 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.00273/0.002729, allocations: 116.6 kB / 255.6 MB, free: 14.52 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.4597/0.4597, allocations: 40 MB / 340.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004698, allocations: 12 kB / 406.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3551, allocations: 54.87 MB / 461.2 MB, free: 24.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4989, allocations: 82.11 MB / 0.5305 GB, free: 9.039 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4993, allocations: 75.95 kB / 0.5306 GB, free: 8.965 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.02085/0.5201, allocations: 4.487 MB / 0.535 GB, free: 4.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5202, allocations: 4 kB / 0.535 GB, free: 4.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.5202, allocations: 0 / 0.535 GB, free: 4.469 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.0007254/0.5209, allocations: 474.2 kB / 0.5354 GB, free: 3.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.521, allocations: 8.031 kB / 0.5355 GB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.5211, allocations: 38.56 kB / 0.5355 GB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.5211, allocations: 11.89 kB / 0.5355 GB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.5215, allocations: 202.8 kB / 0.5357 GB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.5215, allocations: 4 kB / 0.5357 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.5216, allocations: 11.98 kB / 0.5357 GB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.5218, allocations: 53.67 kB / 0.5358 GB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5218, allocations: 0 / 0.5358 GB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.5218, allocations: 15.89 kB / 0.5358 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5219, allocations: 0 / 0.5358 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.522, allocations: 19.98 kB / 0.5358 GB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.5225, allocations: 304.9 kB / 0.5361 GB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.5228, allocations: 62.61 kB / 0.5362 GB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.5228, allocations: 4 kB / 0.5362 GB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.5231, allocations: 84.08 kB / 0.5362 GB, free: 3.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.5231, allocations: 0 / 0.5362 GB, free: 3.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008356/0.5239, allocations: 185.2 kB / 0.5364 GB, free: 2.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.524, allocations: 55.41 kB / 0.5365 GB, free: 2.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.5243, allocations: 169.2 kB / 0.5366 GB, free: 2.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.5243, allocations: 25.7 kB / 0.5366 GB, free: 2.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.5244, allocations: 104.1 kB / 0.5367 GB, free: 2.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.5245, allocations: 23.66 kB / 0.5368 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.5245, allocations: 7.938 kB / 0.5368 GB, free: 2.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5247, allocations: 322.8 kB / 0.5371 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.5249, allocations: 35.97 kB / 0.5371 GB, free: 2.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.5251, allocations: 53.7 kB / 0.5372 GB, free: 2.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.5254, allocations: 74.81 kB / 0.5372 GB, free: 1.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5254, allocations: 4 kB / 0.5372 GB, free: 1.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006623/0.5261, allocations: 187.1 kB / 0.5374 GB, free: 1.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.5262, allocations: 37.7 kB / 0.5375 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.5262, allocations: 0 / 0.5375 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5262, allocations: 0 / 0.5375 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.5264, allocations: 15.98 kB / 0.5375 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5264, allocations: 4 kB / 0.5375 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.5266, allocations: 4 kB / 0.5375 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.5266, allocations: 7.984 kB / 0.5375 GB, free: 1.652 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.000198/0.5268, allocations: 137.8 kB / 0.5376 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.5269, allocations: 15.77 kB / 0.5376 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.5274, allocations: 118.3 kB / 0.5378 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5275, allocations: 0 / 0.5378 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5275, allocations: 4 kB / 0.5378 GB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5275, allocations: 3.938 kB / 0.5378 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/0.5284, allocations: 415.3 kB / 0.5382 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5285, allocations: 0 / 0.5382 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.5286, allocations: 8 kB / 0.5382 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.5286, allocations: 4 kB / 0.5382 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.5287, allocations: 3.984 kB / 0.5382 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5287, allocations: 0 / 0.5382 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.5287, allocations: 4 kB / 0.5382 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.5292, allocations: 225.9 kB / 0.5384 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5294, allocations: 100.9 kB / 0.5385 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.5294, allocations: 0 / 0.5385 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.5296, allocations: 11.98 kB / 0.5385 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.5297, allocations: 4 kB / 0.5385 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.5297, allocations: 384 / 0.5385 GB, free: 500 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002344/0.53, allocations: 139.2 kB / 0.5386 GB, free: 360 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.53, allocations: 4 kB / 0.5386 GB, free: 356 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006102/0.5306, allocations: 47.92 kB / 0.5387 GB, free: 308 kB / 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.002563/0.5332, allocations: 1.16 MB / 0.5398 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.5338, allocations: 171.3 kB / 0.54 GB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5338, allocations: 0 / 0.54 GB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.534, allocations: 35.92 kB / 0.54 GB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.5345, allocations: 19.98 kB / 0.54 GB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.5359, allocations: 0.6325 MB / 0.5407 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.5363, allocations: 0.7121 MB / 0.5413 GB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.5365, allocations: 20.34 kB / 0.5414 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.5366, allocations: 35.42 kB / 0.5414 GB, free: 13.46 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5366, allocations: 0 / 0.5414 GB, free: 13.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07191/0.6086, allocations: 2.976 MB / 0.5443 GB, free: 10.51 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.6089, allocations: 226.8 kB / 0.5445 GB, free: 10.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.933, allocations: 4 kB / 0.5445 GB, free: 10.26 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat