Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test17",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.01017/0.01017, allocations: 166.4 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.737/1.737, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.002059/0.002059, allocations: 110.4 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.4331/0.4331, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004648, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 48.72 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5184, allocations: 75.86 MB / 487.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.5186, allocations: 69.97 kB / 487.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.5338, allocations: 3.989 MB / 491.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5338, allocations: 0 / 491.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.5339, allocations: 4 kB / 491.6 MB, free: 8.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004568/0.5343, allocations: 431.3 kB / 492 MB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5344, allocations: 8.031 kB / 492.1 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.5344, allocations: 38.12 kB / 492.1 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.5345, allocations: 7.906 kB / 492.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.5347, allocations: 194 kB / 492.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.5347, allocations: 0 / 492.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.5348, allocations: 4 kB / 492.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.5349, allocations: 49.23 kB / 492.3 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5349, allocations: 0 / 492.3 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.5349, allocations: 7.984 kB / 492.3 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5349, allocations: 0 / 492.3 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.535, allocations: 20.89 kB / 492.4 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.5354, allocations: 283.4 kB / 492.6 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.5356, allocations: 49.94 kB / 492.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.5356, allocations: 96 / 492.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.5357, allocations: 62.89 kB / 492.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.5358, allocations: 0 / 492.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004306/0.5362, allocations: 121.4 kB / 492.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.5362, allocations: 55.34 kB / 492.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.5364, allocations: 152.1 kB / 493.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.5364, allocations: 25.7 kB / 493.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.5365, allocations: 95.81 kB / 493.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.5365, allocations: 19.5 kB / 493.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.5365, allocations: 4 kB / 493.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.939e-05/0.5366, allocations: 322.6 kB / 493.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.5367, allocations: 23.67 kB / 493.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.5367, allocations: 27.55 kB / 493.6 MB, free: 6.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.13e-05/0.5368, allocations: 53.2 kB / 493.6 MB, free: 6.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5368, allocations: 0 / 493.6 MB, free: 6.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000228/0.5371, allocations: 126.7 kB / 493.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.5371, allocations: 29.7 kB / 493.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5371, allocations: 4 kB / 493.8 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.5372, allocations: 4 kB / 493.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.5373, allocations: 15.92 kB / 493.8 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5373, allocations: 3.953 kB / 493.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.5373, allocations: 7.938 kB / 493.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.5374, allocations: 4.062 kB / 493.8 MB, free: 6.199 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 8.941e-05/0.5375, allocations: 118.4 kB / 493.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.5375, allocations: 7.906 kB / 493.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.5377, allocations: 89.72 kB / 494 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5377, allocations: 4 kB / 494 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5378, allocations: 7.938 kB / 494 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5378, allocations: 3.953 kB / 494.1 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.5381, allocations: 345.2 kB / 494.4 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5381, allocations: 0 / 494.4 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.5382, allocations: 4 kB / 494.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5382, allocations: 0 / 494.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5382, allocations: 4 kB / 494.4 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5382, allocations: 3.953 kB / 494.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5382, allocations: 4 kB / 494.4 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.5384, allocations: 182.9 kB / 494.6 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.5385, allocations: 88.95 kB / 494.7 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.5385, allocations: 0 / 494.7 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.5386, allocations: 7.984 kB / 494.7 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.5387, allocations: 7.891 kB / 494.7 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.5387, allocations: 7.875 kB / 494.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.851e-05/0.5388, allocations: 124.3 kB / 494.8 MB, free: 5.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5388, allocations: 0 / 494.8 MB, free: 5.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.5391, allocations: 35.86 kB / 494.8 MB, free: 5.152 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.001168/0.5403, allocations: 0.9615 MB / 495.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.5405, allocations: 114.6 kB / 495.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5406, allocations: 0 / 495.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.008e-05/0.5406, allocations: 23.67 kB / 495.9 MB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.5409, allocations: 23.75 kB / 496 MB, free: 4.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.5416, allocations: 427.4 kB / 496.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.5418, allocations: 0.6926 MB / 497.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.5418, allocations: 16.12 kB / 497.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.5419, allocations: 26.92 kB / 497.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5419, allocations: 4 kB / 497.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.5681, allocations: 2.552 MB / 499.7 MB, free: 420 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.5684, allocations: 210 kB / 499.9 MB, free: 176 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.904, allocations: 4 kB / 499.9 MB, free: 172 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat