Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test52",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.01002/0.01002, allocations: 166 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.621/1.621, 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.001978/0.001977, allocations: 118.4 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.4549/0.4549, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004852, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1014, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.4907, allocations: 75.86 MB / 487.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.491, allocations: 72.89 kB / 487.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.5066, allocations: 4.201 MB / 491.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5067, allocations: 0 / 491.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5067, allocations: 4 kB / 491.8 MB, free: 8.234 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.0004822/0.5072, allocations: 447.2 kB / 492.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5072, allocations: 16.02 kB / 492.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.5073, allocations: 33.69 kB / 492.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.5073, allocations: 7.906 kB / 492.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.5076, allocations: 207.6 kB / 492.5 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.5076, allocations: 4 kB / 492.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.5076, allocations: 4 kB / 492.5 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.5078, allocations: 49.48 kB / 492.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5078, allocations: 4 kB / 492.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5078, allocations: 0 / 492.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5078, allocations: 0 / 492.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.819e-05/0.5079, allocations: 16.45 kB / 492.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.5083, allocations: 299.7 kB / 492.9 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.5085, allocations: 50.19 kB / 493 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.5086, allocations: 0 / 493 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.5087, allocations: 63.42 kB / 493 MB, free: 6.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.704e-06/0.5087, allocations: 0 / 493 MB, free: 6.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004511/0.5092, allocations: 120.5 kB / 493.1 MB, free: 6.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5092, allocations: 51.41 kB / 493.2 MB, free: 6.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.5094, allocations: 202.1 kB / 493.4 MB, free: 6.594 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.5095, allocations: 33.64 kB / 493.4 MB, free: 6.559 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.5095, allocations: 103.6 kB / 493.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.5096, allocations: 23.67 kB / 493.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/0.5096, allocations: 0 / 493.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.5097, allocations: 318.5 kB / 493.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.849e-05/0.5098, allocations: 23.8 kB / 493.9 MB, free: 6.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.5098, allocations: 23.86 kB / 493.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.621e-05/0.5099, allocations: 52.95 kB / 493.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.51, allocations: 0 / 493.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002387/0.5102, allocations: 134.6 kB / 494.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.5102, allocations: 29.7 kB / 494.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5103, allocations: 0 / 494.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5103, allocations: 8 kB / 494.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.5104, allocations: 15.92 kB / 494.1 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5104, allocations: 0 / 494.1 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.5105, allocations: 4 kB / 494.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.5105, allocations: 3.953 kB / 494.1 MB, free: 5.863 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.436e-05/0.5106, allocations: 130.9 kB / 494.3 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.5106, allocations: 7.906 kB / 494.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.5109, allocations: 97.59 kB / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5109, allocations: 0 / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5109, allocations: 0 / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5109, allocations: 0 / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.5113, allocations: 381.8 kB / 494.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5113, allocations: 0 / 494.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/0.5114, allocations: 7.984 kB / 494.8 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5114, allocations: 0 / 494.8 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5114, allocations: 7.625 kB / 494.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5114, allocations: 0 / 494.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5114, allocations: 4 kB / 494.8 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.5116, allocations: 179 kB / 494.9 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.5117, allocations: 100.7 kB / 495 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.5117, allocations: 0 / 495 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.5118, allocations: 4 kB / 495 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.5119, allocations: 3.984 kB / 495 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5119, allocations: 7.938 kB / 495.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.5121, allocations: 162.8 kB / 495.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5121, allocations: 0 / 495.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000347/0.5124, allocations: 35.92 kB / 495.2 MB, free: 4.754 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.001211/0.5136, allocations: 0.9697 MB / 496.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.5139, allocations: 110.6 kB / 496.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5139, allocations: 0 / 496.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.514, allocations: 23.86 kB / 496.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.5143, allocations: 19.86 kB / 496.4 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.515, allocations: 492.4 kB / 496.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.5152, allocations: 0.7004 MB / 497.5 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.5153, allocations: 16.12 kB / 497.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.5154, allocations: 38.61 kB / 497.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5154, allocations: 0 / 497.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.5412, allocations: 2.84 MB / 0.4887 GB, free: 15.66 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.5415, allocations: 213.7 kB / 0.4889 GB, free: 15.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.008, allocations: 0 / 0.4889 GB, free: 15.42 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat