Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test33",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.01028/0.01028, allocations: 165.6 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.703/1.703, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001952/0.001952, allocations: 111.4 kB / 226.2 MB, free: 10.1 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.4732/0.4732, allocations: 38.06 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006296, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1154, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5494, allocations: 75.86 MB / 487.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.5497, allocations: 70.27 kB / 487.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.5651, allocations: 4.033 MB / 491.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5652, allocations: 0 / 491.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.5652, allocations: 0 / 491.7 MB, free: 8.398 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.5657, allocations: 429.6 kB / 492.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5658, allocations: 12.03 kB / 492.1 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.5658, allocations: 34.55 kB / 492.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.5659, allocations: 7.906 kB / 492.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.5661, allocations: 204.3 kB / 492.3 MB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.5661, allocations: 8 kB / 492.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.5662, allocations: 0 / 492.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.5663, allocations: 45.55 kB / 492.4 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5663, allocations: 4 kB / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5663, allocations: 1.031 kB / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5663, allocations: 0 / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.5664, allocations: 11.75 kB / 492.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.5668, allocations: 291.1 kB / 492.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.567, allocations: 49.94 kB / 492.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.5671, allocations: 0 / 492.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.5672, allocations: 66.62 kB / 492.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.5672, allocations: 0.5625 kB / 492.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004796/0.5677, allocations: 126.2 kB / 492.9 MB, free: 7.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.5678, allocations: 51.41 kB / 493 MB, free: 6.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.568, allocations: 166.5 kB / 493.1 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.568, allocations: 32.7 kB / 493.2 MB, free: 6.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.568, allocations: 94.52 kB / 493.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.5681, allocations: 18.8 kB / 493.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.5681, allocations: 0 / 493.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.5682, allocations: 318.7 kB / 493.6 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.5682, allocations: 26.11 kB / 493.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.28e-05/0.5683, allocations: 27.42 kB / 493.6 MB, free: 6.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.708e-05/0.5684, allocations: 52.02 kB / 493.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5684, allocations: 0 / 493.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002453/0.5687, allocations: 131.8 kB / 493.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.5687, allocations: 29.7 kB / 493.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5687, allocations: 0 / 493.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5688, allocations: 0 / 493.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.5689, allocations: 15.92 kB / 493.9 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5689, allocations: 8.109 kB / 493.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.569, allocations: 3.375 kB / 493.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.569, allocations: 7.984 kB / 493.9 MB, free: 6.09 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.418e-05/0.5691, allocations: 126.5 kB / 494 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.5691, allocations: 7.906 kB / 494 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.5695, allocations: 88.61 kB / 494.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5695, allocations: 7.938 kB / 494.1 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5695, allocations: 0 / 494.1 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5695, allocations: 3.953 kB / 494.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.5699, allocations: 351.9 kB / 494.5 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5699, allocations: 4 kB / 494.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.57, allocations: 15.86 kB / 494.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.57, allocations: 0 / 494.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.57, allocations: 0 / 494.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.5701, allocations: 7.953 kB / 494.5 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5701, allocations: 0 / 494.5 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.5703, allocations: 175.3 kB / 494.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.5703, allocations: 89 kB / 494.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.5704, allocations: 0 / 494.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.5705, allocations: 10.81 kB / 494.8 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.5705, allocations: 7.938 kB / 494.8 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.5705, allocations: 4.094 kB / 494.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.5707, allocations: 136.5 kB / 494.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5707, allocations: 0 / 494.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.5711, allocations: 35.98 kB / 494.9 MB, free: 5.023 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.001196/0.5723, allocations: 0.9651 MB / 495.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.5725, allocations: 110.1 kB / 496 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5725, allocations: 3.938 kB / 496 MB, free: 4.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.5726, allocations: 23.05 kB / 496 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.5729, allocations: 27.44 kB / 496.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.5736, allocations: 429.1 kB / 496.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.5738, allocations: 0.7076 MB / 497.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.5739, allocations: 12.14 kB / 497.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.574, allocations: 21.5 kB / 497.2 MB, free: 2.789 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.574, allocations: 4 kB / 497.2 MB, free: 2.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.5988, allocations: 2.634 MB / 499.9 MB, free: 196 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/0.5991, allocations: 213.9 kB / 0.4883 GB, free: 15.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.162, allocations: 0 / 0.4883 GB, free: 15.95 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat