Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.0007949/0.0007949, allocations: 95.98 kB / 17 MB, free: 6.402 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.001307/0.001307, allocations: 177.7 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.382/1.382, allocations: 223.2 MB / 241.9 MB, free: 332 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.2414/0.2414, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003224, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002553/0.139, allocations: 1.259 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007726/0.1398, allocations: 379.6 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.1399, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.1401, allocations: 15.92 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1403, allocations: 31.86 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1406, allocations: 98.81 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1408, allocations: 51.89 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.1409, allocations: 7.938 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.1409, allocations: 19.92 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.141, allocations: 11.92 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.141, allocations: 4 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.3e-05/0.1411, allocations: 27.92 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.1412, allocations: 7.984 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1412, allocations: 37.64 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1413, allocations: 52.2 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1414, allocations: 0 / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.1414, allocations: 0 / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.1414, allocations: 3.938 kB / 473.6 MB, free: 11.61 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.0004585/0.1419, allocations: 371.1 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1419, allocations: 11.97 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.1419, allocations: 30.56 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.142, allocations: 7.906 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.1422, allocations: 186.9 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1422, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1422, allocations: 11.95 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1424, allocations: 49.67 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1424, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1424, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1424, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.551e-05/0.1425, allocations: 31.98 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.1429, allocations: 288.8 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1431, allocations: 54.48 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.1432, allocations: 16.86 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1432, allocations: 4.078 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1433, allocations: 30.56 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1433, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005641/0.1438, allocations: 165.3 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1439, allocations: 51.41 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.144, allocations: 142.1 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1441, allocations: 25.7 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.1441, allocations: 96.05 kB / 475.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1442, allocations: 23.75 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.1442, allocations: 3.938 kB / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1443, allocations: 322.8 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.1444, allocations: 23.98 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.1444, allocations: 27.97 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.75e-05/0.1445, allocations: 31.92 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1445, allocations: 0 / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001731/0.1447, allocations: 89.58 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1447, allocations: 8 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1447, allocations: 0 / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1447, allocations: 4 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.1448, allocations: 16.23 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1448, allocations: 0 / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.1449, allocations: 8 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.1449, allocations: 7.984 kB / 475.7 MB, free: 9.277 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 (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 7.843e-05/0.145, allocations: 118.3 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.145, allocations: 7.906 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1452, allocations: 105.9 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1452, allocations: 3.984 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1453, allocations: 0 / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1453, allocations: 3.938 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.1457, allocations: 362.5 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1457, allocations: 0 / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.1457, allocations: 15.98 kB / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1458, allocations: 0 / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1458, allocations: 0 / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1458, allocations: 4 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1458, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.146, allocations: 195.4 kB / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.146, allocations: 85.02 kB / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1461, allocations: 3.984 kB / 476.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.1461, allocations: 8 kB / 476.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1462, allocations: 8 kB / 476.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1462, allocations: 7.922 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.566e-05/0.1463, allocations: 110.1 kB / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 0 / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1465, allocations: 8 kB / 476.8 MB, free: 8.148 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 (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.00118/0.1477, allocations: 1.027 MB / 477.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1479, allocations: 67.89 kB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1479, allocations: 0 / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.148, allocations: 27.98 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1483, allocations: 15.98 kB / 477.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/0.1493, allocations: 0.5634 MB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1496, allocations: 0.6926 MB / 479.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.1497, allocations: 16.38 kB / 479.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.1497, allocations: 19.44 kB / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1497, allocations: 0 / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.1624, allocations: 2.059 MB / 481.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.1627, allocations: 232.9 kB / 481.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.087, allocations: 0 / 481.5 MB, free: 3.586 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat does not exist to compare? outputFormat=mat