Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.001041/0.001041, allocations: 98.31 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.001151/0.001151, 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.399/1.399, allocations: 223.3 MB / 241.9 MB, free: 328 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.2749/0.2749, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 12 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002273/0.1416, allocations: 1.259 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.1425, allocations: 379.6 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.1426, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1428, allocations: 19.92 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.143, allocations: 35.84 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1434, allocations: 103.3 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1436, allocations: 43.84 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.1437, allocations: 11.98 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.1438, allocations: 23.91 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.1438, allocations: 19.86 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1439, allocations: 0 / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.144, allocations: 20 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.144, allocations: 11.98 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.1441, allocations: 37.64 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1442, allocations: 64.17 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1442, allocations: 0 / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1442, allocations: 0 / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1442, allocations: 0 / 473.7 MB, free: 11.59 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.0004301/0.1447, allocations: 377.3 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1447, allocations: 12.03 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.1447, allocations: 38.48 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.1448, allocations: 7.906 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.145, allocations: 186.9 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.145, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.145, allocations: 4 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1452, allocations: 53.67 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1452, allocations: 0 / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1452, allocations: 0 / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1452, allocations: 0 / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.102e-05/0.1453, allocations: 31.98 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1457, allocations: 288.7 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1459, allocations: 50.55 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.146, allocations: 16.86 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.146, allocations: 12.02 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.146, allocations: 30.56 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.146, allocations: 0 / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005648/0.1466, allocations: 165.3 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1467, allocations: 51.41 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1468, allocations: 172.2 kB / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1468, allocations: 25.7 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.1469, allocations: 100.1 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.1469, allocations: 19.73 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.1469, allocations: 8 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1471, allocations: 322.8 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.1471, allocations: 23.98 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.1472, allocations: 28.05 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.1473, allocations: 31.97 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1473, allocations: 0 / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.1475, allocations: 89.58 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1475, allocations: 8 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1475, allocations: 0 / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1475, allocations: 4 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.1476, allocations: 15.98 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1476, allocations: 0 / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.1477, allocations: 11.89 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1477, allocations: 7.984 kB / 475.8 MB, free: 9.215 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 8.815e-05/0.1478, allocations: 114.4 kB / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1478, allocations: 7.906 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.148, allocations: 110 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1481, allocations: 0 / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1481, allocations: 0 / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1481, allocations: 0 / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.1485, allocations: 370.4 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1485, allocations: 4 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.1486, allocations: 12 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1486, allocations: 4 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1486, allocations: 0 / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1486, allocations: 3.984 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1486, allocations: 3.953 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1488, allocations: 196 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.1489, allocations: 85 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1489, allocations: 7.984 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.149, allocations: 12 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.149, allocations: 7.938 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.149, allocations: 4 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.1491, allocations: 127.2 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1491, allocations: 0 / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1494, allocations: 16 kB / 476.9 MB, free: 8.047 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.001343/0.1507, allocations: 1.004 MB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1509, allocations: 63.91 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.151, allocations: 0 / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.1511, allocations: 31.97 kB / 478 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1514, allocations: 22.59 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1525, allocations: 0.6302 MB / 478.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1528, allocations: 0.6965 MB / 479.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.1529, allocations: 15.97 kB / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.153, allocations: 23.42 kB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.153, allocations: 0 / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.1666, allocations: 2.168 MB / 481.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/0.167, allocations: 216.7 kB / 481.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.085, allocations: 0 / 481.7 MB, free: 3.324 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat does not exist to compare? outputFormat=mat