Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test56",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: 178 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.08/2.08, allocations: 194.5 MB / 210.3 MB, free: 7.805 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.001994/0.001994, allocations: 108.7 kB / 255.6 MB, free: 10.44 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.2428/0.2428, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004677, allocations: 12.06 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1237, allocations: 54.87 MB / 461.2 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.2793, allocations: 82.36 MB / 0.5308 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.2797, allocations: 71.95 kB / 0.5308 GB, free: 0.6836 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.3263/0.606, allocations: 5.168 MB / 0.5359 GB, free: 82.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.606, allocations: 0 / 0.5359 GB, free: 82.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.606, allocations: 5.219 kB / 0.5359 GB, free: 82.76 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.0007642/0.6068, allocations: 467 kB / 0.5363 GB, free: 82.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.6069, allocations: 9.344 kB / 0.5364 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.607, allocations: 35.22 kB / 0.5364 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.607, allocations: 9.031 kB / 0.5364 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.6074, allocations: 204.2 kB / 0.5366 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.6075, allocations: 4.812 kB / 0.5366 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.6075, allocations: 11.86 kB / 0.5366 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.6078, allocations: 70.78 kB / 0.5367 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.6078, allocations: 0 / 0.5367 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.6079, allocations: 6.375 kB / 0.5367 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.6079, allocations: 0 / 0.5367 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.6081, allocations: 22.95 kB / 0.5367 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.6086, allocations: 296.4 kB / 0.537 GB, free: 81.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.609, allocations: 66.27 kB / 0.537 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.609, allocations: 0 / 0.537 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.6093, allocations: 70.7 kB / 0.5371 GB, free: 81.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.454e-06/0.6093, allocations: 3.938 kB / 0.5371 GB, free: 81.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001039/0.6103, allocations: 174.7 kB / 0.5373 GB, free: 81.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.6104, allocations: 82.19 kB / 0.5374 GB, free: 81.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.6107, allocations: 141.7 kB / 0.5375 GB, free: 81.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.6107, allocations: 31.33 kB / 0.5375 GB, free: 81.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.6108, allocations: 89.84 kB / 0.5376 GB, free: 81.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.6108, allocations: 30.31 kB / 0.5376 GB, free: 81.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.6109, allocations: 1.031 kB / 0.5376 GB, free: 81.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.611, allocations: 320.4 kB / 0.5379 GB, free: 80.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.6111, allocations: 39.92 kB / 0.538 GB, free: 80.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.6113, allocations: 56.72 kB / 0.538 GB, free: 80.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.6116, allocations: 71.2 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6116, allocations: 0 / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005375/0.6121, allocations: 166.8 kB / 0.5383 GB, free: 80.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.6122, allocations: 35.02 kB / 0.5383 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6122, allocations: 0 / 0.5383 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6123, allocations: 5.781 kB / 0.5383 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.6125, allocations: 18.64 kB / 0.5383 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6125, allocations: 1.672 kB / 0.5383 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.6126, allocations: 4.281 kB / 0.5383 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.6127, allocations: 6.172 kB / 0.5383 GB, free: 80.77 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.0001467/0.6129, allocations: 127.4 kB / 0.5385 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.6129, allocations: 13.17 kB / 0.5385 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.6134, allocations: 119 kB / 0.5386 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6134, allocations: 5.438 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6135, allocations: 0.5625 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6135, allocations: 1.875 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/0.6143, allocations: 411.1 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6143, allocations: 1.359 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.6144, allocations: 9.969 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6145, allocations: 1.062 kB / 0.539 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.6145, allocations: 11.33 kB / 0.539 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6145, allocations: 1.188 kB / 0.539 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6145, allocations: 0 / 0.539 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.615, allocations: 224.3 kB / 0.5392 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.6151, allocations: 94.33 kB / 0.5393 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.6152, allocations: 2.531 kB / 0.5393 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.6154, allocations: 10.8 kB / 0.5393 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.6155, allocations: 8.281 kB / 0.5393 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.6155, allocations: 3.188 kB / 0.5393 GB, free: 80.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.6157, allocations: 118.4 kB / 0.5394 GB, free: 79.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6157, allocations: 3.938 kB / 0.5394 GB, free: 79.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007234/0.6165, allocations: 46.89 kB / 0.5395 GB, free: 79.92 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.002818/0.6193, allocations: 1.249 MB / 0.5407 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.6199, allocations: 153.2 kB / 0.5409 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.62, allocations: 0 / 0.5409 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.6201, allocations: 32.34 kB / 0.5409 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.6207, allocations: 24.84 kB / 0.5409 GB, free: 78.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.622, allocations: 0.5992 MB / 0.5415 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.6222, allocations: 0.6981 MB / 0.5422 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.6224, allocations: 13.33 kB / 0.5422 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.6225, allocations: 29.17 kB / 0.5422 GB, free: 77.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6225, allocations: 0 / 0.5422 GB, free: 77.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.7229, allocations: 3.111 MB / 0.5453 GB, free: 76.55 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/0.7232, allocations: 213.1 kB / 0.5455 GB, free: 76.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.218, allocations: 0 / 0.5455 GB, free: 76.32 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat