Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.0009913/0.0009916, allocations: 95.53 kB / 15.7 MB, free: 464 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.001966/0.001966, allocations: 176 kB / 16.58 MB, free: 6.848 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.628/1.628, 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.4045/0.4045, allocations: 43.55 MB / 314.6 MB, free: 8.738 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.0005068/0.0005069, allocations: 23.98 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.84 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002068/0.1274, allocations: 1.625 MB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1287, allocations: 0.9919 MB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.1288, allocations: 0 / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.129, allocations: 43.7 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1293, allocations: 127.6 kB / 445.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1303, allocations: 0.5225 MB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.1306, allocations: 235.2 kB / 446.4 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1307, allocations: 64.73 kB / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1309, allocations: 99.55 kB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1311, allocations: 159.4 kB / 446.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1311, allocations: 4 kB / 446.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.1312, allocations: 36 kB / 446.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1313, allocations: 131.6 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.1314, allocations: 73.45 kB / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1317, allocations: 279.4 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1317, allocations: 0 / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1317, allocations: 0 / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1317, allocations: 0 / 447.2 MB, free: 8.578 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008012/0.1325, allocations: 0.7037 MB / 447.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1326, allocations: 12.03 kB / 447.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.1326, allocations: 50.55 kB / 448 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.1327, allocations: 55.25 kB / 448.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1332, allocations: 439 kB / 448.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1332, allocations: 8 kB / 448.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.1333, allocations: 12 kB / 448.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1336, allocations: 151.2 kB / 448.6 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1336, allocations: 0 / 448.6 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1336, allocations: 11.95 kB / 448.7 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1337, allocations: 0 / 448.7 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.1339, allocations: 103.9 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/0.1348, allocations: 0.6994 MB / 449.5 MB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.135, allocations: 117.2 kB / 449.6 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.1351, allocations: 53.81 kB / 449.6 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1352, allocations: 8 kB / 449.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1352, allocations: 34.5 kB / 449.7 MB, free: 5.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.1352, allocations: 4.203 kB / 449.7 MB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001348/0.1366, allocations: 0.5723 MB / 450.2 MB, free: 5.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1366, allocations: 84.98 kB / 450.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.1376, allocations: 0.8896 MB / 451.2 MB, free: 4.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1376, allocations: 29.7 kB / 451.2 MB, free: 4.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1378, allocations: 252.2 kB / 451.5 MB, free: 4.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.1379, allocations: 55.19 kB / 451.5 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.1379, allocations: 8 kB / 451.6 MB, free: 4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1381, allocations: 370.8 kB / 451.9 MB, free: 3.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1382, allocations: 71.95 kB / 452 MB, free: 3.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1384, allocations: 85.67 kB / 452.1 MB, free: 3.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1386, allocations: 83.95 kB / 452.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1386, allocations: 0 / 452.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004565/0.1391, allocations: 260.8 kB / 452.4 MB, free: 3.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1391, allocations: 7.984 kB / 452.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1391, allocations: 0 / 452.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1391, allocations: 0 / 452.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.1394, allocations: 43.92 kB / 452.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1394, allocations: 4 kB / 452.5 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1395, allocations: 24.73 kB / 452.5 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1396, allocations: 4 kB / 452.5 MB, free: 3.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001947/0.1398, allocations: 213.7 kB / 452.7 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.1398, allocations: 59.23 kB / 452.8 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.1405, allocations: 306.5 kB / 453.1 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1405, allocations: 0 / 453.1 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1405, allocations: 7.953 kB / 453.1 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1405, allocations: 4 kB / 453.1 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.1415, allocations: 0.8176 MB / 453.9 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1416, allocations: 0 / 453.9 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1417, allocations: 47.91 kB / 453.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1417, allocations: 7.953 kB / 453.9 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1418, allocations: 0 / 453.9 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1418, allocations: 0 / 453.9 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1418, allocations: 4 kB / 453.9 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.1423, allocations: 429.9 kB / 454.4 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.1426, allocations: 160.3 kB / 454.5 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.1426, allocations: 7.891 kB / 454.5 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.1428, allocations: 23.92 kB / 454.5 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.1429, allocations: 11.98 kB / 454.6 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1429, allocations: 7.984 kB / 454.6 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000786/0.1437, allocations: 0.6471 MB / 455.2 MB, free: 212 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1437, allocations: 0 / 455.2 MB, free: 212 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.1441, allocations: 56 kB / 455.3 MB, free: 156 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.2326/0.3767, allocations: 1.247 MB / 456.5 MB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.3772, allocations: 182.3 kB / 456.7 MB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3772, allocations: 0 / 456.7 MB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.3773, allocations: 98.83 kB / 456.8 MB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007064/0.3781, allocations: 77.3 kB / 456.9 MB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.3823, allocations: 3.226 MB / 460.1 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3827, allocations: 0.8672 MB / 461 MB, free: 44.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.3829, allocations: 94.39 kB / 461.1 MB, free: 44.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.3831, allocations: 168 kB / 461.2 MB, free: 44.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3831, allocations: 0 / 461.2 MB, free: 44.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.403, allocations: 8.785 MB / 470 MB, free: 43.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.4032, allocations: 219.1 kB / 470.2 MB, free: 42.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.174, allocations: 0 / 470.2 MB, free: 42.99 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat