Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test38",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.01131/0.01131, allocations: 165.2 kB / 15.11 MB, free: 5.98 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.768/1.768, 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.001986/0.001985, allocations: 99.41 kB / 226.2 MB, free: 10.11 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.4496/0.4496, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 48.71 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5301, allocations: 75.7 MB / 487.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.5304, allocations: 74.39 kB / 487.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.5447, allocations: 3.838 MB / 491.3 MB, free: 8.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5447, allocations: 0 / 491.3 MB, free: 8.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.5447, allocations: 0 / 491.3 MB, free: 8.344 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004233/0.5452, allocations: 426.1 kB / 491.7 MB, free: 7.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5452, allocations: 8.031 kB / 491.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.5453, allocations: 32.56 kB / 491.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.5453, allocations: 7.906 kB / 491.8 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.5455, allocations: 200.6 kB / 492 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.5456, allocations: 4 kB / 492 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.5456, allocations: 7.984 kB / 492 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.5457, allocations: 40.88 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5457, allocations: 0 / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5457, allocations: 1.031 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5457, allocations: 1.406 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.172e-05/0.5458, allocations: 11.19 kB / 492 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.546, allocations: 185.2 kB / 492.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.5461, allocations: 33.64 kB / 492.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5461, allocations: 0 / 492.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.5462, allocations: 54.58 kB / 492.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5462, allocations: 0 / 492.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002289/0.5465, allocations: 75.77 kB / 492.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.5465, allocations: 55.41 kB / 492.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.5467, allocations: 154.3 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5467, allocations: 33.7 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.5468, allocations: 94.33 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.5468, allocations: 7.844 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.5468, allocations: 0 / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.5469, allocations: 326.2 kB / 493 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.547, allocations: 19.67 kB / 493 MB, free: 6.473 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.547, allocations: 18.06 kB / 493.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.5471, allocations: 53.19 kB / 493.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5471, allocations: 0 / 493.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002025/0.5473, allocations: 115 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.5474, allocations: 36.94 kB / 493.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5474, allocations: 7.875 kB / 493.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5474, allocations: 0 / 493.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.5475, allocations: 8 kB / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5475, allocations: 0 / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.5476, allocations: 10.66 kB / 493.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5476, allocations: 0 / 493.3 MB, free: 6.242 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 (5): * Single equations (assignments): 4 * 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.262e-05/0.5477, allocations: 126 kB / 493.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.5477, allocations: 11.84 kB / 493.4 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.5479, allocations: 78.48 kB / 493.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5479, allocations: 0 / 493.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5479, allocations: 0 / 493.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5479, allocations: 3.938 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.5481, allocations: 187.7 kB / 493.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5481, allocations: 0 / 493.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.5481, allocations: 0 / 493.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5481, allocations: 8.219 kB / 493.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.5482, allocations: 0 / 493.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5482, allocations: 0 / 493.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5482, allocations: 4 kB / 493.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.5483, allocations: 91.84 kB / 493.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.5484, allocations: 92.62 kB / 493.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.5484, allocations: 0 / 493.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.5485, allocations: 4 kB / 493.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.5485, allocations: 0 / 493.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.5486, allocations: 4 kB / 493.9 MB, free: 5.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.5487, allocations: 137.3 kB / 494 MB, free: 5.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.372e-06/0.5487, allocations: 0 / 494 MB, free: 5.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.549, allocations: 35.88 kB / 494.1 MB, free: 5.426 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 (4): * Single equations (assignments): 3 * 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.001048/0.55, allocations: 0.8389 MB / 494.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.5502, allocations: 106.8 kB / 495 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5503, allocations: 4 kB / 495 MB, free: 4.539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.5503, allocations: 11.69 kB / 495 MB, free: 4.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.5506, allocations: 19.66 kB / 495 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.5512, allocations: 419.6 kB / 495.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.5513, allocations: 0.6997 MB / 496.1 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.5514, allocations: 8.188 kB / 496.1 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.5515, allocations: 22.42 kB / 496.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5515, allocations: 0 / 496.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.5717, allocations: 2.381 MB / 498.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.5719, allocations: 217.9 kB / 498.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.01, allocations: 3.938 kB / 498.8 MB, free: 0.7383 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat