Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.0008307/0.0008304, allocations: 96.86 kB / 15.7 MB, free: 468 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.001368/0.001368, allocations: 175.7 kB / 16.58 MB, free: 6.059 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.497/1.497, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.4306/0.4306, allocations: 43.55 MB / 314.6 MB, free: 8.727 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.0005446/0.000545, allocations: 18.97 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1359, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002154/0.1381, allocations: 1.324 MB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.1391, allocations: 0.6448 MB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.1391, allocations: 0 / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1393, allocations: 15.92 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1396, allocations: 35.89 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.1396, allocations: 4 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1398, allocations: 39.84 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.1398, allocations: 3.984 kB / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.1399, allocations: 15.98 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.1399, allocations: 19.88 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.14, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.169e-05/0.14, allocations: 11.92 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.1401, allocations: 11.98 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.1401, allocations: 37.64 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1402, allocations: 60.08 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1402, allocations: 4 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1403, allocations: 0 / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1403, allocations: 0 / 445.1 MB, free: 10.71 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004076/0.1407, allocations: 351.2 kB / 445.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1407, allocations: 8.031 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.1408, allocations: 42.55 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.1408, allocations: 11.86 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.141, allocations: 174.9 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.141, allocations: 4 kB / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.141, allocations: 0 / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1412, allocations: 122.8 kB / 445.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1412, allocations: 4 kB / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1413, allocations: 0 / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.575e-05/0.1413, allocations: 23.98 kB / 445.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.1414, allocations: 47.86 kB / 445.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.1422, allocations: 0.8944 MB / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1423, allocations: 173.2 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/0.1423, allocations: 80.14 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.1424, allocations: 75.28 kB / 447.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.019e-05/0.1425, allocations: 109.8 kB / 447.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1425, allocations: 4 kB / 447.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001076/0.1426, allocations: 37.64 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.1427, allocations: 130.6 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1429, allocations: 182.1 kB / 447.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1429, allocations: 25.7 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.143, allocations: 155.1 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.1431, allocations: 0 / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.1431, allocations: 8 kB / 447.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1432, allocations: 318.8 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.1433, allocations: 31.98 kB / 448.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1435, allocations: 153.2 kB / 448.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1436, allocations: 63.91 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1436, allocations: 7.938 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003869/0.144, allocations: 201 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1441, allocations: 4 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1441, allocations: 8.562 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.1441, allocations: 8 kB / 448.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1443, allocations: 47.92 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.1443, allocations: 11.98 kB / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1444, allocations: 19.75 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1445, allocations: 15.94 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001622/0.1446, allocations: 221 kB / 448.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.1447, allocations: 112.8 kB / 448.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.1448, allocations: 116.8 kB / 449 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.245e-05/0.1449, allocations: 184.2 kB / 449.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.526e-05/0.145, allocations: 176.3 kB / 449.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.909e-05/0.1451, allocations: 180.3 kB / 449.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.1454, allocations: 425.1 kB / 450 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-05/0.1454, allocations: 101 kB / 450.1 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.1455, allocations: 108.9 kB / 450.2 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-05/0.1456, allocations: 180.2 kB / 450.4 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/0.1457, allocations: 192.2 kB / 450.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.995e-05/0.1457, allocations: 176.3 kB / 450.7 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.24e-05/0.1458, allocations: 176.3 kB / 450.9 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.146, allocations: 323.7 kB / 451.2 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.1462, allocations: 185.9 kB / 451.4 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/0.1463, allocations: 180.3 kB / 451.6 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1464, allocations: 108.9 kB / 451.7 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.1465, allocations: 184.2 kB / 451.9 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.1465, allocations: 109 kB / 452 MB, free: 3.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1467, allocations: 132.1 kB / 452.1 MB, free: 3.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1467, allocations: 0 / 452.1 MB, free: 3.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.147, allocations: 16 kB / 452.1 MB, free: 3.141 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 (0): * Single equations (assignments): 0 * 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.0009348/0.1479, allocations: 0.9104 MB / 453 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.1481, allocations: 72.14 kB / 453.1 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.1482, allocations: 3.938 kB / 453.1 MB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.1482, allocations: 1.25 kB / 453.1 MB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.1486, allocations: 0.5341 MB / 453.6 MB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1497, allocations: 0.7602 MB / 454.4 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.15, allocations: 0.697 MB / 455.1 MB, free: 16 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.2075/0.3575, allocations: 50.17 kB / 455.1 MB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3576, allocations: 22.34 kB / 455.2 MB, free: 46.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3576, allocations: 0 / 455.2 MB, free: 46.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.3705, allocations: 1.893 MB / 457 MB, free: 46.28 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.3707, allocations: 217.4 kB / 457.3 MB, free: 46.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.058, allocations: 0 / 457.3 MB, free: 46.05 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat does not exist to compare? outputFormat=mat