Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test70",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.0106/0.0106, allocations: 166.2 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.628/1.628, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001999/0.001999, allocations: 115.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.4557/0.4557, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007203/0.0007205, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1134, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.5195, allocations: 75.72 MB / 487.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5198, allocations: 70.53 kB / 487.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02042/0.5402, allocations: 5.484 MB / 493 MB, free: 7.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5403, allocations: 4 kB / 493 MB, free: 7.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.375e-05/0.5403, allocations: 7.984 kB / 493 MB, free: 7.23 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.001029/0.5414, allocations: 0.7599 MB / 493.7 MB, free: 6.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5414, allocations: 8.031 kB / 493.8 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.5415, allocations: 30.56 kB / 493.8 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.5416, allocations: 54.69 kB / 493.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.5425, allocations: 449 kB / 494.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.5425, allocations: 7.062 kB / 494.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.5425, allocations: 8 kB / 494.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.5427, allocations: 74.05 kB / 494.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5427, allocations: 0 / 494.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.5428, allocations: 0 / 494.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5428, allocations: 4.969 kB / 494.4 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.5429, allocations: 19.17 kB / 494.4 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.5433, allocations: 381.8 kB / 494.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.5434, allocations: 63.95 kB / 494.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.5435, allocations: 3.938 kB / 494.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.5436, allocations: 88.02 kB / 494.9 MB, free: 5.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5437, allocations: 4 kB / 494.9 MB, free: 5.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004214/0.5441, allocations: 150.4 kB / 495.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5441, allocations: 77.11 kB / 495.1 MB, free: 5.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.5458, allocations: 0.9162 MB / 496.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.5458, allocations: 29.7 kB / 496.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.546, allocations: 234.4 kB / 496.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.5461, allocations: 19.44 kB / 496.3 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.5461, allocations: 3.938 kB / 496.3 MB, free: 4.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5462, allocations: 371.4 kB / 496.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.5463, allocations: 33.86 kB / 496.7 MB, free: 3.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5465, allocations: 53.81 kB / 496.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.5466, allocations: 99.45 kB / 496.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5466, allocations: 0 / 496.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004475/0.5471, allocations: 241.8 kB / 497.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.5472, allocations: 67.08 kB / 497.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5472, allocations: 0 / 497.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5472, allocations: 0 / 497.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5473, allocations: 19.98 kB / 497.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5473, allocations: 0.875 kB / 497.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.5475, allocations: 11.91 kB / 497.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.5476, allocations: 7.5 kB / 497.2 MB, free: 3.27 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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.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): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002672/0.5478, allocations: 225.4 kB / 497.4 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.5479, allocations: 47.44 kB / 497.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.5483, allocations: 156.6 kB / 497.6 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5483, allocations: 0 / 497.6 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5483, allocations: 4 kB / 497.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5484, allocations: 0 / 497.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.5487, allocations: 368.6 kB / 498 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5488, allocations: 7.938 kB / 498 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.5488, allocations: 11.92 kB / 498 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5489, allocations: 4.469 kB / 498 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5489, allocations: 0 / 498 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5489, allocations: 0 / 498 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5489, allocations: 4 kB / 498 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.5492, allocations: 187 kB / 498.2 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.5495, allocations: 186.8 kB / 498.4 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.828e-05/0.5496, allocations: 7.625 kB / 498.4 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.5498, allocations: 4 kB / 498.4 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.5498, allocations: 11.92 kB / 498.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.5499, allocations: 7.5 kB / 498.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001142/0.551, allocations: 0.7286 MB / 499.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.551, allocations: 0 / 499.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000474/0.5515, allocations: 95.44 kB / 499.2 MB, free: 1.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001718/0.5532, allocations: 1.158 MB / 0.4887 GB, free: 388 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.5536, allocations: 200.6 kB / 0.4889 GB, free: 192 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5537, allocations: 0 / 0.4889 GB, free: 192 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.5537, allocations: 27.69 kB / 0.4889 GB, free: 168 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.5543, allocations: 46.84 kB / 0.4889 GB, free: 136 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.5573, allocations: 1.569 MB / 0.4905 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.5578, allocations: 0.8429 MB / 0.4913 GB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002742/0.5581, allocations: 80.84 kB / 0.4914 GB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.5584, allocations: 143.9 kB / 0.4915 GB, free: 13.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5585, allocations: 0 / 0.4915 GB, free: 13.64 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.5987, allocations: 8.7 MB / 0.5 GB, free: 4.973 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003659/0.5992, allocations: 217.9 kB / 0.5002 GB, free: 4.727 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/3.15, allocations: 0 / 0.5002 GB, free: 4.727 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat