Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test10",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.01528/0.01528, allocations: 165.5 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.613/1.613, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001934/0.001934, 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.4533/0.4533, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 16 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.4942, allocations: 76.62 MB / 488.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4944, allocations: 67.38 kB / 488.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01222/0.5067, allocations: 3.235 MB / 491.6 MB, free: 8.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5067, allocations: 0 / 491.6 MB, free: 8.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.5068, allocations: 0 / 491.6 MB, free: 8.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005564/0.5073, allocations: 486.7 kB / 492.1 MB, free: 7.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5074, allocations: 12.03 kB / 492.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.5074, allocations: 33.94 kB / 492.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.5075, allocations: 19.84 kB / 492.2 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.5077, allocations: 205.4 kB / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.5078, allocations: 4 kB / 492.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.5078, allocations: 7.5 kB / 492.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.508, allocations: 71.48 kB / 492.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5081, allocations: 2.188 kB / 492.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.5081, allocations: 7.797 kB / 492.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5081, allocations: 4 kB / 492.5 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.5083, allocations: 39.83 kB / 492.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.5089, allocations: 346.9 kB / 492.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.5092, allocations: 81.05 kB / 492.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.5092, allocations: 0 / 492.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.5094, allocations: 75.09 kB / 493 MB, free: 6.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.5095, allocations: 0 / 493 MB, free: 6.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004294/0.5099, allocations: 126.2 kB / 493.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.5099, allocations: 58.73 kB / 493.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.5101, allocations: 159.4 kB / 493.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5101, allocations: 29.64 kB / 493.3 MB, free: 6.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.5102, allocations: 98.62 kB / 493.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.5102, allocations: 26.34 kB / 493.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.5102, allocations: 4 kB / 493.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.5103, allocations: 321.8 kB / 493.8 MB, free: 6.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5104, allocations: 33.61 kB / 493.8 MB, free: 6.148 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.5106, allocations: 53.75 kB / 493.9 MB, free: 6.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.5108, allocations: 74.14 kB / 493.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5108, allocations: 4 kB / 493.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003608/0.5111, allocations: 150.1 kB / 494.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.5112, allocations: 41.31 kB / 494.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5112, allocations: 1.562 kB / 494.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5112, allocations: 0 / 494.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.5114, allocations: 23.92 kB / 494.2 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5114, allocations: 0 / 494.2 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.254e-05/0.5115, allocations: 15.98 kB / 494.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.5115, allocations: 3.938 kB / 494.2 MB, free: 5.816 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.793e-05/0.5116, allocations: 121.8 kB / 494.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.5117, allocations: 15.89 kB / 494.3 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.512, allocations: 113.4 kB / 494.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.5121, allocations: 0 / 494.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5121, allocations: 0 / 494.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5121, allocations: 4 kB / 494.4 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.5123, allocations: 207.6 kB / 494.6 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5123, allocations: 7.984 kB / 494.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.5124, allocations: 8 kB / 494.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.5124, allocations: 0 / 494.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.5124, allocations: 11.44 kB / 494.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5125, allocations: 0 / 494.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5125, allocations: 0 / 494.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.5129, allocations: 171.9 kB / 494.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.513, allocations: 85.05 kB / 494.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.513, allocations: 11.97 kB / 494.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.5131, allocations: 7.312 kB / 494.9 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.5131, allocations: 11.97 kB / 494.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5132, allocations: 0 / 494.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.5133, allocations: 130.3 kB / 495.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5133, allocations: 0 / 495.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.5136, allocations: 43.22 kB / 495.1 MB, free: 4.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001322/0.5149, allocations: 0.9183 MB / 496 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.5153, allocations: 139.8 kB / 496.2 MB, free: 3.918 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5153, allocations: 3.938 kB / 496.2 MB, free: 3.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.5154, allocations: 31.61 kB / 496.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.5157, allocations: 27.34 kB / 496.2 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.5166, allocations: 0.639 MB / 496.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.5168, allocations: 0.7082 MB / 497.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.733e-05/0.5169, allocations: 12.42 kB / 497.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.517, allocations: 31.73 kB / 497.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.517, allocations: 0 / 497.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.5439, allocations: 2.847 MB / 0.4887 GB, free: 15.63 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.5441, allocations: 218 kB / 0.4889 GB, free: 15.39 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.027, allocations: 7.938 kB / 0.4889 GB, free: 15.38 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat