Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test43",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.0104/0.0104, allocations: 165 kB / 15.11 MB, free: 5.93 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.665/1.665, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001958/0.001958, allocations: 110.5 kB / 226.2 MB, free: 10.09 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.431/0.431, allocations: 38.06 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006558, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1031, allocations: 48.72 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.5762, allocations: 75.86 MB / 487.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.5765, allocations: 71.72 kB / 487.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01605/0.5926, allocations: 4.1 MB / 491.7 MB, free: 8.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5926, allocations: 4 kB / 491.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.5926, allocations: 0 / 491.7 MB, free: 8.348 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.0004766/0.5931, allocations: 435.2 kB / 492.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5932, allocations: 12.03 kB / 492.2 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.5932, allocations: 30.56 kB / 492.2 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.5933, allocations: 7.906 kB / 492.2 MB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.5935, allocations: 202.5 kB / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5936, allocations: 3.875 kB / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.5936, allocations: 4 kB / 492.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.5937, allocations: 53.05 kB / 492.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5937, allocations: 0 / 492.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5938, allocations: 0 / 492.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5938, allocations: 0 / 492.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.5938, allocations: 20.88 kB / 492.5 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.5942, allocations: 299.7 kB / 492.8 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.5945, allocations: 50.31 kB / 492.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.5945, allocations: 0 / 492.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.5946, allocations: 51.44 kB / 492.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.5946, allocations: 0 / 492.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004728/0.5951, allocations: 125.2 kB / 493 MB, free: 6.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.5952, allocations: 51.41 kB / 493.1 MB, free: 6.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.5954, allocations: 184 kB / 493.2 MB, free: 6.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5954, allocations: 29.7 kB / 493.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.5955, allocations: 103.7 kB / 493.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.5955, allocations: 15.8 kB / 493.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5955, allocations: 0 / 493.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.5956, allocations: 322.6 kB / 493.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.5957, allocations: 19.55 kB / 493.7 MB, free: 6.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.5957, allocations: 23.86 kB / 493.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.593e-05/0.5958, allocations: 53.08 kB / 493.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5958, allocations: 0 / 493.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002345/0.5961, allocations: 130.5 kB / 493.9 MB, free: 6.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.5961, allocations: 37.7 kB / 494 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5961, allocations: 0 / 494 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5962, allocations: 0 / 494 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.5962, allocations: 15.92 kB / 494 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5963, allocations: 0 / 494 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.5963, allocations: 4.062 kB / 494 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.5964, allocations: 15.89 kB / 494 MB, free: 6.016 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 8.683e-05/0.5965, allocations: 122.8 kB / 494.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.5965, allocations: 11.81 kB / 494.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.5967, allocations: 93.17 kB / 494.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5967, allocations: 0 / 494.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5968, allocations: 0 / 494.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5968, allocations: 0 / 494.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.5972, allocations: 365.5 kB / 494.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.5972, allocations: 0 / 494.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.5972, allocations: 8 kB / 494.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5972, allocations: 0 / 494.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5973, allocations: 4 kB / 494.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5973, allocations: 0 / 494.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5973, allocations: 4 kB / 494.6 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.5975, allocations: 182.5 kB / 494.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.5976, allocations: 88.95 kB / 494.8 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.5976, allocations: 3.812 kB / 494.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.5977, allocations: 7.984 kB / 494.9 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.5978, allocations: 0 / 494.9 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5978, allocations: 11.94 kB / 494.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.5979, allocations: 143.3 kB / 495 MB, free: 4.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5979, allocations: 0 / 495 MB, free: 4.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.5983, allocations: 31.94 kB / 495 MB, free: 4.941 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.001187/0.5995, allocations: 0.9847 MB / 496 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.5997, allocations: 106.8 kB / 496.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5997, allocations: 0 / 496.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/0.5998, allocations: 23.75 kB / 496.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.6001, allocations: 11.98 kB / 496.2 MB, free: 3.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007387/0.6009, allocations: 463.8 kB / 496.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.6011, allocations: 0.7043 MB / 497.3 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.735e-05/0.6011, allocations: 15.94 kB / 497.3 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.6012, allocations: 26.73 kB / 497.4 MB, free: 2.676 MB / 330.7 MB Notification: Performance of SimCode: time 1.332e-06/0.6012, allocations: 4 kB / 497.4 MB, free: 2.672 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.6229, allocations: 2.7 MB / 0.4883 GB, free: 12 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000564/0.6235, allocations: 217.8 kB / 0.4886 GB, free: 15.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.19, allocations: 0 / 0.4886 GB, free: 15.77 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat