Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.0008812/0.0008813, allocations: 98.38 kB / 17 MB, free: 6.402 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.0009282/0.0009284, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.386/1.386, allocations: 223.3 MB / 241.9 MB, free: 300 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.2202/0.2202, allocations: 44.21 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 8.219 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002014/0.1284, allocations: 1.274 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1297, allocations: 0.9492 MB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.1298, allocations: 0 / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.13, allocations: 19.94 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1301, allocations: 39.89 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.1304, allocations: 75.59 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1306, allocations: 55.84 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1307, allocations: 12.17 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.1308, allocations: 27.84 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1309, allocations: 23.86 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.131, allocations: 4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1311, allocations: 43.97 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.1312, allocations: 11.94 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.1312, allocations: 33.7 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1314, allocations: 76.09 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1314, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1314, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1314, allocations: 0 / 474.3 MB, free: 10.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005639/0.132, allocations: 383 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.1321, allocations: 8.031 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1321, allocations: 34.56 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.1322, allocations: 11.91 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1324, allocations: 187 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1324, allocations: 0 / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1325, allocations: 7.953 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1327, allocations: 67.39 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1327, allocations: 7.906 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.1327, allocations: 11.98 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1328, allocations: 7.938 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1329, allocations: 31.92 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.1334, allocations: 292.8 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1335, allocations: 62.48 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.1336, allocations: 20.98 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1337, allocations: 0 / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1337, allocations: 34.55 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1337, allocations: 0 / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007816/0.1345, allocations: 193.2 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.1346, allocations: 77.11 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1347, allocations: 140.6 kB / 475.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1348, allocations: 29.7 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.1349, allocations: 96.12 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.1349, allocations: 35.61 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.1349, allocations: 0 / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1351, allocations: 322.8 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1352, allocations: 23.98 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1353, allocations: 53.75 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1354, allocations: 31.98 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1354, allocations: 0 / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002906/0.1357, allocations: 105.5 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1358, allocations: 8.031 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1358, allocations: 0 / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1358, allocations: 0 / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1359, allocations: 23.97 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.136, allocations: 0 / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.1361, allocations: 11.98 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1361, allocations: 0 / 476.6 MB, free: 8.438 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.0001099/0.1362, allocations: 122.3 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.1362, allocations: 7.906 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.1366, allocations: 129.9 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1366, allocations: 0 / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1366, allocations: 0 / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1366, allocations: 0 / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006451/0.1373, allocations: 390.8 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1373, allocations: 7.922 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.1374, allocations: 19.94 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1374, allocations: 4 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1374, allocations: 4 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.1375, allocations: 3.984 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1375, allocations: 0 / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.1378, allocations: 211.8 kB / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1379, allocations: 89 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1379, allocations: 3.938 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.138, allocations: 15.98 kB / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1381, allocations: 4 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1381, allocations: 4 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1382, allocations: 111.2 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1382, allocations: 0 / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.1386, allocations: 27.95 kB / 477.7 MB, free: 7.199 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 (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.001997/0.1407, allocations: 1.071 MB / 478.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.141, allocations: 75.89 kB / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.141, allocations: 4 kB / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1411, allocations: 35.98 kB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.1416, allocations: 15.98 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.143, allocations: 0.5912 MB / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1434, allocations: 0.6965 MB / 480.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.829e-05/0.1435, allocations: 13.12 kB / 480.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.1436, allocations: 27.42 kB / 480.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1436, allocations: 3.938 kB / 480.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.1604, allocations: 2.474 MB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.1606, allocations: 222.8 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.094, allocations: 0 / 482.9 MB, free: 2.156 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat does not exist to compare? outputFormat=mat