Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.00116/0.00116, allocations: 92.52 kB / 17 MB, free: 6.418 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.001276/0.001276, allocations: 188.9 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.39/1.39, allocations: 223.2 MB / 241.9 MB, free: 244 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.2454/0.2454, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001961/0.1457, allocations: 1.329 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006903/0.1464, allocations: 419.5 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.1465, allocations: 0 / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.147, allocations: 439.2 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1472, allocations: 243.5 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1476, allocations: 159.2 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1478, allocations: 139.6 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.1479, allocations: 12 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.148, allocations: 95.8 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1482, allocations: 171.7 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1482, allocations: 4 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.1483, allocations: 47.86 kB / 474.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.1484, allocations: 79.75 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.1485, allocations: 69.45 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1487, allocations: 199.9 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1487, allocations: 0 / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1487, allocations: 0 / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1487, allocations: 0 / 475 MB, free: 10.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006461/0.1494, allocations: 0.6027 MB / 475.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1494, allocations: 8.031 kB / 475.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.1495, allocations: 34.55 kB / 475.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.1495, allocations: 43.44 kB / 475.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1498, allocations: 283.3 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1498, allocations: 0 / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1498, allocations: 11.89 kB / 476 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.15, allocations: 57.67 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.15, allocations: 8 kB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.15, allocations: 4 kB / 476.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.15, allocations: 3.938 kB / 476.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1501, allocations: 35.97 kB / 476.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.1507, allocations: 416.5 kB / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.1508, allocations: 46.56 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.1508, allocations: 24.94 kB / 476.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1508, allocations: 96 / 476.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1509, allocations: 38.5 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1509, allocations: 0 / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008715/0.1518, allocations: 347.9 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1518, allocations: 51.41 kB / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/0.1526, allocations: 0.8691 MB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1526, allocations: 25.7 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1528, allocations: 239.9 kB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.1528, allocations: 27.64 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1528, allocations: 0 / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.153, allocations: 362.8 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.263e-05/0.1531, allocations: 31.98 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.1531, allocations: 35.97 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.1532, allocations: 40.22 kB / 478.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1532, allocations: 0 / 478.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.1535, allocations: 157 kB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1535, allocations: 8 kB / 478.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1535, allocations: 8 kB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.1535, allocations: 0 / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.1536, allocations: 19.98 kB / 478.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1536, allocations: 0 / 478.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.1537, allocations: 15.88 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1537, allocations: 4 kB / 478.8 MB, free: 6.211 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.0001774/0.1539, allocations: 210.3 kB / 479 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.154, allocations: 47.44 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.1543, allocations: 185.4 kB / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1543, allocations: 0 / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1543, allocations: 0 / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1543, allocations: 3.984 kB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.1549, allocations: 0.5265 MB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1549, allocations: 7.938 kB / 479.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.155, allocations: 24.02 kB / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.155, allocations: 0 / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.155, allocations: 0 / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.155, allocations: 3.953 kB / 479.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.155, allocations: 4 kB / 479.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1553, allocations: 255.7 kB / 480.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.1554, allocations: 120.5 kB / 480.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1554, allocations: 0 / 480.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.1555, allocations: 7.984 kB / 480.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1556, allocations: 7.953 kB / 480.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1556, allocations: 4 kB / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006077/0.1562, allocations: 0.6589 MB / 480.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1562, allocations: 4 kB / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1565, allocations: 27.98 kB / 480.9 MB, free: 4.016 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.001456/0.1579, allocations: 1.135 MB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1582, allocations: 83.95 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1582, allocations: 7.875 kB / 482.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.1583, allocations: 43.97 kB / 482.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1586, allocations: 30.25 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.1617, allocations: 2.44 MB / 484.6 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.1623, allocations: 0.8301 MB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.1624, allocations: 24.72 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.1625, allocations: 119.4 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1625, allocations: 0 / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.1808, allocations: 5.755 MB / 491.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.181, allocations: 236.8 kB / 491.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.168, allocations: 3.938 kB / 491.6 MB, free: 9.477 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat