Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test50",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.011/0.011, allocations: 165.9 kB / 15.11 MB, free: 5.98 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.661/1.661, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.002037/0.002036, 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.4469/0.4469, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004692, allocations: 12 kB / 363 MB, free: 5.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.107, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.5088, allocations: 76.1 MB / 487.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5092, allocations: 68.28 kB / 487.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01981/0.529, allocations: 5.233 MB / 493.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.529, allocations: 0 / 493.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.5291, allocations: 0 / 493.1 MB, free: 7.496 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004904/0.5296, allocations: 435.2 kB / 493.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5296, allocations: 8.031 kB / 493.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.5297, allocations: 34.56 kB / 493.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.5297, allocations: 15.11 kB / 493.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.5299, allocations: 194.5 kB / 493.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.53, allocations: 0 / 493.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.53, allocations: 7.938 kB / 493.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.5302, allocations: 66.75 kB / 493.8 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5302, allocations: 7.984 kB / 493.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5302, allocations: 4 kB / 493.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.5302, allocations: 1.031 kB / 493.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.5303, allocations: 24.73 kB / 493.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.5307, allocations: 299.4 kB / 494.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.5309, allocations: 53.86 kB / 494.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.5309, allocations: 0 / 494.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.5311, allocations: 71.11 kB / 494.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.5311, allocations: 8.5 kB / 494.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005444/0.5316, allocations: 136.3 kB / 494.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.5317, allocations: 85 kB / 494.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.5318, allocations: 140.6 kB / 494.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.5319, allocations: 29.52 kB / 494.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.5319, allocations: 92 kB / 494.8 MB, free: 5.711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.532, allocations: 22.44 kB / 494.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.532, allocations: 0 / 494.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.5321, allocations: 322.7 kB / 495.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.5321, allocations: 23.86 kB / 495.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.5322, allocations: 41.2 kB / 495.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.524e-05/0.5323, allocations: 57.12 kB / 495.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5323, allocations: 0 / 495.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002598/0.5326, allocations: 138.2 kB / 495.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.5327, allocations: 43.28 kB / 495.4 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5327, allocations: 0 / 495.4 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5327, allocations: 0 / 495.4 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.5328, allocations: 12 kB / 495.4 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5328, allocations: 0 / 495.4 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.5329, allocations: 15.88 kB / 495.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.5329, allocations: 0 / 495.4 MB, free: 5.078 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 (8): * Single equations (assignments): 7 * 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.11e-05/0.533, allocations: 118.8 kB / 495.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.5331, allocations: 9.406 kB / 495.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.5334, allocations: 121.9 kB / 495.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5334, allocations: 0 / 495.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5334, allocations: 0 / 495.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5334, allocations: 0 / 495.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.5339, allocations: 384.3 kB / 496 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5339, allocations: 0 / 496 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.534, allocations: 12 kB / 496.1 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.534, allocations: 3.984 kB / 496.1 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.534, allocations: 7.812 kB / 496.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.534, allocations: 0 / 496.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.534, allocations: 3.953 kB / 496.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.5343, allocations: 186.6 kB / 496.3 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.5343, allocations: 88.95 kB / 496.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.5344, allocations: 3.938 kB / 496.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.5345, allocations: 11.92 kB / 496.4 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.5345, allocations: 8.047 kB / 496.4 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.5346, allocations: 8.375 kB / 496.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.5347, allocations: 114.8 kB / 496.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5347, allocations: 0 / 496.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003914/0.5351, allocations: 51.8 kB / 496.5 MB, free: 3.965 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 (8): * Single equations (assignments): 7 * 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.001496/0.5366, allocations: 1.058 MB / 497.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.5369, allocations: 128.6 kB / 497.7 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5369, allocations: 3.938 kB / 497.7 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.537, allocations: 19.88 kB / 497.7 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5373, allocations: 15.55 kB / 497.8 MB, free: 2.84 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.5399, allocations: 1.15 MB / 498.9 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.5401, allocations: 0.6965 MB / 499.6 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.104e-05/0.5402, allocations: 16.97 kB / 499.6 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.5403, allocations: 29.61 kB / 499.7 MB, free: 1.258 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5403, allocations: 4 kB / 499.7 MB, free: 1.254 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08901/0.6293, allocations: 3.028 MB / 0.4909 GB, free: 14.27 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/0.6297, allocations: 222.6 kB / 0.4911 GB, free: 14.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.049, allocations: 0 / 0.4911 GB, free: 14.02 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat