Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 182.2 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001203, allocations: 101.2 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5391/0.5391, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006574/0.0006577, allocations: 8 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1367, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002447/0.1392, allocations: 1.275 MB / 491.6 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008139/0.14, allocations: 275.9 kB / 491.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.1401, allocations: 0 / 491.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1405, allocations: 91.73 kB / 492 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1407, allocations: 63.84 kB / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.141, allocations: 67.8 kB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1412, allocations: 47.94 kB / 492.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1413, allocations: 16.16 kB / 492.1 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.533e-05/0.1414, allocations: 35.84 kB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1416, allocations: 39.89 kB / 492.2 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1416, allocations: 0 / 492.2 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.1417, allocations: 16 kB / 492.2 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.1418, allocations: 19.92 kB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.1418, allocations: 37.64 kB / 492.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.142, allocations: 76.09 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.142, allocations: 4 kB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.142, allocations: 0 / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.142, allocations: 3.938 kB / 492.4 MB, free: 9.043 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005974/0.1427, allocations: 406.8 kB / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1427, allocations: 12.03 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1428, allocations: 34.56 kB / 492.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1428, allocations: 15.77 kB / 492.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1431, allocations: 194.9 kB / 493 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1431, allocations: 7.984 kB / 493 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1432, allocations: 0 / 493 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1434, allocations: 61.67 kB / 493.1 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1434, allocations: 4 kB / 493.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1434, allocations: 4 kB / 493.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1434, allocations: 0 / 493.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.1436, allocations: 39.86 kB / 493.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.1442, allocations: 300.8 kB / 493.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1444, allocations: 54.55 kB / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1444, allocations: 3.938 kB / 493.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.1444, allocations: 34.69 kB / 493.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.1445, allocations: 3.938 kB / 493.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009489/0.1454, allocations: 205.1 kB / 493.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.1455, allocations: 51.41 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.1458, allocations: 234.3 kB / 494 MB, free: 7.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1459, allocations: 33.69 kB / 494 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.146, allocations: 166.5 kB / 494.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.146, allocations: 23.66 kB / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.146, allocations: 0 / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1462, allocations: 318.8 kB / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1464, allocations: 27.98 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1465, allocations: 27.98 kB / 494.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1467, allocations: 31.98 kB / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1467, allocations: 0 / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003722/0.1471, allocations: 109.5 kB / 494.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.1471, allocations: 8 kB / 494.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1471, allocations: 0 / 494.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1471, allocations: 3.984 kB / 494.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1473, allocations: 16 kB / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1473, allocations: 0 / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.1474, allocations: 12.36 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1474, allocations: 4 kB / 494.8 MB, free: 6.422 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 (8): * Single equations (assignments): 8 * 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.0001476/0.1476, allocations: 133.8 kB / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.1477, allocations: 11.86 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.1481, allocations: 139.3 kB / 495 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1482, allocations: 0 / 495 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1482, allocations: 3.938 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1482, allocations: 4 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/0.149, allocations: 406.4 kB / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.149, allocations: 0 / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.1491, allocations: 19.94 kB / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1491, allocations: 7.984 kB / 495.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1492, allocations: 0 / 495.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1492, allocations: 0 / 495.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1492, allocations: 0 / 495.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.1496, allocations: 203.4 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.1497, allocations: 100.8 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1497, allocations: 0 / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1499, allocations: 11.98 kB / 495.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1499, allocations: 0 / 495.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1499, allocations: 8 kB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.1502, allocations: 172.2 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.446e-06/0.1502, allocations: 0 / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.1506, allocations: 23.94 kB / 496 MB, free: 5.094 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 (8): * Single equations (assignments): 8 * 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.00183/0.1524, allocations: 1.034 MB / 497 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.1528, allocations: 75.91 kB / 497.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1528, allocations: 0 / 497.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.153, allocations: 39.97 kB / 497.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1533, allocations: 23.89 kB / 497.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1552, allocations: 0.8064 MB / 498 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1556, allocations: 0.716 MB / 498.7 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1558, allocations: 39.42 kB / 498.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1558, allocations: 0 / 498.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.786/2.942, allocations: 2.282 MB / 0.4893 GB, free: 20 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat