Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test59",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.01528/0.01528, allocations: 175.9 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.978/1.978, 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.002017/0.002017, allocations: 124.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.345/0.345, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004889, allocations: 13.5 kB / 406.3 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 54.87 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.2545, allocations: 82.37 MB / 0.5308 GB, free: 0.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.2548, allocations: 75.95 kB / 0.5308 GB, free: 0.6328 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.3613/0.6161, allocations: 5.167 MB / 0.5359 GB, free: 82.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6161, allocations: 1.312 kB / 0.5359 GB, free: 82.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.6161, allocations: 4.75 kB / 0.5359 GB, free: 82.77 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.0006036/0.6168, allocations: 470.9 kB / 0.5363 GB, free: 82.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6168, allocations: 9.5 kB / 0.5364 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.6169, allocations: 33.62 kB / 0.5364 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.6169, allocations: 9.625 kB / 0.5364 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.6172, allocations: 202 kB / 0.5366 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6173, allocations: 2.328 kB / 0.5366 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.6173, allocations: 11.22 kB / 0.5366 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.6175, allocations: 72.2 kB / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6176, allocations: 0 / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.6176, allocations: 4.984 kB / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.6176, allocations: 2.156 kB / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.6177, allocations: 21.28 kB / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.6181, allocations: 297.1 kB / 0.537 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.6184, allocations: 63.05 kB / 0.537 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.6184, allocations: 4.438 kB / 0.537 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.6186, allocations: 73.72 kB / 0.5371 GB, free: 81.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.005e-06/0.6187, allocations: 0 / 0.5371 GB, free: 81.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000808/0.6195, allocations: 177.9 kB / 0.5373 GB, free: 81.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.6195, allocations: 77.72 kB / 0.5374 GB, free: 81.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.6197, allocations: 147.9 kB / 0.5375 GB, free: 81.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.6197, allocations: 30.83 kB / 0.5375 GB, free: 81.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.6198, allocations: 91.39 kB / 0.5376 GB, free: 81.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.6198, allocations: 29.2 kB / 0.5376 GB, free: 81.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.6199, allocations: 1.656 kB / 0.5376 GB, free: 81.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.6199, allocations: 320.7 kB / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.6201, allocations: 30.14 kB / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.6202, allocations: 57.83 kB / 0.538 GB, free: 80.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.6204, allocations: 72.41 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6204, allocations: 0.9844 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003894/0.6208, allocations: 165.7 kB / 0.5383 GB, free: 80.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.6209, allocations: 35.28 kB / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.6209, allocations: 0 / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6209, allocations: 1.312 kB / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.6211, allocations: 16.09 kB / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.6211, allocations: 6.422 kB / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.6212, allocations: 3.438 kB / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.6212, allocations: 9.062 kB / 0.5383 GB, free: 80.79 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.0001044/0.6213, allocations: 127.8 kB / 0.5385 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.6214, allocations: 16.5 kB / 0.5385 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.6218, allocations: 121.9 kB / 0.5386 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6218, allocations: 0.7031 kB / 0.5386 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6218, allocations: 1.5 kB / 0.5386 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6218, allocations: 4.562 kB / 0.5386 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.6224, allocations: 412.5 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6224, allocations: 1 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.6225, allocations: 10.66 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.6225, allocations: 0.5625 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.6226, allocations: 3.328 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6226, allocations: 1.312 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6226, allocations: 4.031 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.6229, allocations: 225 kB / 0.5392 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.623, allocations: 94.81 kB / 0.5393 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.6231, allocations: 2.156 kB / 0.5393 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.6232, allocations: 7.938 kB / 0.5393 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.6233, allocations: 9.031 kB / 0.5393 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.6233, allocations: 4.75 kB / 0.5393 GB, free: 80.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.6234, allocations: 117.3 kB / 0.5394 GB, free: 79.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6234, allocations: 0 / 0.5394 GB, free: 79.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000447/0.6239, allocations: 49.39 kB / 0.5395 GB, free: 79.93 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.002019/0.6259, allocations: 1.245 MB / 0.5407 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.6264, allocations: 153.9 kB / 0.5409 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6264, allocations: 0 / 0.5409 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.6266, allocations: 33.25 kB / 0.5409 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.627, allocations: 26.09 kB / 0.5409 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.6279, allocations: 0.592 MB / 0.5415 GB, free: 78.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.6281, allocations: 0.707 MB / 0.5422 GB, free: 77.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.6283, allocations: 16.17 kB / 0.5422 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.6284, allocations: 30.5 kB / 0.5422 GB, free: 77.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6284, allocations: 0 / 0.5422 GB, free: 77.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.6605, allocations: 3.103 MB / 0.5453 GB, free: 76.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.6608, allocations: 209.1 kB / 0.5455 GB, free: 76.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.171, allocations: 0 / 0.5455 GB, free: 76.34 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat