Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001089/0.00109, allocations: 91.72 kB / 16.98 MB, free: 5.938 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.001116/0.001116, allocations: 185.2 kB / 17.87 MB, free: 5.594 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.447/1.447, allocations: 223.2 MB / 241.8 MB, free: 388 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.2171/0.2171, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 12 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 61.92 MB / 471.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002019/0.1389, allocations: 1.306 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007088/0.1396, allocations: 391.5 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.1397, allocations: 0 / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.1402, allocations: 447.2 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.1405, allocations: 239.5 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.1409, allocations: 155.1 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1411, allocations: 115.8 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.1412, allocations: 20.16 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1414, allocations: 99.8 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1416, allocations: 139.7 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1416, allocations: 8 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.957e-05/0.1417, allocations: 19.98 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.423e-05/0.1418, allocations: 83.69 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.1418, allocations: 65.52 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.1421, allocations: 184 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1421, allocations: 0 / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1421, allocations: 0 / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1421, allocations: 7.938 kB / 474.8 MB, free: 10.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007414/0.1429, allocations: 0.5949 MB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1429, allocations: 16.03 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.143, allocations: 30.56 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.143, allocations: 43.44 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1434, allocations: 271.4 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1434, allocations: 4 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1434, allocations: 11.86 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1436, allocations: 57.67 kB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1436, allocations: 0 / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1436, allocations: 0 / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1436, allocations: 8 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1438, allocations: 31.92 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.1444, allocations: 400.7 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.1446, allocations: 46.56 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.1447, allocations: 7.938 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1447, allocations: 30.56 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.1447, allocations: 3.938 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006927/0.1454, allocations: 260.1 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1455, allocations: 55.41 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/0.1464, allocations: 0.8652 MB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1465, allocations: 25.7 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.1467, allocations: 228.1 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.1467, allocations: 15.75 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.1467, allocations: 0 / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.1469, allocations: 370.7 kB / 478.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.147, allocations: 23.98 kB / 478.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.1471, allocations: 23.98 kB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.1472, allocations: 31.98 kB / 478.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1472, allocations: 0 / 478.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002331/0.1474, allocations: 129.1 kB / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1475, allocations: 8 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1475, allocations: 4 kB / 478.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1475, allocations: 4.188 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.1476, allocations: 12 kB / 478.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1476, allocations: 4 kB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.1476, allocations: 7.984 kB / 478.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1477, allocations: 4 kB / 478.4 MB, free: 6.621 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 (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 prepare postOptimizeDAE: time 0.0002276/0.1479, allocations: 218.2 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.148, allocations: 43.44 kB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.1483, allocations: 149.1 kB / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1483, allocations: 0 / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1483, allocations: 0 / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1483, allocations: 3.938 kB / 478.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.1489, allocations: 478.4 kB / 479.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1489, allocations: 0 / 479.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.149, allocations: 12 kB / 479.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.149, allocations: 0 / 479.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.149, allocations: 4 kB / 479.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.149, allocations: 7.984 kB / 479.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.149, allocations: 3.984 kB / 479.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1493, allocations: 226.9 kB / 479.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1494, allocations: 112.6 kB / 479.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1494, allocations: 4 kB / 479.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.1495, allocations: 7.984 kB / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1496, allocations: 8 kB / 479.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.1496, allocations: 0 / 479.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006526/0.1503, allocations: 0.655 MB / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1503, allocations: 0 / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1505, allocations: 23.94 kB / 480.3 MB, free: 4.582 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 (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.001388/0.1519, allocations: 1.057 MB / 481.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1521, allocations: 59.95 kB / 481.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1521, allocations: 0 / 481.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.1522, allocations: 35.92 kB / 481.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.1525, allocations: 26.23 kB / 481.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.1557, allocations: 2.259 MB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.1563, allocations: 0.8379 MB / 484.6 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.1563, allocations: 20.17 kB / 484.6 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.1565, allocations: 107.4 kB / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1565, allocations: 0 / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.1751, allocations: 5.419 MB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.1753, allocations: 219.9 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.917, allocations: 3.688 kB / 490.3 MB, free: 10.68 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat