Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test18",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.01044/0.01044, allocations: 176.4 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.039/2.039, 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.002027/0.002027, allocations: 116.6 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.3155/0.3155, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006553, allocations: 18.31 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1102, allocations: 54.88 MB / 461.2 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.2711, allocations: 82.16 MB / 0.5306 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.2715, allocations: 75.97 kB / 0.5306 GB, free: 0.8633 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.3374/0.6089, allocations: 4.529 MB / 0.5351 GB, free: 83.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6089, allocations: 1.156 kB / 0.5351 GB, free: 83.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.609, allocations: 4.875 kB / 0.5351 GB, free: 83.05 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.0006053/0.6096, allocations: 471 kB / 0.5355 GB, free: 82.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.6096, allocations: 8.062 kB / 0.5355 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.6097, allocations: 36.11 kB / 0.5356 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.6098, allocations: 13.44 kB / 0.5356 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.6101, allocations: 203 kB / 0.5358 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6101, allocations: 2.156 kB / 0.5358 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.6101, allocations: 5.734 kB / 0.5358 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6103, allocations: 60.72 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6104, allocations: 0 / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6104, allocations: 5.031 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6104, allocations: 1.562 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.6105, allocations: 27.02 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.611, allocations: 310.9 kB / 0.5362 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.6113, allocations: 60.36 kB / 0.5362 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.6113, allocations: 3.5 kB / 0.5362 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.6116, allocations: 78.53 kB / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.6116, allocations: 0 / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008167/0.6124, allocations: 186.2 kB / 0.5365 GB, free: 81.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.6124, allocations: 53.28 kB / 0.5365 GB, free: 81.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.6127, allocations: 156.1 kB / 0.5367 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.6127, allocations: 31.23 kB / 0.5367 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.6128, allocations: 96.59 kB / 0.5368 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.6128, allocations: 23.89 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.6128, allocations: 5.344 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.6129, allocations: 325.1 kB / 0.5371 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.6131, allocations: 36.38 kB / 0.5372 GB, free: 81.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.6132, allocations: 55.7 kB / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.6134, allocations: 74.61 kB / 0.5373 GB, free: 81.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6134, allocations: 0 / 0.5373 GB, free: 81.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004444/0.6139, allocations: 178.2 kB / 0.5375 GB, free: 81.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.6139, allocations: 38.86 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.614, allocations: 1.312 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.614, allocations: 9.75 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.6142, allocations: 14.8 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.6142, allocations: 1.25 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6143, allocations: 8.297 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.6143, allocations: 6.469 kB / 0.5375 GB, free: 81.11 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.0001174/0.6144, allocations: 124.1 kB / 0.5377 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.6145, allocations: 20.41 kB / 0.5377 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.6149, allocations: 121 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6149, allocations: 1.5 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6149, allocations: 0 / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6149, allocations: 1.078 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.6156, allocations: 404.9 kB / 0.5382 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6156, allocations: 5.375 kB / 0.5382 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.6157, allocations: 18.7 kB / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6157, allocations: 1.281 kB / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.6157, allocations: 9.922 kB / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.6157, allocations: 1.781 kB / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6158, allocations: 0 / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.6161, allocations: 222.8 kB / 0.5384 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.6162, allocations: 102.6 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.6163, allocations: 3.859 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.6164, allocations: 6.875 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.6164, allocations: 5.688 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.6165, allocations: 4.984 kB / 0.5386 GB, free: 80.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.6166, allocations: 126.6 kB / 0.5387 GB, free: 80.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6166, allocations: 0 / 0.5387 GB, free: 80.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004098/0.6171, allocations: 43.27 kB / 0.5387 GB, free: 80.25 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.001671/0.6187, allocations: 1.155 MB / 0.5398 GB, free: 79.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.6192, allocations: 173.2 kB / 0.54 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6192, allocations: 4.062 kB / 0.54 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.6194, allocations: 33.98 kB / 0.54 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.6198, allocations: 16.41 kB / 0.5401 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.6207, allocations: 0.6102 MB / 0.5407 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.6209, allocations: 0.7105 MB / 0.5414 GB, free: 77.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.995e-05/0.621, allocations: 19.73 kB / 0.5414 GB, free: 77.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.6211, allocations: 29.7 kB / 0.5414 GB, free: 77.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6212, allocations: 3.938 kB / 0.5414 GB, free: 77.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.6513, allocations: 2.902 MB / 0.5442 GB, free: 77.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.6516, allocations: 220.9 kB / 0.5444 GB, free: 77.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.147, allocations: 3.938 kB / 0.5444 GB, free: 77.04 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat