Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001133/0.001133, allocations: 94.67 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.001318/0.001319, allocations: 183 kB / 17.87 MB, free: 5.598 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.392/1.392, 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.2406/0.2406, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003395, allocations: 9.938 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002454/0.1372, allocations: 1.532 MB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1387, allocations: 0.745 MB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.1388, allocations: 0 / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.1393, allocations: 243.4 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1396, allocations: 171.6 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1409, allocations: 0.5851 MB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.1413, allocations: 179.6 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1414, allocations: 60.28 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1416, allocations: 99.59 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1418, allocations: 127.5 kB / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1418, allocations: 4 kB / 475.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1419, allocations: 39.84 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.142, allocations: 79.75 kB / 475.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.1421, allocations: 61.52 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1423, allocations: 203.6 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1423, allocations: 4 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1424, allocations: 0 / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1424, allocations: 0 / 475.6 MB, free: 9.527 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006901/0.1431, allocations: 0.5796 MB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1431, allocations: 8.031 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.1432, allocations: 42.55 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.1432, allocations: 43.44 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.1436, allocations: 301.2 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1437, allocations: 4 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1437, allocations: 7.953 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1439, allocations: 101 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1439, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1439, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.144, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.1441, allocations: 79.95 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.1448, allocations: 464.4 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.145, allocations: 78.47 kB / 477.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.145, allocations: 7.984 kB / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.145, allocations: 38.67 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.145, allocations: 3.938 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003988/0.1454, allocations: 157.2 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1455, allocations: 55.41 kB / 477.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/0.1461, allocations: 0.5487 MB / 478.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1461, allocations: 25.7 kB / 478.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1462, allocations: 200.2 kB / 478.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1463, allocations: 23.73 kB / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.1463, allocations: 0 / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1464, allocations: 354.8 kB / 478.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.1465, allocations: 27.92 kB / 478.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.1466, allocations: 31.98 kB / 478.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/0.1466, allocations: 32.36 kB / 478.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1466, allocations: 0 / 478.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002026/0.1469, allocations: 133.2 kB / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1469, allocations: 8 kB / 478.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1469, allocations: 0 / 478.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1469, allocations: 4 kB / 479 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.147, allocations: 15.98 kB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.147, allocations: 0 / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.1471, allocations: 4 kB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.1471, allocations: 4 kB / 479 MB, free: 5.969 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 (6): * Single equations (assignments): 6 * 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.000153/0.1473, allocations: 178.2 kB / 479.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.1473, allocations: 39.47 kB / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1476, allocations: 160.8 kB / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1476, allocations: 0 / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1476, allocations: 0 / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1476, allocations: 0 / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.1479, allocations: 293.5 kB / 479.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1479, allocations: 0 / 479.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.148, allocations: 12 kB / 479.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.148, allocations: 0 / 479.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.148, allocations: 7.938 kB / 479.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.148, allocations: 4 kB / 479.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.148, allocations: 0 / 479.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1483, allocations: 230.9 kB / 479.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/0.1484, allocations: 132.5 kB / 480 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.1484, allocations: 0 / 480 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.1485, allocations: 8 kB / 480 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.1486, allocations: 4.188 kB / 480 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1486, allocations: 4 kB / 480 MB, free: 4.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000416/0.149, allocations: 415.1 kB / 480.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.149, allocations: 4 kB / 480.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1493, allocations: 32 kB / 480.5 MB, free: 4.379 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 (6): * Single equations (assignments): 6 * 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.001823/0.1511, allocations: 1.257 MB / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1514, allocations: 67.95 kB / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1514, allocations: 0 / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.1515, allocations: 47.91 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.1519, allocations: 57.5 kB / 481.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.1544, allocations: 1.774 MB / 483.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1548, allocations: 0.8142 MB / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.155, allocations: 49.5 kB / 484.5 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1551, allocations: 107.3 kB / 484.6 MB, free: 372 kB / 350.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1551, allocations: 0 / 484.6 MB, free: 372 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.1739, allocations: 5.998 MB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.1741, allocations: 215.6 kB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.001, allocations: 0 / 490.8 MB, free: 10.26 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat