Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test5.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009727/0.009727, allocations: 174.9 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.895/1.895, allocations: 194.5 MB / 210.3 MB, free: 7.797 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00275/0.00275, allocations: 124.6 kB / 255.6 MB, free: 10.42 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2664/0.2664, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 10.34 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09511, allocations: 54.87 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.2413, allocations: 81.01 MB / 0.5294 GB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.2416, allocations: 71.97 kB / 0.5295 GB, free: 2.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3386/0.5802, allocations: 3.177 MB / 0.5326 GB, free: 82.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5802, allocations: 0 / 0.5326 GB, free: 82.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.5803, allocations: 2.844 kB / 0.5326 GB, free: 82.54 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000486/0.5808, allocations: 436.2 kB / 0.533 GB, free: 82.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5808, allocations: 9.062 kB / 0.533 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.5809, allocations: 34.53 kB / 0.5331 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.5809, allocations: 12.66 kB / 0.5331 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.5812, allocations: 195.3 kB / 0.5333 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5812, allocations: 2.125 kB / 0.5333 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.5812, allocations: 3.094 kB / 0.5333 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.5814, allocations: 58.7 kB / 0.5333 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5814, allocations: 4.734 kB / 0.5333 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5815, allocations: 0 / 0.5333 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5815, allocations: 8.141 kB / 0.5333 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.5816, allocations: 28.91 kB / 0.5334 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.5821, allocations: 301.5 kB / 0.5337 GB, free: 81.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.5824, allocations: 49.95 kB / 0.5337 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.5824, allocations: 2.859 kB / 0.5337 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.5824, allocations: 34.38 kB / 0.5337 GB, free: 81.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.5825, allocations: 1.062 kB / 0.5337 GB, free: 81.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008481/0.5833, allocations: 177.8 kB / 0.5339 GB, free: 81.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.5834, allocations: 54.28 kB / 0.534 GB, free: 81.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.5836, allocations: 193.6 kB / 0.5341 GB, free: 81.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.5837, allocations: 29.7 kB / 0.5342 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.5837, allocations: 107.3 kB / 0.5343 GB, free: 81.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.5838, allocations: 14.19 kB / 0.5343 GB, free: 81.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/0.5838, allocations: 0 / 0.5343 GB, free: 81.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.5838, allocations: 324.2 kB / 0.5346 GB, free: 80.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.584, allocations: 25.14 kB / 0.5346 GB, free: 80.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.5841, allocations: 30.03 kB / 0.5347 GB, free: 80.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.5843, allocations: 58.17 kB / 0.5347 GB, free: 80.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5843, allocations: 1.094 kB / 0.5347 GB, free: 80.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003546/0.5847, allocations: 126.6 kB / 0.5348 GB, free: 80.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.5847, allocations: 36.02 kB / 0.5349 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5847, allocations: 3.953 kB / 0.5349 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5848, allocations: 5.125 kB / 0.5349 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.5849, allocations: 14.05 kB / 0.5349 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5849, allocations: 1.031 kB / 0.5349 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.585, allocations: 11.14 kB / 0.5349 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.585, allocations: 6.625 kB / 0.5349 GB, free: 80.71 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 0.0001007/0.5851, allocations: 128.9 kB / 0.535 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.5852, allocations: 14.84 kB / 0.535 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.5856, allocations: 113 kB / 0.5351 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5856, allocations: 5.016 kB / 0.5352 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5856, allocations: 0 / 0.5352 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5857, allocations: 1.719 kB / 0.5352 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.5863, allocations: 381.1 kB / 0.5355 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5863, allocations: 3.125 kB / 0.5355 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.5864, allocations: 14.98 kB / 0.5355 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5864, allocations: 3.953 kB / 0.5355 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5865, allocations: 5 kB / 0.5355 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5865, allocations: 1.562 kB / 0.5355 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5865, allocations: 2.25 kB / 0.5355 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.5868, allocations: 197.8 kB / 0.5357 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.5869, allocations: 97.38 kB / 0.5358 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.587, allocations: 4.469 kB / 0.5358 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5871, allocations: 7.859 kB / 0.5358 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.5871, allocations: 4.391 kB / 0.5358 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.5871, allocations: 7.344 kB / 0.5359 GB, free: 79.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.5874, allocations: 157.7 kB / 0.536 GB, free: 79.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5874, allocations: 0 / 0.536 GB, free: 79.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003281/0.5877, allocations: 18.28 kB / 0.536 GB, free: 79.91 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001198/0.5889, allocations: 0.925 MB / 0.5369 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.5893, allocations: 116.8 kB / 0.537 GB, free: 79.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5893, allocations: 0 / 0.537 GB, free: 79.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.5895, allocations: 37.53 kB / 0.5371 GB, free: 79.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.5897, allocations: 12.72 kB / 0.5371 GB, free: 79.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/0.5906, allocations: 484.4 kB / 0.5375 GB, free: 78.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.5907, allocations: 0.7092 MB / 0.5382 GB, free: 78.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.34e-05/0.5908, allocations: 15.81 kB / 0.5383 GB, free: 78.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.5909, allocations: 34.08 kB / 0.5383 GB, free: 78 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5909, allocations: 0 / 0.5383 GB, free: 78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.6182, allocations: 2.221 MB / 0.5405 GB, free: 77.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.6185, allocations: 213.2 kB / 0.5407 GB, free: 77.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.972, allocations: 3.938 kB / 0.5407 GB, free: 77.43 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test5_res.mat does not exist to compare? outputFormat=mat