Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 98.62 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 191.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002056/0.1383, allocations: 1.275 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.1391, allocations: 359.7 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.1391, allocations: 0 / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.1397, allocations: 439.2 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.1401, allocations: 239.6 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.1405, allocations: 118.5 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1407, allocations: 119.7 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.1408, allocations: 11.97 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1409, allocations: 103.7 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1411, allocations: 155.8 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1411, allocations: 0 / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.1412, allocations: 27.94 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1413, allocations: 83.73 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.1414, allocations: 65.52 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1416, allocations: 171.8 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.1416, allocations: 0 / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1417, allocations: 3.938 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1417, allocations: 0 / 474.8 MB, free: 10.48 MB / 350.1 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.0007809/0.1425, allocations: 0.5873 MB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.1425, allocations: 8.031 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.1426, allocations: 38.56 kB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.1427, allocations: 43.44 kB / 475.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.143, allocations: 271.4 kB / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1431, allocations: 0 / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1431, allocations: 7.953 kB / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1432, allocations: 45.69 kB / 475.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1433, allocations: 3.938 kB / 475.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1433, allocations: 7.984 kB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1433, allocations: 0 / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.1434, allocations: 27.98 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.1439, allocations: 368.8 kB / 476.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.768e-05/0.144, allocations: 34.56 kB / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.144, allocations: 20.86 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1441, allocations: 3.984 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1441, allocations: 34.56 kB / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1441, allocations: 4 kB / 476.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002635/0.1444, allocations: 93.31 kB / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1445, allocations: 55.44 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/0.1454, allocations: 0.8652 MB / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1454, allocations: 29.7 kB / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1456, allocations: 216.1 kB / 477.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1456, allocations: 7.844 kB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.1456, allocations: 0 / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1458, allocations: 362.8 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.1459, allocations: 19.92 kB / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.1459, allocations: 8 kB / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.809e-05/0.146, allocations: 15.98 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.146, allocations: 3.938 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001533/0.1462, allocations: 93.12 kB / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1462, allocations: 8.094 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1462, allocations: 3.938 kB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1462, allocations: 0 / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.1463, allocations: 11.98 kB / 478 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1463, allocations: 0 / 478 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.1464, allocations: 4 kB / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1464, allocations: 0 / 478 MB, free: 6.988 MB / 350.1 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 (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 prepare postOptimizeDAE: time 0.0002184/0.1466, allocations: 210.3 kB / 478.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.1467, allocations: 51.42 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.147, allocations: 112.5 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.147, allocations: 7.984 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.147, allocations: 0 / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.147, allocations: 0 / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.1473, allocations: 281.5 kB / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1473, allocations: 0 / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1474, allocations: 8 kB / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1474, allocations: 4.031 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1474, allocations: 0 / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1474, allocations: 0 / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1474, allocations: 0 / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1477, allocations: 191 kB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1478, allocations: 120.5 kB / 479 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1478, allocations: 0 / 479 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.1479, allocations: 3.984 kB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.148, allocations: 8 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.148, allocations: 0 / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007217/0.1487, allocations: 0.6511 MB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1487, allocations: 0 / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.149, allocations: 16 kB / 479.7 MB, free: 5.242 MB / 350.1 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.001283/0.1502, allocations: 0.982 MB / 480.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.1504, allocations: 27.98 kB / 480.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1504, allocations: 0 / 480.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.1505, allocations: 11.98 kB / 480.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1509, allocations: 29.89 kB / 480.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.1538, allocations: 2.227 MB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1542, allocations: 0.8185 MB / 483.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.1543, allocations: 16.16 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.1544, allocations: 99.39 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1544, allocations: 0 / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1719, allocations: 5.122 MB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.1721, allocations: 242.3 kB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.029, allocations: 4 kB / 489.3 MB, free: 11.78 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat does not exist to compare? outputFormat=mat