Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.0009342/0.0009342, allocations: 97.45 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.001129/0.001129, allocations: 177.3 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.426/1.426, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 44.23 MB / 337.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 9.156 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001633/0.1401, allocations: 1.27 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005995/0.1407, allocations: 395.6 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.1408, allocations: 0 / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.1413, allocations: 439.2 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.1415, allocations: 247.5 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1419, allocations: 147.2 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1421, allocations: 131.7 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.641e-05/0.1422, allocations: 4 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.1423, allocations: 111.7 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1424, allocations: 159.7 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1425, allocations: 8 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.664e-05/0.1425, allocations: 16 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.1426, allocations: 79.69 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.1427, allocations: 69.45 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1428, allocations: 176 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1429, allocations: 0 / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1429, allocations: 0 / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1429, allocations: 3.938 kB / 474.9 MB, free: 10.38 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.0005576/0.1434, allocations: 0.5893 MB / 475.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1435, allocations: 12.03 kB / 475.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.1435, allocations: 30.56 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.1436, allocations: 43.44 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1438, allocations: 275.4 kB / 475.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1438, allocations: 4 kB / 475.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.1438, allocations: 3.953 kB / 475.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.144, allocations: 57.61 kB / 475.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.144, allocations: 3.984 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.144, allocations: 0 / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.144, allocations: 4 kB / 475.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.1441, allocations: 27.98 kB / 475.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1445, allocations: 392.7 kB / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.529e-05/0.1446, allocations: 34.52 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.1447, allocations: 20.91 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1447, allocations: 3.938 kB / 476.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.1447, allocations: 34.56 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1447, allocations: 0 / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002561/0.145, allocations: 113.1 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.145, allocations: 55.34 kB / 476.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.1458, allocations: 0.8691 MB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1458, allocations: 25.7 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.146, allocations: 216.1 kB / 477.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.146, allocations: 7.844 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.146, allocations: 0 / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1462, allocations: 374.9 kB / 478 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.1462, allocations: 8 kB / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.1462, allocations: 15.98 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.1463, allocations: 8 kB / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1463, allocations: 0 / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001395/0.1464, allocations: 101.3 kB / 478.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1465, allocations: 4 kB / 478.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1465, allocations: 4 kB / 478.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1465, allocations: 0 / 478.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.1466, allocations: 4 kB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1466, allocations: 3.938 kB / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.1466, allocations: 7.984 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1466, allocations: 0 / 478.2 MB, free: 6.836 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 (2): * Single equations (assignments): 2 * 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.0001589/0.1468, allocations: 214.3 kB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.1468, allocations: 43.44 kB / 478.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.147, allocations: 116.6 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1471, allocations: 3.938 kB / 478.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1471, allocations: 0 / 478.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1471, allocations: 0 / 478.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.1473, allocations: 289.5 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1473, allocations: 8.031 kB / 478.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.1474, allocations: 8 kB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1474, allocations: 0 / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1474, allocations: 3.984 kB / 478.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1474, allocations: 0 / 478.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1474, allocations: 7.938 kB / 478.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1476, allocations: 190.9 kB / 479 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.1476, allocations: 116.6 kB / 479.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1477, allocations: 4 kB / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.1477, allocations: 0 / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.1478, allocations: 4 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1478, allocations: 3.984 kB / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005414/0.1483, allocations: 0.6511 MB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1483, allocations: 4 kB / 479.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1486, allocations: 23.94 kB / 479.9 MB, free: 5.062 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 (2): * Single equations (assignments): 2 * 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.001036/0.1496, allocations: 0.9727 MB / 480.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1498, allocations: 27.98 kB / 480.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1498, allocations: 0 / 480.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.1498, allocations: 16.05 kB / 480.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1502, allocations: 26.3 kB / 480.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.1527, allocations: 2.271 MB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1531, allocations: 0.8185 MB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.1531, allocations: 12.16 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.1533, allocations: 107.4 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1533, allocations: 0 / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.1681, allocations: 5.174 MB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1683, allocations: 230.8 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.058, allocations: 0 / 489.5 MB, free: 11.52 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat