Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01007/0.01007, allocations: 165.4 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.668/1.668, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002021/0.002021, allocations: 103.5 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4848/0.4848, allocations: 38.04 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1028, allocations: 48.7 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3965/0.4993, allocations: 75.87 MB / 487.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4997, allocations: 71.59 kB / 487.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.5159, allocations: 4.034 MB / 491.7 MB, free: 8.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.516, allocations: 4 kB / 491.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.516, allocations: 0 / 491.7 MB, free: 8.426 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005193/0.5165, allocations: 438.9 kB / 492.1 MB, free: 7.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5166, allocations: 8.031 kB / 492.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.5166, allocations: 30.56 kB / 492.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.5167, allocations: 11.16 kB / 492.1 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.5169, allocations: 198 kB / 492.3 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5169, allocations: 7.984 kB / 492.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.517, allocations: 4 kB / 492.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.5171, allocations: 41.44 kB / 492.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5171, allocations: 0 / 492.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5171, allocations: 1.031 kB / 492.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5172, allocations: 0 / 492.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.408e-05/0.5172, allocations: 19.8 kB / 492.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.5176, allocations: 299.9 kB / 492.7 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.5179, allocations: 42.38 kB / 492.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.5179, allocations: 0 / 492.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.518, allocations: 71.08 kB / 492.8 MB, free: 7.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.5181, allocations: 0 / 492.8 MB, free: 7.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004928/0.5186, allocations: 112.4 kB / 492.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5186, allocations: 55.34 kB / 493 MB, free: 6.996 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.5188, allocations: 171.2 kB / 493.1 MB, free: 6.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.5188, allocations: 30.67 kB / 493.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.5189, allocations: 99.69 kB / 493.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.5189, allocations: 11.19 kB / 493.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.5189, allocations: 0 / 493.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.519, allocations: 322.1 kB / 493.6 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.5191, allocations: 24.36 kB / 493.6 MB, free: 6.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.5192, allocations: 22.3 kB / 493.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.5193, allocations: 57.67 kB / 493.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5193, allocations: 4 kB / 493.7 MB, free: 6.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000247/0.5195, allocations: 132.2 kB / 493.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.5196, allocations: 33.7 kB / 493.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5196, allocations: 0 / 493.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5196, allocations: 0 / 493.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.5197, allocations: 8 kB / 493.9 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5197, allocations: 3.953 kB / 493.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.5198, allocations: 11.36 kB / 493.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.5198, allocations: 4 kB / 493.9 MB, free: 6.117 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 9.498e-05/0.5199, allocations: 122.8 kB / 494 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.52, allocations: 7.906 kB / 494 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.5202, allocations: 99.14 kB / 494.1 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5202, allocations: 0 / 494.1 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5202, allocations: 0 / 494.1 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.5e-05/0.5203, allocations: 3.953 kB / 494.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.5207, allocations: 358.9 kB / 494.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5207, allocations: 0 / 494.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.5208, allocations: 8 kB / 494.5 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5208, allocations: 4 kB / 494.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5208, allocations: 4.5 kB / 494.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5208, allocations: 7.938 kB / 494.5 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5208, allocations: 0 / 494.5 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.521, allocations: 169.8 kB / 494.7 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.5211, allocations: 88.83 kB / 494.7 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.5211, allocations: 7.984 kB / 494.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.5212, allocations: 4 kB / 494.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.5213, allocations: 7.953 kB / 494.8 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.5213, allocations: 7.625 kB / 494.8 MB, free: 5.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.5214, allocations: 133.5 kB / 494.9 MB, free: 5.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5214, allocations: 0 / 494.9 MB, free: 5.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.5218, allocations: 35.81 kB / 494.9 MB, free: 5.055 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001221/0.523, allocations: 0.9628 MB / 495.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.5233, allocations: 117.2 kB / 496 MB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5233, allocations: 0 / 496 MB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.5233, allocations: 15.81 kB / 496 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.5237, allocations: 19.22 kB / 496 MB, free: 4.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.5245, allocations: 448.9 kB / 496.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.5246, allocations: 0.7037 MB / 497.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.5247, allocations: 11.98 kB / 497.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.5248, allocations: 29.8 kB / 497.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5248, allocations: 0 / 497.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.5561, allocations: 2.632 MB / 499.9 MB, free: 216 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003873/0.5566, allocations: 210.1 kB / 0.4883 GB, free: 15.97 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/2.998, allocations: 4 kB / 0.4884 GB, free: 15.97 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat