Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",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.0007575/0.0007578, allocations: 98.73 kB / 17.01 MB, free: 6.391 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.0007603/0.0007604, allocations: 178.1 kB / 17.89 MB, free: 5.926 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.4/1.4, allocations: 223.3 MB / 241.9 MB, free: 348 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.2051/0.2051, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 8.625 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1328, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002031/0.1349, allocations: 1.606 MB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1361, allocations: 0.7877 MB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.1362, allocations: 0 / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.1366, allocations: 251.4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1369, allocations: 175.5 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.1378, allocations: 438.1 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.1382, allocations: 239.3 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1384, allocations: 56.56 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1385, allocations: 107.5 kB / 475.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.1387, allocations: 155.4 kB / 475.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.1387, allocations: 4 kB / 475.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1389, allocations: 75.97 kB / 475.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.139, allocations: 79.67 kB / 475.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.1391, allocations: 65.52 kB / 475.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1394, allocations: 239.8 kB / 475.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1394, allocations: 0 / 475.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1394, allocations: 4 kB / 475.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1394, allocations: 4 kB / 475.9 MB, free: 9.359 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006908/0.1401, allocations: 0.5991 MB / 476.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1402, allocations: 8.031 kB / 476.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.1402, allocations: 42.55 kB / 476.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.1403, allocations: 43.44 kB / 476.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1406, allocations: 297.2 kB / 476.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1406, allocations: 12 kB / 476.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.1407, allocations: 11.95 kB / 476.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.1409, allocations: 109.6 kB / 477 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1409, allocations: 3.938 kB / 477 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.141, allocations: 4 kB / 477 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.141, allocations: 4 kB / 477 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1411, allocations: 79.94 kB / 477.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.1417, allocations: 0.4885 MB / 477.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1419, allocations: 90.48 kB / 477.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.142, allocations: 37.06 kB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.142, allocations: 15.92 kB / 477.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1421, allocations: 34.56 kB / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1421, allocations: 0 / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008417/0.1429, allocations: 391.9 kB / 478.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.143, allocations: 51.41 kB / 478.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.1435, allocations: 0.5447 MB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1436, allocations: 29.7 kB / 478.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1437, allocations: 204.3 kB / 479 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.1438, allocations: 59.19 kB / 479 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.1438, allocations: 7.938 kB / 479 MB, free: 6.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1439, allocations: 354.8 kB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.144, allocations: 51.97 kB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1442, allocations: 51.97 kB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1443, allocations: 62.48 kB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1443, allocations: 3.938 kB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003197/0.1446, allocations: 205 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1446, allocations: 4 kB / 479.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1447, allocations: 0 / 479.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1447, allocations: 4 kB / 479.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1448, allocations: 39.92 kB / 479.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1448, allocations: 0 / 479.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.526e-05/0.1449, allocations: 15.98 kB / 479.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1449, allocations: 8 kB / 479.8 MB, free: 5.211 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 (17): * Single equations (assignments): 17 * 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.0001523/0.1451, allocations: 174.3 kB / 480 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.1452, allocations: 47.39 kB / 480 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.1456, allocations: 239.4 kB / 480.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1456, allocations: 4 kB / 480.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1456, allocations: 0 / 480.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1456, allocations: 3.938 kB / 480.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007598/0.1464, allocations: 0.6347 MB / 480.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1464, allocations: 0 / 480.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.1465, allocations: 35.97 kB / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1465, allocations: 0 / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1466, allocations: 12 kB / 481 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1466, allocations: 0 / 481 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1466, allocations: 0 / 481 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1469, allocations: 304.7 kB / 481.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.147, allocations: 128.6 kB / 481.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.1471, allocations: 4 kB / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1472, allocations: 11.98 kB / 481.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.1472, allocations: 15.92 kB / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1473, allocations: 4 kB / 481.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003894/0.1477, allocations: 407.1 kB / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1477, allocations: 0 / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.148, allocations: 48 kB / 481.9 MB, free: 3.062 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 (17): * Single equations (assignments): 17 * 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.001993/0.15, allocations: 1.448 MB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.1503, allocations: 139.8 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1503, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1504, allocations: 78.88 kB / 483.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.1509, allocations: 73.48 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.1538, allocations: 1.96 MB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1542, allocations: 0.8067 MB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1543, allocations: 49.91 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.1545, allocations: 123.4 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1545, allocations: 7.938 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.1725, allocations: 6.579 MB / 493.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.1728, allocations: 216.6 kB / 493.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.172, allocations: 0 / 493.3 MB, free: 7.922 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat does not exist to compare? outputFormat=mat