Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test63",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.01057/0.01057, 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.629/1.629, 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.002004/0.002004, allocations: 115.2 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.4313/0.4313, allocations: 38.06 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004886, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1025, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.4892, allocations: 75.7 MB / 487.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4895, allocations: 74.59 kB / 487.5 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01506/0.5046, allocations: 4.144 MB / 491.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5046, allocations: 4 kB / 491.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.5047, allocations: 0 / 491.6 MB, free: 8.457 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004586/0.5051, allocations: 449.6 kB / 492.1 MB, free: 7.973 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.5052, allocations: 8.031 kB / 492.1 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.5052, allocations: 34 kB / 492.1 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.5053, allocations: 15.81 kB / 492.1 MB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.5055, allocations: 213.7 kB / 492.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.5056, allocations: 0 / 492.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.5056, allocations: 4 kB / 492.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.5057, allocations: 37.06 kB / 492.4 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5057, allocations: 4 kB / 492.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.5057, allocations: 0 / 492.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5058, allocations: 4 kB / 492.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.5058, allocations: 7.656 kB / 492.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.506, allocations: 200.4 kB / 492.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.5061, allocations: 30 kB / 492.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.5061, allocations: 3.844 kB / 492.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.5062, allocations: 59.33 kB / 492.7 MB, free: 7.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.5063, allocations: 0 / 492.7 MB, free: 7.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002299/0.5065, allocations: 80 kB / 492.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.5065, allocations: 51.41 kB / 492.8 MB, free: 7.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.5068, allocations: 220.4 kB / 493 MB, free: 6.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.5068, allocations: 29.7 kB / 493 MB, free: 6.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.5069, allocations: 104.5 kB / 493.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5069, allocations: 11.28 kB / 493.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.507, allocations: 4 kB / 493.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.507, allocations: 322.6 kB / 493.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.5071, allocations: 14.69 kB / 493.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.183e-05/0.5072, allocations: 23.23 kB / 493.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.5072, allocations: 51.72 kB / 493.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5073, allocations: 0 / 493.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002058/0.5075, allocations: 128.3 kB / 493.7 MB, free: 6.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5075, allocations: 29.7 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5075, allocations: 7.938 kB / 493.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.5076, allocations: 4.75 kB / 493.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.5076, allocations: 7.984 kB / 493.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5077, allocations: 0 / 493.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.5077, allocations: 7.938 kB / 493.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.5078, allocations: 4 kB / 493.7 MB, free: 6.234 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 (5): * Single equations (assignments): 4 * 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.773e-05/0.5079, allocations: 133.8 kB / 493.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.5079, allocations: 11.91 kB / 493.9 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.5081, allocations: 80.39 kB / 494 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5081, allocations: 4.125 kB / 494 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5081, allocations: 4 kB / 494 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.5081, allocations: 0 / 494 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.5083, allocations: 195 kB / 494.2 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5083, allocations: 3.953 kB / 494.2 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.5083, allocations: 4 kB / 494.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5084, allocations: 0 / 494.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.5084, allocations: 4 kB / 494.2 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5084, allocations: 0 / 494.2 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5084, allocations: 0 / 494.2 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.5086, allocations: 99.55 kB / 494.3 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.5086, allocations: 100.8 kB / 494.4 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.5087, allocations: 4 kB / 494.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.5087, allocations: 3.984 kB / 494.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.5088, allocations: 7.938 kB / 494.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.5088, allocations: 0 / 494.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.509, allocations: 189.4 kB / 494.6 MB, free: 5.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.509, allocations: 0 / 494.6 MB, free: 5.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.5093, allocations: 43.92 kB / 494.6 MB, free: 5.332 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 (4): * Single equations (assignments): 3 * 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.001035/0.5104, allocations: 0.8426 MB / 495.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.5106, allocations: 102 kB / 495.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5106, allocations: 0 / 495.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.5107, allocations: 15.97 kB / 495.6 MB, free: 4.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.5109, allocations: 17.88 kB / 495.6 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.5117, allocations: 0.506 MB / 496.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.5119, allocations: 0.7043 MB / 496.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.512, allocations: 15.19 kB / 496.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.5121, allocations: 33.36 kB / 496.8 MB, free: 3.148 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5121, allocations: 0 / 496.8 MB, free: 3.148 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.5336, allocations: 2.808 MB / 499.7 MB, free: 396 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/0.5339, allocations: 221.9 kB / 499.9 MB, free: 140 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.017, allocations: 3.938 kB / 499.9 MB, free: 136 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat