Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test8.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.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test8",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.009545/0.009545, allocations: 176 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 2.002/2.002, allocations: 194.5 MB / 210.3 MB, free: 8.789 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.00196/0.00196, allocations: 128.6 kB / 255.6 MB, free: 11.39 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.2543/0.2543, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004758, allocations: 12.88 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09987, allocations: 54.87 MB / 461.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.2424, allocations: 80.88 MB / 0.5293 GB, free: 2.324 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.2427, allocations: 75.95 kB / 0.5294 GB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3137/0.5565, allocations: 5.19 MB / 0.5345 GB, free: 82.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5565, allocations: 0.5625 kB / 0.5345 GB, free: 82.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.862e-05/0.5566, allocations: 9.672 kB / 0.5345 GB, free: 82.05 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.001001/0.5576, allocations: 0.6304 MB / 0.5351 GB, free: 81.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.5577, allocations: 14.72 kB / 0.5351 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.5577, allocations: 40.16 kB / 0.5351 GB, free: 81.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.5579, allocations: 42.39 kB / 0.5352 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.5587, allocations: 314.3 kB / 0.5355 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5587, allocations: 3.812 kB / 0.5355 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.5587, allocations: 2.094 kB / 0.5355 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.559, allocations: 47.89 kB / 0.5355 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.559, allocations: 1.594 kB / 0.5355 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.559, allocations: 5.016 kB / 0.5355 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.559, allocations: 0 / 0.5355 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.5592, allocations: 33.77 kB / 0.5356 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009424/0.5602, allocations: 411.1 kB / 0.536 GB, free: 80.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.5604, allocations: 35.52 kB / 0.536 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.5604, allocations: 5.891 kB / 0.536 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.5605, allocations: 36.97 kB / 0.536 GB, free: 80.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 3.086e-06/0.5605, allocations: 4.125 kB / 0.536 GB, free: 80.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004959/0.561, allocations: 97.44 kB / 0.5361 GB, free: 80.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.561, allocations: 52.28 kB / 0.5362 GB, free: 80.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.5641, allocations: 0.7732 MB / 0.5369 GB, free: 80.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5642, allocations: 25.7 kB / 0.537 GB, free: 80.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.5646, allocations: 215.3 kB / 0.5372 GB, free: 80.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.5646, allocations: 13.75 kB / 0.5372 GB, free: 80.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.5647, allocations: 0 / 0.5372 GB, free: 80.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5649, allocations: 355.9 kB / 0.5375 GB, free: 80.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.565, allocations: 12.48 kB / 0.5375 GB, free: 80.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.5652, allocations: 19.98 kB / 0.5375 GB, free: 80.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5653, allocations: 39 kB / 0.5376 GB, free: 80.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5654, allocations: 0 / 0.5376 GB, free: 80.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005784/0.566, allocations: 121.6 kB / 0.5377 GB, free: 80.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.566, allocations: 34.8 kB / 0.5377 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.5661, allocations: 2.266 kB / 0.5377 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5661, allocations: 0 / 0.5377 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.5662, allocations: 10.41 kB / 0.5377 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5663, allocations: 1.125 kB / 0.5377 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.5665, allocations: 8.141 kB / 0.5378 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.5666, allocations: 1.031 kB / 0.5378 GB, free: 79.99 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 (3): * Single equations (assignments): 2 * 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.0006068/0.5672, allocations: 210.4 kB / 0.538 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.5675, allocations: 39.8 kB / 0.538 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/0.5681, allocations: 120.7 kB / 0.5381 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5681, allocations: 0.5 kB / 0.5381 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5682, allocations: 1.094 kB / 0.5381 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5682, allocations: 0.6562 kB / 0.5381 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/0.569, allocations: 318.5 kB / 0.5384 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.569, allocations: 3.938 kB / 0.5384 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.5691, allocations: 6.094 kB / 0.5384 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.5691, allocations: 0.7031 kB / 0.5384 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5691, allocations: 1.656 kB / 0.5384 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.5692, allocations: 7.984 kB / 0.5384 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5692, allocations: 0.5625 kB / 0.5384 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.5697, allocations: 192.2 kB / 0.5386 GB, free: 79.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.5702, allocations: 153.8 kB / 0.5388 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5703, allocations: 3.422 kB / 0.5388 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.5707, allocations: 7.906 kB / 0.5388 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.5707, allocations: 6.453 kB / 0.5388 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.5708, allocations: 1.219 kB / 0.5388 GB, free: 79.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001655/0.5724, allocations: 0.629 MB / 0.5394 GB, free: 79.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5724, allocations: 0 / 0.5394 GB, free: 79.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007176/0.5732, allocations: 45.62 kB / 0.5394 GB, free: 79.23 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 (2): * Single equations (assignments): 2 * 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.001445/0.5746, allocations: 0.8705 MB / 0.5403 GB, free: 78.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.5749, allocations: 88.36 kB / 0.5404 GB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.575, allocations: 0 / 0.5404 GB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.5751, allocations: 15.38 kB / 0.5404 GB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.5756, allocations: 18.66 kB / 0.5404 GB, free: 78.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.5795, allocations: 1.288 MB / 0.5417 GB, free: 77.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.5802, allocations: 0.8185 MB / 0.5425 GB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.5805, allocations: 38.75 kB / 0.5425 GB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.581, allocations: 110.3 kB / 0.5426 GB, free: 77.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.581, allocations: 0 / 0.5426 GB, free: 77.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.6179, allocations: 5.71 MB / 0.5482 GB, free: 75.17 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/0.6183, allocations: 212.9 kB / 0.5484 GB, free: 74.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.241, allocations: 0 / 0.5484 GB, free: 74.93 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test8_res.mat does not exist to compare? outputFormat=mat