Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.001279/0.001279, allocations: 93.81 kB / 16.98 MB, free: 5.938 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.001507/0.001507, allocations: 184.2 kB / 17.88 MB, free: 5.594 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.39/1.39, allocations: 223.2 MB / 241.8 MB, free: 392 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.2325/0.2325, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002335/0.1331, allocations: 1.618 MB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1344, allocations: 0.8816 MB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1345, allocations: 4 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1347, allocations: 35.78 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.135, allocations: 131.6 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007579/0.1358, allocations: 386 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.136, allocations: 167.5 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1362, allocations: 48.48 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1364, allocations: 99.58 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1366, allocations: 143.5 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1366, allocations: 4 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.1367, allocations: 35.98 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1369, allocations: 123.6 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.663e-05/0.137, allocations: 77.45 kB / 475.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.1373, allocations: 275.7 kB / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1373, allocations: 0 / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1373, allocations: 4 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1374, allocations: 0 / 475.5 MB, free: 9.633 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001055/0.1384, allocations: 0.7077 MB / 476.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1385, allocations: 8.031 kB / 476.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.1385, allocations: 42.55 kB / 476.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.1386, allocations: 55.34 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.1392, allocations: 423 kB / 476.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1393, allocations: 4 kB / 476.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1393, allocations: 19.94 kB / 476.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1396, allocations: 131.3 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1396, allocations: 4 kB / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1396, allocations: 7.938 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1396, allocations: 0 / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1399, allocations: 87.89 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.1408, allocations: 0.6799 MB / 477.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.141, allocations: 117.2 kB / 477.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.141, allocations: 4.125 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1411, allocations: 34.56 kB / 477.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1411, allocations: 0 / 477.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001338/0.1424, allocations: 0.541 MB / 478.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1425, allocations: 81.11 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008604/0.1434, allocations: 0.8778 MB / 479.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1434, allocations: 29.7 kB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1436, allocations: 248.2 kB / 479.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.1436, allocations: 47.27 kB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.1436, allocations: 7.938 kB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1438, allocations: 378.7 kB / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.144, allocations: 59.97 kB / 480.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1441, allocations: 81.61 kB / 480.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1443, allocations: 72.11 kB / 480.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1443, allocations: 0 / 480.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004611/0.1448, allocations: 240.9 kB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1448, allocations: 7.953 kB / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1448, allocations: 0 / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1448, allocations: 4 kB / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.145, allocations: 39.97 kB / 480.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1451, allocations: 0 / 480.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1452, allocations: 24.2 kB / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1452, allocations: 7.984 kB / 480.6 MB, free: 4.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001995/0.1454, allocations: 214.2 kB / 480.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/0.1455, allocations: 51.34 kB / 480.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.1461, allocations: 282.7 kB / 481.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1461, allocations: 4 kB / 481.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1461, allocations: 0 / 481.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1461, allocations: 8 kB / 481.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1472, allocations: 0.7907 MB / 481.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1472, allocations: 0 / 481.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1473, allocations: 43.91 kB / 481.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1474, allocations: 0 / 481.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1474, allocations: 8 kB / 482 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1474, allocations: 0 / 482 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1474, allocations: 0 / 482 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.1479, allocations: 431.6 kB / 482.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.1481, allocations: 152.4 kB / 482.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.1481, allocations: 8 kB / 482.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1483, allocations: 11.98 kB / 482.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.1484, allocations: 15.98 kB / 482.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1484, allocations: 4 kB / 482.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006728/0.1491, allocations: 0.6432 MB / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1491, allocations: 0 / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.1494, allocations: 51.94 kB / 483.3 MB, free: 1.535 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 (16): * Single equations (assignments): 16 * 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.001615/0.1511, allocations: 1.316 MB / 484.6 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.1515, allocations: 163.8 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1515, allocations: 0 / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.1517, allocations: 87.89 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.1521, allocations: 68.3 kB / 484.9 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.1562, allocations: 3.168 MB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1567, allocations: 0.8655 MB / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.1569, allocations: 75.84 kB / 489 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.1571, allocations: 167.4 kB / 489.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1571, allocations: 0 / 489.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.1753, allocations: 8.566 MB / 497.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/0.1755, allocations: 214.7 kB / 497.9 MB, free: 3.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.048, allocations: 4.062 kB / 497.9 MB, free: 3.008 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat does not exist to compare? outputFormat=mat