Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",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.001293/0.001293, allocations: 96.73 kB / 16.98 MB, free: 5.938 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.001675/0.001675, allocations: 187.8 kB / 17.88 MB, free: 5.594 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.443/1.443, allocations: 223.2 MB / 241.8 MB, free: 384 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.2304/0.2304, allocations: 44.22 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003749, allocations: 15.98 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.00245/0.1193, allocations: 1.33 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000821/0.1201, allocations: 371.5 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.1202, allocations: 0 / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.1206, allocations: 55.86 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.1208, allocations: 51.8 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1212, allocations: 111.5 kB / 473.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1214, allocations: 51.88 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1216, allocations: 19.98 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.1216, allocations: 19.92 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1218, allocations: 39.83 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1218, allocations: 4 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.1219, allocations: 27.98 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.122, allocations: 19.92 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.122, allocations: 37.64 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1222, allocations: 88.02 kB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1222, allocations: 4 kB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1222, allocations: 0 / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1222, allocations: 0 / 473.7 MB, free: 11.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006317/0.1229, allocations: 395 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1229, allocations: 8.031 kB / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.123, allocations: 34.55 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.123, allocations: 15.84 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1233, allocations: 194.9 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1233, allocations: 4 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1233, allocations: 11.89 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1235, allocations: 61.67 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1235, allocations: 4 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1236, allocations: 4 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1236, allocations: 4 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1237, allocations: 43.97 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1242, allocations: 316.6 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1245, allocations: 62.55 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1245, allocations: 0 / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1245, allocations: 30.66 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1245, allocations: 3.938 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001631/0.1262, allocations: 468.9 kB / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.1262, allocations: 51.41 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1264, allocations: 192.4 kB / 475.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1265, allocations: 29.7 kB / 475.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.1265, allocations: 104.1 kB / 475.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.1266, allocations: 35.45 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.1266, allocations: 4 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1268, allocations: 318.8 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1269, allocations: 51.97 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.127, allocations: 52.08 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1272, allocations: 60.12 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1272, allocations: 0 / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003115/0.1275, allocations: 157.4 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1275, allocations: 8 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1275, allocations: 0 / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1276, allocations: 4 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1277, allocations: 27.98 kB / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1277, allocations: 0 / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.1278, allocations: 15.98 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.1278, allocations: 7.953 kB / 476.5 MB, free: 8.465 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 (11): * Single equations (assignments): 11 * 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.0001116/0.1279, allocations: 134.3 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.128, allocations: 15.8 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.1284, allocations: 186.8 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1284, allocations: 4 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1284, allocations: 0 / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1284, allocations: 0 / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.1291, allocations: 487.9 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1291, allocations: 4 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1292, allocations: 35.97 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1292, allocations: 8.062 kB / 477.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1292, allocations: 0 / 477.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.1292, allocations: 3.953 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1292, allocations: 7.938 kB / 477.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.1296, allocations: 284.5 kB / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.1297, allocations: 92.88 kB / 477.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1297, allocations: 8 kB / 477.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1299, allocations: 15.98 kB / 477.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.1299, allocations: 11.98 kB / 477.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.1299, allocations: 4 kB / 477.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1301, allocations: 146.8 kB / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1301, allocations: 0 / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1304, allocations: 24 kB / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001765/0.1321, allocations: 1.312 MB / 479.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1325, allocations: 119.9 kB / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1325, allocations: 0 / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.1326, allocations: 67.89 kB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1329, allocations: 12 kB / 479.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1343, allocations: 0.8489 MB / 480.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1346, allocations: 0.708 MB / 481 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.1347, allocations: 20.41 kB / 481 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.1347, allocations: 35.42 kB / 481 MB, free: 3.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1347, allocations: 0 / 481 MB, free: 3.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.1485, allocations: 2.788 MB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.1487, allocations: 211.8 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/1.927, allocations: 0 / 484 MB, free: 0.9336 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat does not exist to compare? outputFormat=mat