Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001067/0.001067, allocations: 96.12 kB / 16.99 MB, free: 5.957 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.0009996/0.0009994, allocations: 181.5 kB / 17.87 MB, free: 5.629 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.5/1.5, allocations: 223.2 MB / 241.8 MB, free: 304 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.237/0.237, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8.75 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001975/0.145, allocations: 1.263 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006454/0.1457, allocations: 379.5 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.1458, allocations: 0 / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.1464, allocations: 439.2 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.1467, allocations: 231.6 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1472, allocations: 150.7 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1474, allocations: 115.8 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.1475, allocations: 19.98 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.1476, allocations: 103.8 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1478, allocations: 139.7 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1478, allocations: 3.984 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.1479, allocations: 12 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.148, allocations: 87.73 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.1481, allocations: 61.52 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1483, allocations: 176 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1483, allocations: 0 / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1483, allocations: 0 / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.1483, allocations: 0 / 474.7 MB, free: 10.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006433/0.1489, allocations: 0.591 MB / 475.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.149, allocations: 16.03 kB / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.149, allocations: 30.56 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.1491, allocations: 47.38 kB / 475.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1494, allocations: 271.4 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-06/0.1494, allocations: 3.938 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1494, allocations: 7.953 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1496, allocations: 53.62 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1496, allocations: 0 / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1496, allocations: 0 / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1496, allocations: 7.984 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.1497, allocations: 27.98 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.1503, allocations: 388.7 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.576e-05/0.1503, allocations: 42.56 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1504, allocations: 0 / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1504, allocations: 34.56 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.1504, allocations: 3.984 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002539/0.1507, allocations: 109.1 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1507, allocations: 55.53 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007463/0.1515, allocations: 0.8691 MB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1515, allocations: 25.7 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1516, allocations: 216.1 kB / 477.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1517, allocations: 11.84 kB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.1517, allocations: 4 kB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1518, allocations: 362.7 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.1519, allocations: 15.94 kB / 477.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.1519, allocations: 15.98 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.152, allocations: 8 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.152, allocations: 0 / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.1522, allocations: 101.2 kB / 478 MB, free: 7.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1522, allocations: 4 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1522, allocations: 4.094 kB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1522, allocations: 0 / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.1523, allocations: 4 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1523, allocations: 0 / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.1523, allocations: 7.984 kB / 478 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1524, allocations: 4 kB / 478 MB, free: 6.988 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 (2): * Single equations (assignments): 2 * 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.0001812/0.1525, allocations: 210.3 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.1526, allocations: 43.38 kB / 478.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.1528, allocations: 124.5 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1528, allocations: 0 / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1528, allocations: 0 / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1528, allocations: 0 / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.1531, allocations: 289.5 kB / 478.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1531, allocations: 0 / 478.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.1532, allocations: 4 kB / 478.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1532, allocations: 4.031 kB / 478.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.1532, allocations: 7.938 kB / 478.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1532, allocations: 3.984 kB / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1532, allocations: 0 / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1534, allocations: 186.9 kB / 478.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.1535, allocations: 120.6 kB / 479 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1535, allocations: 4.031 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1536, allocations: 4 kB / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.1536, allocations: 0 / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1536, allocations: 0 / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005315/0.1542, allocations: 0.6589 MB / 479.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1542, allocations: 0 / 479.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1544, allocations: 23.91 kB / 479.7 MB, free: 5.223 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 (2): * Single equations (assignments): 2 * 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.001049/0.1555, allocations: 0.9772 MB / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.1556, allocations: 23.98 kB / 480.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1556, allocations: 0 / 480.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.1557, allocations: 15.98 kB / 480.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.156, allocations: 26.23 kB / 480.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.1584, allocations: 2.166 MB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.1588, allocations: 0.834 MB / 483.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.1589, allocations: 8.188 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.159, allocations: 111.4 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.159, allocations: 0 / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.1745, allocations: 5.162 MB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.1747, allocations: 218.1 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.906, allocations: 0 / 489.2 MB, free: 11.79 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat