Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25",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.001397/0.001397, allocations: 96.75 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 177.6 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4413/0.4413, allocations: 43.54 MB / 314.5 MB, free: 8.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004798, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.002439/0.1463, allocations: 1.326 MB / 444.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007102/0.1471, allocations: 271.9 kB / 444.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.1471, allocations: 0 / 444.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1474, allocations: 39.88 kB / 444.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1475, allocations: 43.83 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1479, allocations: 103.8 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.148, allocations: 39.94 kB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.1481, allocations: 12.19 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.1482, allocations: 23.86 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.1483, allocations: 27.89 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1483, allocations: 8 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.53e-05/0.1484, allocations: 23.92 kB / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.1485, allocations: 15.92 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1485, allocations: 37.64 kB / 444.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1487, allocations: 60.12 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1487, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1487, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1487, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005164/0.1492, allocations: 403 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1493, allocations: 12.03 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.1493, allocations: 34.56 kB / 445.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1494, allocations: 11.86 kB / 445.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1496, allocations: 191.4 kB / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1496, allocations: 4 kB / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1497, allocations: 3.984 kB / 445.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1499, allocations: 65.61 kB / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1499, allocations: 4 kB / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1499, allocations: 0 / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1499, allocations: 4 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1501, allocations: 39.92 kB / 445.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1506, allocations: 300.7 kB / 445.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1507, allocations: 46.56 kB / 446 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1508, allocations: 0 / 446 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1508, allocations: 34.56 kB / 446 MB, free: 9.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1508, allocations: 0 / 446 MB, free: 9.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001021/0.1519, allocations: 249.1 kB / 446.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1519, allocations: 51.41 kB / 446.3 MB, free: 9.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1522, allocations: 175 kB / 446.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1522, allocations: 29.7 kB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.1523, allocations: 96.14 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1523, allocations: 27.64 kB / 446.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.1523, allocations: 0 / 446.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1525, allocations: 322.8 kB / 446.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.1527, allocations: 35.98 kB / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1529, allocations: 43.91 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.153, allocations: 39.97 kB / 447 MB, free: 8.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1531, allocations: 4 kB / 447 MB, free: 8.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000423/0.1535, allocations: 129.6 kB / 447.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1535, allocations: 11.95 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1535, allocations: 0 / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1536, allocations: 0 / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1537, allocations: 23.98 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1537, allocations: 0 / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1539, allocations: 15.98 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1539, allocations: 0 / 447.2 MB, free: 8.578 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001425/0.154, allocations: 137.8 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.1541, allocations: 11.91 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.1546, allocations: 146.2 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1546, allocations: 0 / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.1546, allocations: 4 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.1547, allocations: 3.938 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.1556, allocations: 410.8 kB / 447.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1556, allocations: 3.953 kB / 447.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1558, allocations: 23.98 kB / 447.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1558, allocations: 0 / 447.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1558, allocations: 4 kB / 447.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1558, allocations: 0 / 447.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1558, allocations: 0 / 447.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.1563, allocations: 235.4 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.1564, allocations: 88.97 kB / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.1565, allocations: 0 / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1566, allocations: 15.98 kB / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1567, allocations: 7.984 kB / 448.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1567, allocations: 0 / 448.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1569, allocations: 140.5 kB / 448.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1569, allocations: 0 / 448.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.1573, allocations: 27.98 kB / 448.5 MB, free: 7.242 MB / 382.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 (7): * Single equations (assignments): 7 * 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.002693/0.16, allocations: 1.051 MB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.1605, allocations: 95.83 kB / 449.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1606, allocations: 0 / 449.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.1608, allocations: 55.95 kB / 449.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1612, allocations: 15.98 kB / 449.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1636, allocations: 0.7059 MB / 450.4 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.1644, allocations: 0.7004 MB / 451.1 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.1645, allocations: 28.64 kB / 451.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1646, allocations: 27.44 kB / 451.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1646, allocations: 0 / 451.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.1814, allocations: 2.366 MB / 453.5 MB, free: 2.145 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/0.1817, allocations: 206.1 kB / 453.7 MB, free: 1.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/1.938, allocations: 0 / 453.7 MB, free: 1.91 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat does not exist to compare? outputFormat=mat