Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test48",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.009853/0.009853, allocations: 165 kB / 15.11 MB, free: 5.973 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.774/1.774, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001936/0.001937, allocations: 103.3 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.438/0.438, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005036, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 48.7 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5069, allocations: 75.87 MB / 487.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5072, allocations: 76.52 kB / 487.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.5232, allocations: 4.344 MB / 492 MB, free: 8.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5232, allocations: 0 / 492 MB, free: 8.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5232, allocations: 0 / 492 MB, free: 8.102 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.0004965/0.5238, allocations: 466.6 kB / 492.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.5238, allocations: 8.031 kB / 492.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.5238, allocations: 30.56 kB / 492.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.5239, allocations: 11.91 kB / 492.5 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.5242, allocations: 217.9 kB / 492.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5242, allocations: 0 / 492.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.5242, allocations: 4 kB / 492.7 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.5244, allocations: 41.5 kB / 492.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5244, allocations: 0 / 492.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.5244, allocations: 8 kB / 492.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5244, allocations: 0 / 492.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/0.5245, allocations: 16.89 kB / 492.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.5249, allocations: 312.1 kB / 493.1 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.5251, allocations: 46.31 kB / 493.1 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.5252, allocations: 0 / 493.1 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.5253, allocations: 55.25 kB / 493.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.5253, allocations: 0 / 493.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004502/0.5258, allocations: 136.8 kB / 493.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.5258, allocations: 51.41 kB / 493.4 MB, free: 6.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.5261, allocations: 224.8 kB / 493.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.5261, allocations: 33.62 kB / 493.6 MB, free: 6.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.5262, allocations: 111.1 kB / 493.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.5262, allocations: 19.62 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/0.5262, allocations: 7.281 kB / 493.7 MB, free: 6.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.5263, allocations: 322.5 kB / 494.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.5264, allocations: 27.8 kB / 494.1 MB, free: 5.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.5265, allocations: 19.75 kB / 494.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/0.5266, allocations: 57.31 kB / 494.2 MB, free: 5.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5266, allocations: 0 / 494.2 MB, free: 5.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002426/0.5268, allocations: 134 kB / 494.3 MB, free: 5.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.5269, allocations: 37.69 kB / 494.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5269, allocations: 64 / 494.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5269, allocations: 8 kB / 494.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.527, allocations: 8 kB / 494.3 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.527, allocations: 0 / 494.3 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.5271, allocations: 4 kB / 494.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.5271, allocations: 11.94 kB / 494.4 MB, free: 5.664 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 0.0001023/0.5272, allocations: 134.5 kB / 494.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.5273, allocations: 11.81 kB / 494.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.5275, allocations: 94.05 kB / 494.6 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5275, allocations: 4 kB / 494.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5275, allocations: 0 / 494.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5275, allocations: 0 / 494.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.528, allocations: 377.9 kB / 495 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.528, allocations: 0 / 495 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.528, allocations: 8 kB / 495 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5281, allocations: 0 / 495 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.5281, allocations: 0 / 495 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.5281, allocations: 7.938 kB / 495 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5281, allocations: 4 kB / 495 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.5283, allocations: 182.5 kB / 495.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.5284, allocations: 100.7 kB / 495.3 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.5284, allocations: 4 kB / 495.3 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.5285, allocations: 0 / 495.3 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.5286, allocations: 4 kB / 495.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.5286, allocations: 192 / 495.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.5288, allocations: 203.8 kB / 495.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5288, allocations: 0 / 495.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.5292, allocations: 43.56 kB / 495.5 MB, free: 4.516 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.001224/0.5304, allocations: 0.9706 MB / 496.5 MB, free: 3.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.5307, allocations: 114.6 kB / 496.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5307, allocations: 0 / 496.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.5308, allocations: 19.75 kB / 496.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.5311, allocations: 20.05 kB / 496.6 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.5319, allocations: 0.5253 MB / 497.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.5321, allocations: 0.7157 MB / 497.9 MB, free: 2.199 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.5322, allocations: 15.98 kB / 497.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.5323, allocations: 31 kB / 497.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5323, allocations: 0 / 497.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.5537, allocations: 3.071 MB / 0.4892 GB, free: 15.14 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/0.5541, allocations: 210 kB / 0.4894 GB, free: 14.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.003, allocations: 0 / 0.4894 GB, free: 14.9 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat