Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001811/0.001816, allocations: 182.6 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.184/2.184, allocations: 205.4 MB / 222.5 MB, free: 9.098 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.001163/0.001162, allocations: 86.88 kB / 270.9 MB, free: 8.355 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.5806/0.5806, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004736, allocations: 23.98 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1474, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002569/0.15, allocations: 1.259 MB / 491.6 MB, free: 9.848 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.1509, allocations: 279.8 kB / 491.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.151, allocations: 0 / 491.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.1513, allocations: 75.77 kB / 491.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.1515, allocations: 47.94 kB / 492 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1519, allocations: 75.78 kB / 492 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1521, allocations: 39.89 kB / 492.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1522, allocations: 15.97 kB / 492.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.744e-05/0.1523, allocations: 27.91 kB / 492.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1524, allocations: 31.91 kB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1524, allocations: 0 / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1525, allocations: 23.98 kB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1526, allocations: 19.91 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.1527, allocations: 37.64 kB / 492.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1528, allocations: 64.12 kB / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1529, allocations: 0 / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1529, allocations: 0 / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1529, allocations: 0 / 492.3 MB, free: 9.113 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005787/0.1535, allocations: 390.9 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1535, allocations: 8.031 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1536, allocations: 34.5 kB / 492.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1536, allocations: 19.86 kB / 492.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1539, allocations: 190.9 kB / 492.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1539, allocations: 0 / 492.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1539, allocations: 4 kB / 492.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1541, allocations: 49.69 kB / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1542, allocations: 0 / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1542, allocations: 0 / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1542, allocations: 3.953 kB / 493 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1544, allocations: 31.97 kB / 493 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.1549, allocations: 276.9 kB / 493.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1552, allocations: 38.56 kB / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.1552, allocations: 4 kB / 493.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.1553, allocations: 38.56 kB / 493.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.1553, allocations: 0 / 493.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008686/0.1562, allocations: 169.2 kB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1562, allocations: 51.41 kB / 493.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.1565, allocations: 206.2 kB / 493.8 MB, free: 7.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1566, allocations: 25.7 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1567, allocations: 162.5 kB / 494 MB, free: 7.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1567, allocations: 23.7 kB / 494 MB, free: 7.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.1568, allocations: 0 / 494 MB, free: 7.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1569, allocations: 314.8 kB / 494.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1571, allocations: 27.92 kB / 494.3 MB, free: 6.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1572, allocations: 19.98 kB / 494.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1573, allocations: 23.98 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1573, allocations: 4 kB / 494.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003049/0.1576, allocations: 77.67 kB / 494.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1577, allocations: 7.953 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1577, allocations: 256 / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1577, allocations: 0 / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1579, allocations: 19.98 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1579, allocations: 4 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.834e-05/0.158, allocations: 12 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.158, allocations: 3.984 kB / 494.5 MB, free: 6.691 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 (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.0001336/0.1582, allocations: 125.8 kB / 494.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.1582, allocations: 7.906 kB / 494.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.1586, allocations: 105.9 kB / 494.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1587, allocations: 7.984 kB / 494.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1587, allocations: 0 / 494.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1587, allocations: 0 / 494.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.1594, allocations: 362.4 kB / 495.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1594, allocations: 0 / 495.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1595, allocations: 24.22 kB / 495.1 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1596, allocations: 0 / 495.1 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1596, allocations: 0 / 495.1 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1596, allocations: 0 / 495.1 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1596, allocations: 0 / 495.1 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.16, allocations: 199.2 kB / 495.3 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.1601, allocations: 85.02 kB / 495.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.1601, allocations: 3.953 kB / 495.4 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1602, allocations: 8.172 kB / 495.4 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.1603, allocations: 8 kB / 495.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1603, allocations: 8 kB / 495.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.1606, allocations: 160 kB / 495.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1606, allocations: 3.938 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.1609, allocations: 20 kB / 495.6 MB, free: 5.48 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 (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.001768/0.1627, allocations: 1.011 MB / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.1631, allocations: 47.91 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.585e-05/0.1631, allocations: 8 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.1633, allocations: 24.11 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1636, allocations: 19.94 kB / 496.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1653, allocations: 0.7001 MB / 497.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1657, allocations: 0.716 MB / 498.1 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.1658, allocations: 31.36 kB / 498.1 MB, free: 2.867 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1658, allocations: 0 / 498.1 MB, free: 2.867 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.609/2.775, allocations: 1.99 MB / 0.4884 GB, free: 0.875 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat