Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.0009685, allocations: 92.41 kB / 16.98 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.0009616/0.0009618, allocations: 181.2 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.391/1.391, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2298/0.2298, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 9.344 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.132, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001965/0.134, allocations: 1.274 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006582/0.1347, allocations: 371.6 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.1347, allocations: 4 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.135, allocations: 95.73 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1352, allocations: 63.84 kB / 473.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1355, allocations: 107.4 kB / 473.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1356, allocations: 51.88 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1357, allocations: 12.17 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.1358, allocations: 31.91 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1359, allocations: 47.81 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1359, allocations: 4 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.136, allocations: 35.86 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.1361, allocations: 23.92 kB / 473.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.1361, allocations: 37.64 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1363, allocations: 80.16 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.1363, allocations: 4 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1363, allocations: 0 / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1363, allocations: 0 / 473.8 MB, free: 11.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000531/0.1368, allocations: 410.8 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1369, allocations: 8.031 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.1369, allocations: 38.5 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.137, allocations: 11.91 kB / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1372, allocations: 207.3 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.1372, allocations: 0 / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1373, allocations: 11.89 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1374, allocations: 49.69 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1375, allocations: 0 / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1375, allocations: 4 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1375, allocations: 0 / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1376, allocations: 43.97 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1381, allocations: 296.8 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1382, allocations: 50.5 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1382, allocations: 4 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1383, allocations: 34.56 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1383, allocations: 0 / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009562/0.1392, allocations: 273.5 kB / 475.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1393, allocations: 55.41 kB / 475.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1395, allocations: 238.7 kB / 475.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1396, allocations: 29.69 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.1396, allocations: 108 kB / 475.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.1397, allocations: 27.64 kB / 475.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.1397, allocations: 0 / 475.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1398, allocations: 334.7 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.1399, allocations: 35.97 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.14, allocations: 32.06 kB / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.751e-05/0.1401, allocations: 40.12 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1401, allocations: 0 / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.1404, allocations: 125.5 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1404, allocations: 7.984 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1404, allocations: 0 / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1404, allocations: 0 / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.1405, allocations: 19.94 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.1405, allocations: 3.984 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.1406, allocations: 19.88 kB / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1406, allocations: 4 kB / 476.2 MB, free: 8.684 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 (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.0001091/0.1407, allocations: 133.8 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1407, allocations: 11.81 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.1411, allocations: 143 kB / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1411, allocations: 0 / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1411, allocations: 0 / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1411, allocations: 0 / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.1417, allocations: 435.2 kB / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1417, allocations: 0 / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.1418, allocations: 27.92 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1418, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1418, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1418, allocations: 4 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1418, allocations: 0 / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1421, allocations: 233.9 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1422, allocations: 89 kB / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1422, allocations: 4 kB / 477.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1423, allocations: 8 kB / 477.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1424, allocations: 19.88 kB / 477.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1424, allocations: 4 kB / 477.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1425, allocations: 188.3 kB / 477.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1425, allocations: 0 / 477.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1428, allocations: 23.91 kB / 477.5 MB, free: 7.273 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001794/0.1446, allocations: 1.175 MB / 478.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1449, allocations: 87.88 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1449, allocations: 3.938 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.145, allocations: 47.92 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.1453, allocations: 16.12 kB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.1467, allocations: 0.8597 MB / 479.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1471, allocations: 0.716 MB / 480.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.563e-05/0.1472, allocations: 20.94 kB / 480.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.1472, allocations: 39.42 kB / 480.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1472, allocations: 0 / 480.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.1613, allocations: 2.775 MB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/0.1617, allocations: 210.3 kB / 483.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.882, allocations: 0 / 483.5 MB, free: 1.5 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat does not exist to compare? outputFormat=mat