Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test24",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.009908/0.009908, allocations: 163.2 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.739/1.739, 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.002622/0.002622, allocations: 107.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.5289/0.5289, allocations: 38.07 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006372, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1107, allocations: 48.7 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5287, allocations: 75.83 MB / 487.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.529, allocations: 71.14 kB / 487.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.5445, allocations: 3.97 MB / 491.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5445, allocations: 0 / 491.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.5445, allocations: 0 / 491.6 MB, free: 8.621 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.0005051/0.5451, allocations: 443.1 kB / 492 MB, free: 8.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5451, allocations: 8.031 kB / 492 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.5452, allocations: 38.31 kB / 492 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.5452, allocations: 7.906 kB / 492 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.5455, allocations: 202.4 kB / 492.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.5455, allocations: 4 kB / 492.3 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.5456, allocations: 4 kB / 492.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.5457, allocations: 52.92 kB / 492.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5457, allocations: 4 kB / 492.3 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5457, allocations: 3.984 kB / 492.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5457, allocations: 0 / 492.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.5458, allocations: 16.95 kB / 492.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.5462, allocations: 291.9 kB / 492.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.5465, allocations: 46.31 kB / 492.7 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.5465, allocations: 8.078 kB / 492.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.5466, allocations: 54.91 kB / 492.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.5466, allocations: 0 / 492.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004683/0.5471, allocations: 120.6 kB / 492.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.5472, allocations: 55.41 kB / 492.9 MB, free: 7.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.5474, allocations: 168.7 kB / 493.1 MB, free: 7.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.5474, allocations: 33.52 kB / 493.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.5475, allocations: 103.8 kB / 493.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.5475, allocations: 15.75 kB / 493.2 MB, free: 6.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.5475, allocations: 4 kB / 493.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.5476, allocations: 318.6 kB / 493.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.5477, allocations: 23.73 kB / 493.5 MB, free: 6.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.5477, allocations: 31.36 kB / 493.6 MB, free: 6.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.5478, allocations: 53.45 kB / 493.6 MB, free: 6.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5478, allocations: 0 / 493.6 MB, free: 6.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002435/0.5481, allocations: 130.2 kB / 493.8 MB, free: 6.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.5481, allocations: 37.64 kB / 493.8 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5482, allocations: 4 kB / 493.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5482, allocations: 0 / 493.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.5483, allocations: 11.98 kB / 493.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5483, allocations: 160 / 493.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.5484, allocations: 4 kB / 493.8 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.5484, allocations: 11.94 kB / 493.8 MB, free: 6.277 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 9.123e-05/0.5485, allocations: 126.6 kB / 493.9 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.5485, allocations: 11.81 kB / 494 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.5488, allocations: 93.17 kB / 494.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5488, allocations: 4 kB / 494.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5488, allocations: 0 / 494.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5488, allocations: 0 / 494.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.5492, allocations: 361.2 kB / 494.4 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5493, allocations: 0 / 494.4 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.5493, allocations: 8 kB / 494.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5493, allocations: 0 / 494.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5494, allocations: 0.875 kB / 494.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5494, allocations: 4 kB / 494.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5494, allocations: 3.938 kB / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.5496, allocations: 179.3 kB / 494.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.5496, allocations: 89.08 kB / 494.7 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.5497, allocations: 4 kB / 494.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.5498, allocations: 4.094 kB / 494.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.5498, allocations: 7.922 kB / 494.7 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.5498, allocations: 7.938 kB / 494.7 MB, free: 5.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.55, allocations: 146.7 kB / 494.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.55, allocations: 0 / 494.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.5504, allocations: 35.88 kB / 494.9 MB, free: 5.199 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.001234/0.5516, allocations: 0.9621 MB / 495.9 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.5519, allocations: 114.6 kB / 496 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.552, allocations: 0 / 496 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.552, allocations: 19.56 kB / 496 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5524, allocations: 15.92 kB / 496 MB, free: 4.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.5532, allocations: 463.7 kB / 496.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.5534, allocations: 0.7043 MB / 497.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.5535, allocations: 20.12 kB / 497.2 MB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.5536, allocations: 26.67 kB / 497.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5536, allocations: 0 / 497.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.5796, allocations: 2.715 MB / 499.9 MB, free: 264 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.5799, allocations: 210 kB / 0.4884 GB, free: 20 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.922, allocations: 0 / 0.4884 GB, free: 20 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat