Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001255, allocations: 96.83 kB / 17 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 193.4 kB / 17.91 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003067, allocations: 7.938 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.00189/0.1419, allocations: 1.291 MB / 482.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1436, allocations: 1.07 MB / 484 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.1436, allocations: 0 / 484 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.1439, allocations: 31.86 kB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1441, allocations: 67.81 kB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1444, allocations: 91.81 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1446, allocations: 55.78 kB / 484.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1447, allocations: 12 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.1447, allocations: 19.92 kB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1449, allocations: 31.83 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1449, allocations: 4 kB / 484.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1451, allocations: 79.89 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.1451, allocations: 11.98 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.1452, allocations: 33.64 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1454, allocations: 104.1 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1454, allocations: 0 / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1454, allocations: 0 / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1454, allocations: 0 / 484.5 MB, free: 2.348 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.0006395/0.1461, allocations: 399.1 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1461, allocations: 8.031 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.1462, allocations: 38.53 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.1462, allocations: 7.906 kB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1465, allocations: 201.6 kB / 485.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1465, allocations: 0 / 485.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1465, allocations: 4 kB / 485.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1467, allocations: 63.41 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1467, allocations: 0 / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1467, allocations: 4 kB / 485.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1467, allocations: 4 kB / 485.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.175e-05/0.1468, allocations: 27.97 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1472, allocations: 292.8 kB / 485.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1474, allocations: 42.56 kB / 485.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.1475, allocations: 20.94 kB / 485.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1475, allocations: 4 kB / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1476, allocations: 34.56 kB / 485.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1476, allocations: 0 / 485.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005663/0.1481, allocations: 169.2 kB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.1482, allocations: 81.06 kB / 485.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1484, allocations: 148.2 kB / 486.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1484, allocations: 25.7 kB / 486.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.1484, allocations: 92.14 kB / 486.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1485, allocations: 19.73 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.1485, allocations: 3.938 kB / 486.2 MB, free: 484 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1486, allocations: 318.8 kB / 486.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.1487, allocations: 31.97 kB / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.1488, allocations: 33.7 kB / 486.6 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.1488, allocations: 27.98 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1488, allocations: 0 / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.149, allocations: 97.59 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1491, allocations: 7.938 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1491, allocations: 0 / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1491, allocations: 0 / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.1492, allocations: 12 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1492, allocations: 11.89 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.1492, allocations: 11.98 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1492, allocations: 4 kB / 486.7 MB, free: 15.91 MB / 366.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 (5): * Single equations (assignments): 5 * 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 8.848e-05/0.1493, allocations: 113.8 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1494, allocations: 7.906 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.1496, allocations: 109.9 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1496, allocations: 0 / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1496, allocations: 0 / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1496, allocations: 7.953 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.1501, allocations: 374.4 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1501, allocations: 384 / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.1502, allocations: 8 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1502, allocations: 7.984 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1502, allocations: 8 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1502, allocations: 3.953 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1502, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1505, allocations: 191.5 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1505, allocations: 85.3 kB / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1506, allocations: 0 / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1506, allocations: 11.98 kB / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1507, allocations: 7.938 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1507, allocations: 8 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.28e-05/0.1508, allocations: 113.4 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1508, allocations: 0 / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1511, allocations: 35.98 kB / 487.8 MB, free: 14.73 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001575/0.1527, allocations: 1.101 MB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1529, allocations: 63.95 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1529, allocations: 0 / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.153, allocations: 31.98 kB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1533, allocations: 19.94 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.1543, allocations: 0.5746 MB / 489.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1546, allocations: 0.6926 MB / 490.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.054e-05/0.1547, allocations: 28.38 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.1548, allocations: 23.42 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1548, allocations: 0 / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1769, allocations: 2.793 MB / 493.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/0.1772, allocations: 226.1 kB / 493.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.044, allocations: 7.562 kB / 493.4 MB, free: 9.34 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat does not exist to compare? outputFormat=mat