Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.0009686/0.0009688, allocations: 97.17 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.001234/0.001234, allocations: 180.8 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.46/1.46, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2567/0.2567, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003448, allocations: 15.98 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.001971/0.142, allocations: 1.259 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1434, allocations: 0.9453 MB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.1435, allocations: 0 / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1437, allocations: 27.86 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1439, allocations: 35.84 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1442, allocations: 95.25 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1443, allocations: 39.89 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1444, allocations: 11.98 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.1445, allocations: 23.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1446, allocations: 19.86 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1446, allocations: 4 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.366e-05/0.1447, allocations: 27.98 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.1448, allocations: 15.92 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1448, allocations: 25.7 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.145, allocations: 76.11 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.145, allocations: 0 / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.145, allocations: 0 / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.145, allocations: 0 / 474.1 MB, free: 11.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005/0.1455, allocations: 367.2 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1456, allocations: 12.03 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.1456, allocations: 42.48 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.1457, allocations: 4 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1459, allocations: 182.9 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1459, allocations: 7.953 kB / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1459, allocations: 0 / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1461, allocations: 67.39 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1461, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1461, allocations: 4 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1461, allocations: 4 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.1462, allocations: 27.92 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1467, allocations: 284.9 kB / 475.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1469, allocations: 42.56 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1469, allocations: 3.984 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.147, allocations: 34.5 kB / 475.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.585e-06/0.147, allocations: 0 / 475.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005817/0.1475, allocations: 169.4 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1476, allocations: 77.11 kB / 475.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1477, allocations: 141.8 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1478, allocations: 29.7 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.1478, allocations: 92.08 kB / 475.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1479, allocations: 15.8 kB / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1479, allocations: 0 / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.148, allocations: 318.8 kB / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.148, allocations: 27.97 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.1481, allocations: 41.7 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.1482, allocations: 27.98 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1482, allocations: 0 / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001803/0.1484, allocations: 97.59 kB / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1484, allocations: 7.938 kB / 476.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1484, allocations: 0 / 476.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1485, allocations: 4 kB / 476.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.1485, allocations: 11.94 kB / 476.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1486, allocations: 7.984 kB / 476.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.1486, allocations: 4 kB / 476.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1486, allocations: 4 kB / 476.3 MB, free: 8.648 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 9.143e-05/0.1487, allocations: 118.3 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1487, allocations: 7.906 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.149, allocations: 101.9 kB / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.149, allocations: 12 kB / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.149, allocations: 0 / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.149, allocations: 0 / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.1495, allocations: 358.5 kB / 476.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1495, allocations: 4 kB / 476.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.1495, allocations: 15.98 kB / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1496, allocations: 288 / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1496, allocations: 4 kB / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1496, allocations: 0 / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1496, allocations: 0 / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1498, allocations: 207.2 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.1499, allocations: 85.02 kB / 477.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1499, allocations: 0 / 477.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.15, allocations: 11.98 kB / 477.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.15, allocations: 4 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.15, allocations: 0 / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.1501, allocations: 109.6 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1501, allocations: 0 / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1504, allocations: 28 kB / 477.3 MB, free: 7.5 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.001426/0.1518, allocations: 1.056 MB / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1521, allocations: 63.89 kB / 478.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1521, allocations: 0 / 478.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.1522, allocations: 27.98 kB / 478.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1524, allocations: 19.92 kB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1535, allocations: 0.5362 MB / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1538, allocations: 0.6926 MB / 479.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.036e-05/0.1539, allocations: 20.09 kB / 479.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.154, allocations: 23.42 kB / 479.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.154, allocations: 0 / 479.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.1684, allocations: 2.302 MB / 482 MB, free: 2.957 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.1686, allocations: 225.5 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/1.959, allocations: 0 / 482.3 MB, free: 2.715 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat does not exist to compare? outputFormat=mat