Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001072/0.001072, allocations: 96.56 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.001179/0.001179, 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.394/1.394, allocations: 223.2 MB / 241.8 MB, free: 372 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.2191/0.2191, allocations: 44.23 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003124, allocations: 9.844 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.001945/0.1215, allocations: 1.329 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000641/0.1221, allocations: 391.5 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.1222, allocations: 0 / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1224, allocations: 59.84 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.1226, allocations: 47.81 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.123, allocations: 159.3 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1232, allocations: 47.88 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1233, allocations: 15.98 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.1234, allocations: 27.91 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1235, allocations: 35.84 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1235, allocations: 4 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.1236, allocations: 35.92 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.1237, allocations: 23.91 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.1237, allocations: 37.64 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1238, allocations: 80.09 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1239, allocations: 0 / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1239, allocations: 4 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1239, allocations: 3.938 kB / 473.8 MB, free: 11.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005355/0.1244, allocations: 399 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1245, allocations: 12.03 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.1245, allocations: 38.5 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.1246, allocations: 7.906 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1248, allocations: 194.9 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1248, allocations: 4 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1248, allocations: 11.86 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.125, allocations: 65.67 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1251, allocations: 4 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1251, allocations: 7.922 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1251, allocations: 7.938 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1253, allocations: 47.97 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.1258, allocations: 320.8 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.126, allocations: 70.58 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1261, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1261, allocations: 34.56 kB / 475 MB, free: 9.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.1261, allocations: 0 / 475 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001564/0.1277, allocations: 0.4893 MB / 475.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1277, allocations: 59.39 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1279, allocations: 190.2 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1279, allocations: 25.7 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.128, allocations: 108 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.128, allocations: 35.45 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.128, allocations: 4 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1281, allocations: 326.8 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1283, allocations: 59.95 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1284, allocations: 63.91 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1286, allocations: 71.95 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1286, allocations: 0 / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000326/0.1289, allocations: 177.4 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1289, allocations: 4 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.129, allocations: 3.984 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.129, allocations: 4 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1291, allocations: 27.92 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1291, allocations: 8 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.1292, allocations: 19.92 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1292, allocations: 7.953 kB / 476.7 MB, free: 8.258 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 (11): * Single equations (assignments): 11 * 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.976e-05/0.1293, allocations: 130.4 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.1293, allocations: 11.89 kB / 476.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.1297, allocations: 202.6 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1298, allocations: 7.938 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1298, allocations: 0 / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1298, allocations: 4 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.1305, allocations: 0.504 MB / 477.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1305, allocations: 3.984 kB / 477.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1306, allocations: 31.92 kB / 477.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1306, allocations: 0 / 477.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1306, allocations: 8.375 kB / 477.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1306, allocations: 3.953 kB / 477.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1306, allocations: 0 / 477.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.1311, allocations: 324.4 kB / 477.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.1311, allocations: 92.97 kB / 478 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1312, allocations: 3.984 kB / 478 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1313, allocations: 12 kB / 478 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.1313, allocations: 15.98 kB / 478 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.1313, allocations: 4 kB / 478 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1315, allocations: 144 kB / 478.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1315, allocations: 0 / 478.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1317, allocations: 27.98 kB / 478.2 MB, free: 6.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001693/0.1334, allocations: 1.329 MB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.1338, allocations: 147.8 kB / 479.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1338, allocations: 0 / 479.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.134, allocations: 84.02 kB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1342, allocations: 18.47 kB / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1357, allocations: 0.9066 MB / 480.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.136, allocations: 0.72 MB / 481.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.567e-05/0.1361, allocations: 24.53 kB / 481.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.1361, allocations: 35.42 kB / 481.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1361, allocations: 0 / 481.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.1484, allocations: 2.918 MB / 484.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.1486, allocations: 219.8 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.841, allocations: 0 / 484.6 MB, free: 380 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat does not exist to compare? outputFormat=mat