Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.001009/0.001009, allocations: 94.08 kB / 17 MB, free: 6.355 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.001299/0.001299, allocations: 183.8 kB / 17.89 MB, free: 5.926 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.492/1.492, allocations: 223.3 MB / 241.9 MB, free: 14.59 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.2181/0.2181, allocations: 44.22 MB / 337.2 MB, free: 2.578 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 61.91 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001736/0.1265, allocations: 1.263 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.128, allocations: 0.9531 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.128, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.1283, allocations: 19.92 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1285, allocations: 31.91 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1287, allocations: 79.59 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1289, allocations: 47.84 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.129, allocations: 7.984 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.129, allocations: 23.86 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1292, allocations: 23.91 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1292, allocations: 0 / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.1293, allocations: 39.98 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.1294, allocations: 11.92 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.1294, allocations: 37.69 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1295, allocations: 68.12 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.1296, allocations: 4 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1296, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1296, allocations: 0 / 474.2 MB, free: 11 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.0004843/0.1301, allocations: 367.1 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1301, allocations: 12.03 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.1302, allocations: 30.56 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.1302, allocations: 8 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1304, allocations: 190.9 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1304, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1305, allocations: 3.953 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1306, allocations: 71.33 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1306, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1306, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1307, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.1308, allocations: 27.98 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.1311, allocations: 276.9 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1313, allocations: 42.5 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.1313, allocations: 20.94 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1314, allocations: 0 / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1314, allocations: 42.5 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1314, allocations: 0 / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005184/0.1319, allocations: 153.3 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.132, allocations: 77.11 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1322, allocations: 137.8 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1322, allocations: 25.7 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.1322, allocations: 96.08 kB / 475.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1323, allocations: 15.8 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.1323, allocations: 3.938 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1324, allocations: 322.8 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.1325, allocations: 19.98 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.1326, allocations: 37.7 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.1327, allocations: 28.17 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1327, allocations: 0 / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001702/0.1328, allocations: 93.5 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1329, allocations: 8.031 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1329, allocations: 4 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1329, allocations: 0 / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.133, allocations: 12 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.133, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.133, allocations: 7.984 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1331, allocations: 4 kB / 476.3 MB, free: 8.664 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.045e-05/0.1332, allocations: 118.3 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1332, allocations: 7.906 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.1334, allocations: 97.56 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1334, allocations: 0 / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1334, allocations: 0 / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1334, allocations: 0 / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1339, allocations: 358.5 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1339, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.1339, allocations: 19.92 kB / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1339, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-06/0.1339, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.134, allocations: 4 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.134, allocations: 288 / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1342, allocations: 183.6 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.1342, allocations: 92.98 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1343, allocations: 12.06 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.1343, allocations: 4 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1344, allocations: 3.984 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1344, allocations: 4 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.38e-05/0.1345, allocations: 101.6 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1345, allocations: 7.938 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1347, allocations: 27.92 kB / 477.4 MB, free: 7.539 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.001291/0.136, allocations: 1.055 MB / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1362, allocations: 51.97 kB / 478.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1362, allocations: 0 / 478.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.1363, allocations: 39.91 kB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1366, allocations: 12 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.1375, allocations: 0.5162 MB / 479 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1377, allocations: 0.6887 MB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.1378, allocations: 19.97 kB / 479.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.1378, allocations: 23.42 kB / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1378, allocations: 0 / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.151, allocations: 2.29 MB / 482.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.1512, allocations: 216.2 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.09, allocations: 4.062 kB / 482.3 MB, free: 2.805 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat does not exist to compare? outputFormat=mat