Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.0009134/0.0009134, allocations: 92.92 kB / 17 MB, free: 6.355 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.001163/0.001163, allocations: 187.1 kB / 17.89 MB, free: 5.926 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.371/1.371, allocations: 223.2 MB / 241.9 MB, free: 320 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.2211/0.2211, allocations: 44.22 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 61.93 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.001862/0.1342, allocations: 1.322 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1355, allocations: 0.9532 MB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.1356, allocations: 4 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1357, allocations: 11.92 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.1359, allocations: 43.83 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1362, allocations: 110.4 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1363, allocations: 55.83 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/0.1364, allocations: 4.188 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.1365, allocations: 27.84 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1366, allocations: 23.86 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1366, allocations: 11.94 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.1367, allocations: 43.97 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.1368, allocations: 15.92 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.1368, allocations: 33.64 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1369, allocations: 76.09 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.137, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.137, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.137, allocations: 0 / 474.4 MB, free: 10.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004775/0.1375, allocations: 389.4 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1375, allocations: 8.031 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.1376, allocations: 42.55 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1376, allocations: 7.906 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1378, allocations: 186.9 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.1378, allocations: 0 / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1378, allocations: 15.86 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.138, allocations: 75.39 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.138, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.138, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1381, allocations: 3.938 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1382, allocations: 43.91 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.1386, allocations: 292.8 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1387, allocations: 46.56 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.1388, allocations: 28.94 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1388, allocations: 4 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1388, allocations: 38.55 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.1389, allocations: 0 / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007044/0.1396, allocations: 233.2 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1396, allocations: 85.05 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1398, allocations: 140.6 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1398, allocations: 25.7 kB / 476 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.1398, allocations: 96.08 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1399, allocations: 27.61 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.1399, allocations: 0 / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.14, allocations: 322.8 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1401, allocations: 39.97 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1402, allocations: 61.75 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1404, allocations: 44.03 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1404, allocations: 0 / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002583/0.1406, allocations: 121.7 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1407, allocations: 4 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1407, allocations: 4 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1407, allocations: 3.938 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1408, allocations: 27.92 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1408, allocations: 4 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.1409, allocations: 15.89 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1409, allocations: 8 kB / 476.8 MB, free: 8.219 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 (7): * Single equations (assignments): 7 * 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.528e-05/0.141, allocations: 122.3 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.141, allocations: 4.281 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.1413, allocations: 142.2 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1414, allocations: 7.984 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1414, allocations: 7.984 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1414, allocations: 0 / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.1419, allocations: 410.5 kB / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1419, allocations: 3.938 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.142, allocations: 19.98 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.142, allocations: 0 / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.142, allocations: 4 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.142, allocations: 3.938 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.142, allocations: 0 / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1423, allocations: 231.3 kB / 477.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1424, allocations: 93.02 kB / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1424, allocations: 0 / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.1425, allocations: 15.98 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1426, allocations: 3.984 kB / 477.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.1426, allocations: 8 kB / 477.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.699e-05/0.1427, allocations: 107.2 kB / 477.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1427, allocations: 0 / 477.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1429, allocations: 20 kB / 477.9 MB, free: 6.934 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 (7): * Single equations (assignments): 7 * 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.001414/0.1444, allocations: 1.101 MB / 479.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.1446, allocations: 91.94 kB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1447, allocations: 0 / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1448, allocations: 59.84 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1451, allocations: 15.98 kB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1462, allocations: 0.6436 MB / 479.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1465, allocations: 0.6887 MB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.71e-05/0.1466, allocations: 25.09 kB / 480.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.1466, allocations: 27.42 kB / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1466, allocations: 0 / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.1596, allocations: 2.536 MB / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.1598, allocations: 230.7 kB / 483.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.097, allocations: 3.938 kB / 483.4 MB, free: 1.707 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat does not exist to compare? outputFormat=mat