Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001035/0.001035, allocations: 97.81 kB / 17 MB, free: 6.391 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.001419/0.001419, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.384/1.384, allocations: 223.2 MB / 241.9 MB, free: 252 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.2205/0.2205, allocations: 44.22 MB / 337.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003204, allocations: 8.719 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002358/0.1338, allocations: 1.609 MB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1356, allocations: 0.8971 MB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1357, allocations: 4 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.1362, allocations: 247.4 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.1366, allocations: 171.5 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1379, allocations: 0.6024 MB / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.1383, allocations: 259.2 kB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1385, allocations: 64.55 kB / 475.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1386, allocations: 107.5 kB / 475.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1389, allocations: 163.4 kB / 475.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1389, allocations: 4 kB / 475.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.1392, allocations: 83.91 kB / 475.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1393, allocations: 79.73 kB / 475.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.1394, allocations: 65.45 kB / 476 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.1398, allocations: 247.6 kB / 476.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1398, allocations: 3.938 kB / 476.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1398, allocations: 0 / 476.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1398, allocations: 4 kB / 476.2 MB, free: 9.047 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001037/0.1409, allocations: 0.6107 MB / 476.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.141, allocations: 11.97 kB / 476.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.141, allocations: 38.56 kB / 476.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.1411, allocations: 39.53 kB / 476.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.1415, allocations: 317.1 kB / 477.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1415, allocations: 8 kB / 477.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.1416, allocations: 15.95 kB / 477.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.1419, allocations: 129.5 kB / 477.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.142, allocations: 4 kB / 477.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.142, allocations: 0 / 477.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.142, allocations: 4 kB / 477.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.1422, allocations: 95.94 kB / 477.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.143, allocations: 0.5198 MB / 478 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1432, allocations: 102.5 kB / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.06e-05/0.1433, allocations: 44.84 kB / 478.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.1434, allocations: 7.984 kB / 478.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.1434, allocations: 34.56 kB / 478.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.1434, allocations: 0 / 478.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00107/0.1445, allocations: 459.8 kB / 478.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1446, allocations: 59.39 kB / 478.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006379/0.1452, allocations: 0.5448 MB / 479.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1452, allocations: 29.7 kB / 479.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1454, allocations: 208.3 kB / 479.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1455, allocations: 51.2 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.1455, allocations: 4 kB / 479.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1456, allocations: 354.8 kB / 479.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1458, allocations: 71.95 kB / 480 MB, free: 5.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1459, allocations: 74.2 kB / 480 MB, free: 5.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1461, allocations: 79.97 kB / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1461, allocations: 0 / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004075/0.1465, allocations: 237 kB / 480.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1465, allocations: 8 kB / 480.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1465, allocations: 3.938 kB / 480.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1465, allocations: 0 / 480.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1467, allocations: 35.98 kB / 480.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1468, allocations: 0 / 480.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.1468, allocations: 11.98 kB / 480.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1469, allocations: 8 kB / 480.4 MB, free: 4.648 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 (17): * Single equations (assignments): 17 * 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.0002802/0.1472, allocations: 178.3 kB / 480.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.1472, allocations: 51.36 kB / 480.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006083/0.1478, allocations: 295.2 kB / 480.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1479, allocations: 0 / 480.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1479, allocations: 0 / 480.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1479, allocations: 0 / 480.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.149, allocations: 0.6817 MB / 481.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.149, allocations: 0 / 481.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.1491, allocations: 39.91 kB / 481.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1491, allocations: 0 / 481.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1491, allocations: 16 kB / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1492, allocations: 0 / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1492, allocations: 0 / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.1496, allocations: 341 kB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1498, allocations: 128.5 kB / 482.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.1498, allocations: 4 kB / 482.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1499, allocations: 11.98 kB / 482.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.15, allocations: 11.98 kB / 482.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.15, allocations: 4 kB / 482.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000515/0.1505, allocations: 415.1 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1506, allocations: 0 / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000372/0.1509, allocations: 51.98 kB / 482.6 MB, free: 2.348 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 (17): * Single equations (assignments): 17 * 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.002387/0.1533, allocations: 1.47 MB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.1537, allocations: 182.5 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1537, allocations: 0 / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1539, allocations: 91.89 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.1544, allocations: 72.88 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.1576, allocations: 2.122 MB / 486.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1581, allocations: 0.8106 MB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.1582, allocations: 66.23 kB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.1584, allocations: 123.4 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1584, allocations: 0 / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.177, allocations: 6.804 MB / 494.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003495/0.1774, allocations: 220.6 kB / 494.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.09, allocations: 0 / 494.6 MB, free: 6.719 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat