Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test2",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.009518/0.009518, allocations: 164.6 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.546/1.546, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001904/0.001904, allocations: 118.4 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.4178/0.4178, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004806, allocations: 15.98 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 48.72 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5394, allocations: 75.82 MB / 487.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.5397, allocations: 71.14 kB / 487.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.5539, allocations: 3.839 MB / 491.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5539, allocations: 0 / 491.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.5539, allocations: 0 / 491.4 MB, free: 8.656 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.0004289/0.5544, allocations: 431.1 kB / 491.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5544, allocations: 12.03 kB / 491.9 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.5545, allocations: 33.88 kB / 491.9 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.5545, allocations: 4 kB / 491.9 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.5547, allocations: 198 kB / 492.1 MB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.5548, allocations: 0 / 492.1 MB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.5548, allocations: 7.625 kB / 492.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.5549, allocations: 41.62 kB / 492.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5549, allocations: 0 / 492.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.555, allocations: 0 / 492.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.555, allocations: 4 kB / 492.1 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.062e-05/0.555, allocations: 20.89 kB / 492.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.5554, allocations: 292 kB / 492.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.5556, allocations: 42.3 kB / 492.5 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.5556, allocations: 4 kB / 492.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.5558, allocations: 63.06 kB / 492.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.5558, allocations: 0 / 492.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004294/0.5562, allocations: 116.2 kB / 492.7 MB, free: 7.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.5563, allocations: 51.41 kB / 492.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.5564, allocations: 144.2 kB / 492.9 MB, free: 7.109 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5564, allocations: 29.64 kB / 492.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.5565, allocations: 99.84 kB / 493 MB, free: 6.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.5565, allocations: 11.78 kB / 493 MB, free: 6.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.5565, allocations: 4 kB / 493 MB, free: 6.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.5566, allocations: 322.4 kB / 493.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.5567, allocations: 23.86 kB / 493.3 MB, free: 6.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.5567, allocations: 19.69 kB / 493.4 MB, free: 6.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.103e-05/0.5568, allocations: 53 kB / 493.4 MB, free: 6.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5568, allocations: 0 / 493.4 MB, free: 6.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002317/0.5571, allocations: 126.7 kB / 493.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.5571, allocations: 39.25 kB / 493.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5571, allocations: 0 / 493.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5572, allocations: 0 / 493.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.5572, allocations: 12 kB / 493.6 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5573, allocations: 0 / 493.6 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.5573, allocations: 11.8 kB / 493.6 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.5574, allocations: 11.94 kB / 493.6 MB, free: 6.383 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 7.973e-05/0.5574, allocations: 114.6 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.5575, allocations: 11.84 kB / 493.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.5577, allocations: 85.61 kB / 493.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.5577, allocations: 4 kB / 493.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5577, allocations: 4 kB / 493.8 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5577, allocations: 0 / 493.8 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.5581, allocations: 354.6 kB / 494.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5581, allocations: 0 / 494.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.5582, allocations: 8.75 kB / 494.2 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5582, allocations: 0 / 494.2 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.5582, allocations: 3.984 kB / 494.2 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5582, allocations: 0 / 494.2 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5582, allocations: 0 / 494.2 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.5584, allocations: 182.7 kB / 494.4 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.5584, allocations: 92.94 kB / 494.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.5585, allocations: 0 / 494.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.5586, allocations: 7.938 kB / 494.5 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.5586, allocations: 3.938 kB / 494.5 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.5586, allocations: 4 kB / 494.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.58e-05/0.5587, allocations: 122.1 kB / 494.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5588, allocations: 4 kB / 494.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000339/0.5591, allocations: 35.92 kB / 494.6 MB, free: 5.344 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.001182/0.5603, allocations: 0.9604 MB / 495.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.5605, allocations: 114.6 kB / 495.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5605, allocations: 0 / 495.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.5606, allocations: 19.61 kB / 495.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.5609, allocations: 19.86 kB / 495.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.5616, allocations: 415.7 kB / 496.1 MB, free: 3.883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.5618, allocations: 0.6965 MB / 496.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.5618, allocations: 12.14 kB / 496.8 MB, free: 3.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.5619, allocations: 27.05 kB / 496.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5619, allocations: 0 / 496.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.5864, allocations: 2.486 MB / 499.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.5867, allocations: 216.8 kB / 499.6 MB, free: 460 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.027, allocations: 0 / 499.6 MB, free: 460 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat