Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001086/0.001086, allocations: 96.44 kB / 16.99 MB, free: 5.941 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.001108/0.001109, allocations: 183.5 kB / 17.87 MB, free: 5.609 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.445/1.445, allocations: 223.2 MB / 241.8 MB, free: 412 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.2286/0.2286, allocations: 44.23 MB / 337.1 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 9.25 kB / 409.6 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1402, allocations: 61.91 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002203/0.1424, allocations: 1.684 MB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.144, allocations: 0.9755 MB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.1441, allocations: 4 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.1443, allocations: 43.7 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1446, allocations: 143.5 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1457, allocations: 0.5447 MB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.146, allocations: 203.4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1462, allocations: 60.81 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1464, allocations: 115.5 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1466, allocations: 151.5 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1466, allocations: 8 kB / 475.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1468, allocations: 28 kB / 475.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1469, allocations: 139.5 kB / 475.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.147, allocations: 85.39 kB / 475.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.1473, allocations: 295.4 kB / 476 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1473, allocations: 4 kB / 476 MB, free: 9.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1473, allocations: 0 / 476 MB, free: 9.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1473, allocations: 0 / 476 MB, free: 9.23 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001009/0.1483, allocations: 0.7426 MB / 476.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1484, allocations: 8.031 kB / 476.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.1484, allocations: 42.55 kB / 476.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.1485, allocations: 55.34 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.1491, allocations: 450.9 kB / 477.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1491, allocations: 4 kB / 477.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.1492, allocations: 15.95 kB / 477.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1495, allocations: 163.3 kB / 477.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1495, allocations: 0 / 477.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1495, allocations: 4 kB / 477.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1496, allocations: 7.984 kB / 477.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.1499, allocations: 135.8 kB / 477.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.151, allocations: 0.7307 MB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1513, allocations: 141.2 kB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.1514, allocations: 8 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1514, allocations: 34.5 kB / 478.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.1514, allocations: 0 / 478.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002135/0.1535, allocations: 0.8066 MB / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1536, allocations: 89.03 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009838/0.1546, allocations: 0.8943 MB / 480.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.1546, allocations: 33.89 kB / 480.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.1549, allocations: 256.4 kB / 480.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.155, allocations: 70.89 kB / 480.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.155, allocations: 0 / 480.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1552, allocations: 370.8 kB / 481 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.1555, allocations: 127.9 kB / 481.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.1559, allocations: 145.6 kB / 481.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.1562, allocations: 139.9 kB / 481.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1562, allocations: 0 / 481.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000733/0.1569, allocations: 376.6 kB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1569, allocations: 4 kB / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.157, allocations: 0 / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.157, allocations: 0 / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1573, allocations: 63.95 kB / 481.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1573, allocations: 7.938 kB / 481.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1575, allocations: 27.97 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1575, allocations: 12 kB / 481.9 MB, free: 3.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002603/0.1578, allocations: 216.3 kB / 482.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1579, allocations: 59.34 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009161/0.1588, allocations: 430.9 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1588, allocations: 4 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1589, allocations: 0 / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1589, allocations: 4 kB / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.1604, allocations: 0.9854 MB / 483.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1605, allocations: 4 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.1608, allocations: 63.89 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1608, allocations: 0 / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1608, allocations: 8 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1608, allocations: 3.984 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1608, allocations: 0 / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.1617, allocations: 0.5504 MB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.1619, allocations: 160.3 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.162, allocations: 7.984 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.1622, allocations: 27.98 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.1623, allocations: 15.97 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1623, allocations: 11.98 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007451/0.1631, allocations: 0.6517 MB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1631, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004001/0.1635, allocations: 68 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001878/0.1654, allocations: 1.462 MB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.1661, allocations: 299.8 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1661, allocations: 0 / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.1664, allocations: 155.8 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.1669, allocations: 70.94 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.1719, allocations: 3.559 MB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.1725, allocations: 0.8967 MB / 491.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.1728, allocations: 107.2 kB / 491.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.173, allocations: 179.4 kB / 491.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.173, allocations: 0 / 491.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.193, allocations: 9.213 MB / 0.4893 GB, free: 15.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.1932, allocations: 223.8 kB / 0.4895 GB, free: 15.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.008, allocations: 0 / 0.4895 GB, free: 15.71 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat